com.atlassian.gadgets.publisher.internal.impl
Class GadgetSpecSyndicationImpl

java.lang.Object
  extended by com.atlassian.gadgets.publisher.internal.impl.GadgetSpecSyndicationImpl
All Implemented Interfaces:
PluginGadgetSpecEventListener, GadgetSpecSyndication

public class GadgetSpecSyndicationImpl
extends Object
implements GadgetSpecSyndication, PluginGadgetSpecEventListener


Constructor Summary
GadgetSpecSyndicationImpl(PublishedGadgetSpecStore store, GadgetSpecUrlBuilder urlBuilder, com.atlassian.sal.api.ApplicationProperties applicationProperties, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
           
 
Method Summary
 com.sun.syndication.feed.atom.Feed getFeed()
          Returns a feed containing all published gadget specs as entries.
 void pluginGadgetSpecDisabled(PluginGadgetSpec pluginGadgetSpec)
          Called when a gadget spec is disabled from a plugin.
 void pluginGadgetSpecEnabled(PluginGadgetSpec pluginGadgetSpec)
          Called when a gadget spec is enabled from a plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GadgetSpecSyndicationImpl

public GadgetSpecSyndicationImpl(PublishedGadgetSpecStore store,
                                 GadgetSpecUrlBuilder urlBuilder,
                                 com.atlassian.sal.api.ApplicationProperties applicationProperties,
                                 com.atlassian.plugin.PluginAccessor pluginAccessor,
                                 com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
Method Detail

getFeed

public com.sun.syndication.feed.atom.Feed getFeed()
Description copied from interface: GadgetSpecSyndication
Returns a feed containing all published gadget specs as entries.

Specified by:
getFeed in interface GadgetSpecSyndication
Returns:
feed containing all published gadget specs as entries

pluginGadgetSpecEnabled

public void pluginGadgetSpecEnabled(PluginGadgetSpec pluginGadgetSpec)
                             throws GadgetParsingException
Description copied from interface: PluginGadgetSpecEventListener
Called when a gadget spec is enabled from a plugin.

Specified by:
pluginGadgetSpecEnabled in interface PluginGadgetSpecEventListener
Parameters:
pluginGadgetSpec - the gadget spec that was enabled. Must not be null, or a NullPointerException will be thrown.
Throws:
GadgetParsingException

pluginGadgetSpecDisabled

public void pluginGadgetSpecDisabled(PluginGadgetSpec pluginGadgetSpec)
Description copied from interface: PluginGadgetSpecEventListener
Called when a gadget spec is disabled from a plugin.

Specified by:
pluginGadgetSpecDisabled in interface PluginGadgetSpecEventListener
Parameters:
pluginGadgetSpec - the gadget spec that was enabled. Must not be null, or a NullPointerException will be thrown.


Copyright © 2011 Atlassian. All Rights Reserved.