com.atlassian.confluence.plugins.gadgets.refimpl
Class SubscribedGadgetFeedIdGeneratorImpl
java.lang.Object
com.atlassian.confluence.plugins.gadgets.refimpl.SubscribedGadgetFeedIdGeneratorImpl
- All Implemented Interfaces:
- SubscribedGadgetFeedIdGenerator
public class SubscribedGadgetFeedIdGeneratorImpl
- extends Object
- implements SubscribedGadgetFeedIdGenerator
Reference implementation of ExternalGadgetSpecIdGenerator
. This
implementation stores the next available ID in the plugin settings,
incrementing and storing the new value on each call.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscribedGadgetFeedIdGeneratorImpl
public SubscribedGadgetFeedIdGeneratorImpl(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
- Constructor.
- Parameters:
pluginSettingsFactory
- the PluginSettings
provider to use
for storing the keys
newSubscribedGadgetFeedId
public String newSubscribedGadgetFeedId()
- Description copied from interface:
SubscribedGadgetFeedIdGenerator
- Creates and returns a new globally unique ID for an
ExternalGadgetSpec
.
- Specified by:
newSubscribedGadgetFeedId
in interface SubscribedGadgetFeedIdGenerator
- Returns:
- the new unique ID
Copyright © 2003-2013 Atlassian. All Rights Reserved.