|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.workspace.HierarchicalWorkspacesManager
public class HierarchicalWorkspacesManager
Provides resources for Hierarchical Workspaces Plugin : - LRU cache of last visited Workspaces for a member - cache of plugin properties
Field Summary | |
---|---|
static String |
REVISION
|
Method Summary | |
---|---|
static HierarchicalWorkspacesManager |
getInstance()
|
Set<Workspace> |
getLastUsedWorkspaces(Member member)
Gives the set of last visited workspaces (in the BO). |
boolean |
isShowAllWorkingWorkspace(Set<Workspace> workingWorkspaceSet)
|
void |
propertiesChange(JProperties properties)
Invoked after properties have been modified in JCMS and save on disk. |
void |
saveWSForMember(Workspace ws,
Member member)
Add the given workspace in the LRU cache of last visited workspaces for the current Member |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
Method Detail |
---|
public static HierarchicalWorkspacesManager getInstance()
public void propertiesChange(JProperties properties)
JPropertiesListener
You cannot alter the value received in parameters.
propertiesChange
in interface JPropertiesListener
properties
- the properties which have been modified (may not contain all JCMS properties)public void saveWSForMember(Workspace ws, Member member)
ws
- the newly visited workspacemember
- the current loggedMemberpublic Set<Workspace> getLastUsedWorkspaces(Member member)
member
- the current member
public boolean isShowAllWorkingWorkspace(Set<Workspace> workingWorkspaceSet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |