com.jalios.jcms.workspace
Class HierarchicalWorkspacesManager
java.lang.Object
com.jalios.jcms.workspace.HierarchicalWorkspacesManager
- All Implemented Interfaces:
- JPropertiesListener
public class HierarchicalWorkspacesManager
- extends Object
- implements JPropertiesListener
Provides resources for Hierarchical Workspaces Plugin :
- LRU cache of last visited Workspaces for a member
- cache of plugin properties
- Since:
- jcms-7.0.0
- Version:
- $Revision: 30221 $
- Author:
- dissert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
getInstance
public static HierarchicalWorkspacesManager getInstance()
propertiesChange
public void propertiesChange(JProperties properties)
- Specified by:
propertiesChange
in interface JPropertiesListener
saveWSForMember
public void saveWSForMember(Workspace ws,
Member member)
- Add the given workspace in the LRU cache of last visited workspaces for the current Member
- Parameters:
ws
- the newly visited workspacemember
- the current loggedMember
getLastUsedWorkspaces
public Set<Workspace> getLastUsedWorkspaces(Member member)
- Gives the set of last visited workspaces (in the BO).
- Parameters:
member
- the current member
- Returns:
- the set of last visited workspaces
isShowAllWorkingWorkspace
public boolean isShowAllWorkingWorkspace(Set<Workspace> workingWorkspaceSet)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.