com.atlassian.gadgets.refimpl
Class PluginSettingsExternalGadgetSpecStore

java.lang.Object
  extended by com.atlassian.gadgets.refimpl.PluginSettingsExternalGadgetSpecStore
All Implemented Interfaces:
ExternalGadgetSpecStore

public class PluginSettingsExternalGadgetSpecStore
extends Object
implements ExternalGadgetSpecStore

This implementation stores ExternalGadgetSpecs to the SAL PluginSettings API.


Constructor Summary
PluginSettingsExternalGadgetSpecStore(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory, ExternalGadgetSpecIdGenerator gadgetSpecIdGenerator)
           
 
Method Summary
 ExternalGadgetSpec add(URI gadgetSpecUri)
           
 boolean contains(URI gadgetSpecUri)
           
 Collection<ExternalGadgetSpec> entries()
           
 void remove(ExternalGadgetSpecId externalGadgetSpecId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginSettingsExternalGadgetSpecStore

public PluginSettingsExternalGadgetSpecStore(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory,
                                             ExternalGadgetSpecIdGenerator gadgetSpecIdGenerator)
Method Detail

entries

public Collection<ExternalGadgetSpec> entries()
Specified by:
entries in interface ExternalGadgetSpecStore

add

public ExternalGadgetSpec add(URI gadgetSpecUri)
                       throws ExternalGadgetStoreException
Specified by:
add in interface ExternalGadgetSpecStore
Throws:
ExternalGadgetStoreException

remove

public void remove(ExternalGadgetSpecId externalGadgetSpecId)
Specified by:
remove in interface ExternalGadgetSpecStore

contains

public boolean contains(URI gadgetSpecUri)
Specified by:
contains in interface ExternalGadgetSpecStore


Copyright © 2009 Atlassian. All Rights Reserved.