com.atlassian.gadgets.refimpl
Class PluginSettingsDashboardStateStore

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

public class PluginSettingsDashboardStateStore
extends Object
implements DashboardStateStore


Constructor Summary
PluginSettingsDashboardStateStore(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
           
 
Method Summary
 DashboardState findDashboardWithGadget(GadgetId gadgetId)
           
 void remove(DashboardId dashboardId)
           
 DashboardState retrieve(DashboardId dashboardId)
           
 DashboardState update(DashboardState dashboardState, Iterable<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 DashboardState retrieve(DashboardId dashboardId)
Specified by:
retrieve in interface DashboardStateStore

findDashboardWithGadget

public DashboardState findDashboardWithGadget(GadgetId gadgetId)
                                       throws DashboardNotFoundException
Specified by:
findDashboardWithGadget in interface DashboardStateStore
Throws:
DashboardNotFoundException

update

public DashboardState update(DashboardState dashboardState,
                             Iterable<DashboardChange> changes)
                      throws DashboardStateStoreException
Specified by:
update in interface DashboardStateStore
Throws:
DashboardStateStoreException

remove

public void remove(DashboardId dashboardId)
Specified by:
remove in interface DashboardStateStore


Copyright © 2010 Atlassian. All Rights Reserved.