public class JiraDashboardStateStoreManager extends Object implements com.atlassian.gadgets.dashboard.spi.DashboardStateStore
PortalPageStore
and
PortletConfigurationStore
implementations. Note that this class does not need to do
any permission checks, since this is the responsibility of the JiraPermissionService
.Constructor and Description |
---|
JiraDashboardStateStoreManager(PortalPageStore portalPageStore,
PortletConfigurationStore portletConfigurationStore,
PortalPageManager portalPageManager,
com.atlassian.beehive.ClusterLockService clusterLockService) |
Modifier and Type | Method and Description |
---|---|
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> dashboardChanges) |
public JiraDashboardStateStoreManager(PortalPageStore portalPageStore, PortletConfigurationStore portletConfigurationStore, PortalPageManager portalPageManager, com.atlassian.beehive.ClusterLockService clusterLockService)
public com.atlassian.gadgets.dashboard.DashboardState retrieve(com.atlassian.gadgets.dashboard.DashboardId dashboardId) throws com.atlassian.gadgets.dashboard.DashboardNotFoundException, com.atlassian.gadgets.dashboard.spi.DashboardStateStoreException
retrieve
in interface com.atlassian.gadgets.dashboard.spi.DashboardStateStore
com.atlassian.gadgets.dashboard.DashboardNotFoundException
com.atlassian.gadgets.dashboard.spi.DashboardStateStoreException
public com.atlassian.gadgets.dashboard.DashboardState update(com.atlassian.gadgets.dashboard.DashboardState dashboardState, Iterable<com.atlassian.gadgets.dashboard.spi.changes.DashboardChange> dashboardChanges) throws com.atlassian.gadgets.dashboard.spi.DashboardStateStoreException
update
in interface com.atlassian.gadgets.dashboard.spi.DashboardStateStore
com.atlassian.gadgets.dashboard.spi.DashboardStateStoreException
public void remove(com.atlassian.gadgets.dashboard.DashboardId dashboardId) throws com.atlassian.gadgets.dashboard.spi.DashboardStateStoreException
remove
in interface com.atlassian.gadgets.dashboard.spi.DashboardStateStore
com.atlassian.gadgets.dashboard.spi.DashboardStateStoreException
public com.atlassian.gadgets.dashboard.DashboardState findDashboardWithGadget(com.atlassian.gadgets.GadgetId gadgetId) throws com.atlassian.gadgets.dashboard.DashboardNotFoundException
findDashboardWithGadget
in interface com.atlassian.gadgets.dashboard.spi.DashboardStateStore
com.atlassian.gadgets.dashboard.DashboardNotFoundException
Copyright © 2002-2015 Atlassian. All Rights Reserved.