com.atlassian.confluence.plugins.gadgets.refimpl
Class PluginSettingsExternalGadgetSpecStore
java.lang.Object
com.atlassian.confluence.plugins.gadgets.refimpl.PluginSettingsExternalGadgetSpecStore
- All Implemented Interfaces:
- com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore
public class PluginSettingsExternalGadgetSpecStore
- extends java.lang.Object
- implements com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore
This implementation stores ExternalGadgetSpec
s to the SAL PluginSettings
API.
Method Summary |
com.atlassian.gadgets.directory.spi.ExternalGadgetSpec |
add(java.net.URI gadgetSpecUri)
|
boolean |
contains(java.net.URI gadgetSpecUri)
|
java.util.Collection<com.atlassian.gadgets.directory.spi.ExternalGadgetSpec> |
entries()
|
void |
remove(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecId externalGadgetSpecId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginSettingsExternalGadgetSpecStore
public PluginSettingsExternalGadgetSpecStore(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory,
ExternalGadgetSpecIdGenerator gadgetSpecIdGenerator)
entries
public java.util.Collection<com.atlassian.gadgets.directory.spi.ExternalGadgetSpec> entries()
- Specified by:
entries
in interface com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore
add
public com.atlassian.gadgets.directory.spi.ExternalGadgetSpec add(java.net.URI gadgetSpecUri)
throws com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStoreException
- Specified by:
add
in interface com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore
- Throws:
com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStoreException
remove
public void remove(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecId externalGadgetSpecId)
- Specified by:
remove
in interface com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore
contains
public boolean contains(java.net.URI gadgetSpecUri)
- Specified by:
contains
in interface com.atlassian.gadgets.directory.spi.ExternalGadgetSpecStore
Copyright © 2003-2014 Atlassian. All Rights Reserved.