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)
           
 void pluginGadgetSpecEnabled(PluginGadgetSpec pluginGadgetSpec)
           
 
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
Specified by:
pluginGadgetSpecEnabled in interface PluginGadgetSpecEventListener
Throws:
GadgetParsingException

pluginGadgetSpecDisabled

public void pluginGadgetSpecDisabled(PluginGadgetSpec pluginGadgetSpec)
Specified by:
pluginGadgetSpecDisabled in interface PluginGadgetSpecEventListener


Copyright © 2011 Atlassian. All Rights Reserved.