com.jalios.jcms
Class Group.WorkspaceSelector
java.lang.Object
   com.jalios.jcms.Group.WorkspaceSelector
com.jalios.jcms.Group.WorkspaceSelector
- All Implemented Interfaces: 
- DataSelector
- Enclosing class:
- Group
- public static class Group.WorkspaceSelector 
- extends Object- implements DataSelector
DataSelector selecting Groups based on their Workspace.
 
 
| Constructor Summary | 
| Group.WorkspaceSelector(String kindStr)Constructs a new Group.WorkspaceSelector (DataSelector of Group based on group's workspace).
 | 
 
| Method Summary | 
|  boolean | isSelected(Data data)Evaluates if a data must be selected or not.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
GLOBAL
public static final int GLOBAL
- See Also:
- Constant Field Values
LOCAL
public static final int LOCAL
- See Also:
- Constant Field Values
ALL
public static final int ALL
- See Also:
- Constant Field Values
WS
public static final int WS
- See Also:
- Constant Field Values
kind
protected int kind
ws
protected Workspace ws
Group.WorkspaceSelector
public Group.WorkspaceSelector(String kindStr)
- Constructs a new Group.WorkspaceSelector (DataSelector of Group based on group's workspace).
 
- Parameters:
- kindStr- a string indicating the Group to select- 
 - nullor empty string- "": to select all groups
- a workspace id : to select groups in a specific workspace
- "local": to select groups in any workspace
- any other string: to select groups without workspace
 
 
isSelected
public boolean isSelected(Data data)
- Description copied from interface: DataSelector
- Evaluates if a data must be selected or not.
 
- 
- Specified by:
- isSelectedin interface- DataSelector
 
- 
- Parameters:
- data- the data to evaluate.
- Returns:
- true if the data is selected. False otherwise.
 
Copyright © 2001-2010 Jalios SA. All Rights Reserved.