com.jalios.jcms.workspace
Class HierarchicalWorkspacesManager

java.lang.Object
  extended by 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: 32754 $
Author:
dissert

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

REVISION

public static final String REVISION
See Also:
Constant Field Values
Method Detail

getInstance

public static HierarchicalWorkspacesManager getInstance()

propertiesChange

public void propertiesChange(JProperties properties)
Description copied from interface: JPropertiesListener
Invoked after properties have been modified in JCMS and save on disk.

You cannot alter the value received in parameters.

Specified by:
propertiesChange in interface JPropertiesListener
Parameters:
properties - the properties which have been modified (may not contain all JCMS properties)

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 workspace
member - 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.