public enum WsQueryFilterType extends java.lang.Enum<WsQueryFilterType>
Enum Constant and Description |
---|
AND
and two queries together
|
FIND_BY_APPROXIMATE_ATTRIBUTE
find by query, configure all the query params
|
FIND_BY_EXACT_ATTRIBUTE
find by exact attribute, configure all the query params
|
FIND_BY_GROUP_NAME_APPROXIMATE
find by approx name, pass the name in, and optionally a stem name
|
FIND_BY_GROUP_NAME_EXACT
find by exact name, pass the name in
|
FIND_BY_GROUP_UUID
find by uuid.
|
FIND_BY_STEM_NAME
find by children of stem.
|
FIND_BY_TYPE
find by group type
|
MINUS
complement one query, set A minus set B
|
OR
or two queries together
|
Modifier and Type | Method and Description |
---|---|
abstract QueryFilter |
retrieveQueryFilter(WsQueryFilter wsQueryFilter)
return the query filter
|
abstract void |
validate(WsQueryFilter wsGroupQuery)
make sure that based on the inputs, that this is a valid query
|
static WsQueryFilterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsQueryFilterType |
valueOfIgnoreCase(java.lang.String string)
do a case-insensitive matching
|
static WsQueryFilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsQueryFilterType FIND_BY_GROUP_UUID
public static final WsQueryFilterType FIND_BY_GROUP_NAME_EXACT
public static final WsQueryFilterType FIND_BY_GROUP_NAME_APPROXIMATE
public static final WsQueryFilterType FIND_BY_STEM_NAME
public static final WsQueryFilterType FIND_BY_APPROXIMATE_ATTRIBUTE
public static final WsQueryFilterType FIND_BY_EXACT_ATTRIBUTE
public static final WsQueryFilterType FIND_BY_TYPE
public static final WsQueryFilterType AND
public static final WsQueryFilterType OR
public static final WsQueryFilterType MINUS
public static WsQueryFilterType[] values()
for (WsQueryFilterType c : WsQueryFilterType.values()) System.out.println(c);
public static WsQueryFilterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract void validate(WsQueryFilter wsGroupQuery) throws WsInvalidQueryException
wsGroupQuery
- is the query params to validate based on typeWsInvalidQueryException
- if invalidpublic static WsQueryFilterType valueOfIgnoreCase(java.lang.String string)
string
- public abstract QueryFilter retrieveQueryFilter(WsQueryFilter wsQueryFilter)
wsQueryFilter
-