public static class Group.WorkspaceSelector extends java.lang.Object implements DataSelector
Modifier and Type | Field and Description |
---|---|
static int |
ALL |
static int |
GLOBAL |
protected int |
kind |
static int |
LOCAL |
protected Workspace |
ws |
static int |
WS |
REVISION
Constructor and Description |
---|
Group.WorkspaceSelector(java.lang.String kindStr)
Constructs a new Group.WorkspaceSelector (DataSelector of Group based on group's workspace).
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelected(Data data)
Evaluates if a data must be selected or not.
|
public static final int GLOBAL
public static final int LOCAL
public static final int ALL
public static final int WS
protected int kind
protected Workspace ws
public Group.WorkspaceSelector(java.lang.String kindStr)
kindStr
- a string indicating the Group to select
null
or empty string ""
: to select all groups"local"
: to select groups in any workspacepublic boolean isSelected(Data data)
DataSelector
isSelected
in interface DataSelector
data
- the data to evaluate.Copyright © 2001-2010 Jalios SA. All Rights Reserved.