com.atlassian.gadgets.refimpl
Class PluginSettingsDashboardStateStore

java.lang.Object
  extended by com.atlassian.gadgets.refimpl.PluginSettingsDashboardStateStore
All Implemented Interfaces:
com.atlassian.gadgets.dashboard.spi.DashboardStateStore

public class PluginSettingsDashboardStateStore
extends Object
implements com.atlassian.gadgets.dashboard.spi.DashboardStateStore


Constructor Summary
PluginSettingsDashboardStateStore(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
           
 
Method Summary
 com.atlassian.gadgets.dashboard.DashboardState findDashboardWithGadget(com.atlassian.gadgets.GadgetId gadgetId)
           
 void remove(com.atlassian.gadgets.dashboard.DashboardId dashboardId)
           
 com.atlassian.gadgets.dashboard.DashboardState retrieve(com.atlassian.gadgets.dashboard.DashboardId dashboardId)
           
 com.atlassian.gadgets.dashboard.DashboardState update(com.atlassian.gadgets.dashboard.DashboardState dashboardState, Iterable<com.atlassian.gadgets.dashboard.spi.changes.DashboardChange> changes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginSettingsDashboardStateStore

public PluginSettingsDashboardStateStore(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
Method Detail

retrieve

public com.atlassian.gadgets.dashboard.DashboardState retrieve(com.atlassian.gadgets.dashboard.DashboardId dashboardId)
Specified by:
retrieve in interface com.atlassian.gadgets.dashboard.spi.DashboardStateStore

findDashboardWithGadget

public com.atlassian.gadgets.dashboard.DashboardState findDashboardWithGadget(com.atlassian.gadgets.GadgetId gadgetId)
                                                                       throws com.atlassian.gadgets.dashboard.DashboardNotFoundException
Specified by:
findDashboardWithGadget in interface com.atlassian.gadgets.dashboard.spi.DashboardStateStore
Throws:
com.atlassian.gadgets.dashboard.DashboardNotFoundException

update

public com.atlassian.gadgets.dashboard.DashboardState update(com.atlassian.gadgets.dashboard.DashboardState dashboardState,
                                                             Iterable<com.atlassian.gadgets.dashboard.spi.changes.DashboardChange> changes)
                                                      throws com.atlassian.gadgets.dashboard.spi.DashboardStateStoreException
Specified by:
update in interface com.atlassian.gadgets.dashboard.spi.DashboardStateStore
Throws:
com.atlassian.gadgets.dashboard.spi.DashboardStateStoreException

remove

public void remove(com.atlassian.gadgets.dashboard.DashboardId dashboardId)
Specified by:
remove in interface com.atlassian.gadgets.dashboard.spi.DashboardStateStore


Copyright © 2013 Atlassian. All Rights Reserved.