Class DashboardServiceImpl
java.lang.Object
net.datenwerke.treedb.service.treedb.TreeDBManagerImpl<AbstractDashboardManagerNode>
net.datenwerke.security.service.treedb.LoggedTreeDbManagerImpl<AbstractDashboardManagerNode>
net.datenwerke.security.service.treedb.SecuredTreeDBManagerImpl<AbstractDashboardManagerNode>
net.datenwerke.rs.dashboard.service.dashboard.DashboardServiceImpl
- All Implemented Interfaces:
DashboardService,TreeDBManager<AbstractDashboardManagerNode>
public class DashboardServiceImpl
extends SecuredTreeDBManagerImpl<AbstractDashboardManagerNode>
implements DashboardService
-
Field Summary
Fields inherited from interface net.datenwerke.rs.dashboard.service.dashboard.DashboardService
USER_PROPERTY_PRIMARY_DASHBOARD -
Constructor Summary
ConstructorsConstructorDescriptionDashboardServiceImpl(<any> entityManagerProvider, UserPropertiesService userPropertiesService, <any> authenticatorServiceProvider, UserManagerService userService) -
Method Summary
Modifier and TypeMethodDescriptioncreateDashboardForUser(User user) getDashboardById(Long id) getDashboardFor(Dadget dadget) getDashboardFor(User user) getNodeById(long id) Searches for a node by its idgetNodeByKey(String key) getNodeFor(Dashboard dashboard) getRoots()getUserDashboard(User user) getUserDashboardFor(DashboardContainer container) booleanmerge(DashboardContainer dashboardContainer) voidvoidvoidpersist(UserDashboard ud) voidvoidvoidremove(UserDashboard ud) voidremoveDashboardFor(User user) voidsetPrimaryDashboard(Dashboard dashboard) Methods inherited from class net.datenwerke.security.service.treedb.SecuredTreeDBManagerImpl
copy, forceRemove, getVirtualRoots, move, move, move, move, persist, removeMethods inherited from class net.datenwerke.security.service.treedb.LoggedTreeDbManagerImpl
mergeMethods inherited from class net.datenwerke.treedb.service.treedb.TreeDBManagerImpl
allowsMultipleRoots, copy, getBaseType, getChildrenWithName, isFolder, updateFlagsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.datenwerke.treedb.service.treedb.TreeDBManager
allowsMultipleRoots, copy, forceRemove, getBaseType, getChildrenWithName, getVirtualRoots, isFolder, merge, move, move, persist, remove, updateFlags
-
Constructor Details
-
DashboardServiceImpl
public DashboardServiceImpl(<any> entityManagerProvider, UserPropertiesService userPropertiesService, <any> authenticatorServiceProvider, UserManagerService userService)
-
-
Method Details
-
getExplicitPrimaryDashboard
- Specified by:
getExplicitPrimaryDashboardin interfaceDashboardService
-
isOwner
- Specified by:
isOwnerin interfaceDashboardService
-
getDashboardFor
- Specified by:
getDashboardForin interfaceDashboardService
-
getUserDashboardFor
@QueryByAttribute(where=<error>) public UserDashboard getUserDashboardFor(DashboardContainer container) - Specified by:
getUserDashboardForin interfaceDashboardService
-
createDashboardForUser
-
getDashboardContainerFor
@SimpleQuery(from=DashboardContainer.class, join=@Join(joinAttribute=<error>,where=@Predicate(attribute="",value="db"))) public DashboardContainer getDashboardContainerFor(Dashboard db) - Specified by:
getDashboardContainerForin interfaceDashboardService
-
getDashboardFor
@SimpleQuery(from=Dashboard.class, join=@Join(joinAttribute=<error>,where=@Predicate(attribute="",value="dadget"))) public Dashboard getDashboardFor(Dadget dadget) - Specified by:
getDashboardForin interfaceDashboardService
-
getNodeFor
- Specified by:
getNodeForin interfaceDashboardService
-
getDashboardById
- Specified by:
getDashboardByIdin interfaceDashboardService
-
removeDashboardFor
- Specified by:
removeDashboardForin interfaceDashboardService
-
remove
-
remove
- Specified by:
removein interfaceDashboardService
-
remove
- Specified by:
removein interfaceDashboardService
-
persist
-
getUserDashboard
- Specified by:
getUserDashboardin interfaceDashboardService
-
merge
- Specified by:
mergein interfaceDashboardService
-
merge
- Specified by:
mergein interfaceDashboardService
-
merge
- Specified by:
mergein interfaceDashboardService
-
persist
- Specified by:
persistin interfaceDashboardService
-
persist
- Specified by:
persistin interfaceDashboardService
-
getAllDashboards
- Specified by:
getAllDashboardsin interfaceDashboardService
-
getDashboards
- Specified by:
getDashboardsin interfaceDashboardService
-
setPrimaryDashboard
- Specified by:
setPrimaryDashboardin interfaceDashboardService
-
getNodeById
Description copied from interface:TreeDBManagerSearches for a node by its id- Specified by:
getNodeByIdin interfaceTreeDBManager<AbstractDashboardManagerNode>
-
getRoots
- Specified by:
getRootsin interfaceTreeDBManager<AbstractDashboardManagerNode>
-
getAllNodes
- Specified by:
getAllNodesin interfaceTreeDBManager<AbstractDashboardManagerNode>
-
getNodeByKey
- Specified by:
getNodeByKeyin interfaceTreeDBManager<AbstractDashboardManagerNode>
-