Enum Class WsQueryFilterType
- All Implemented Interfaces:
Serializable
,Comparable<WsQueryFilterType>
,Constable
type of find group queries
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionand two queries togetherfind by query, configure all the query paramsfind by exact attribute, configure all the query paramsfind by approx name, pass the name in, and optionally a stem namefind by exact name, pass the name infind by uuid.find by children of stem.find by group typecomplement one query, set A minus set Bor two queries together -
Method Summary
Modifier and TypeMethodDescriptionabstract QueryFilter
retrieveQueryFilter
(WsQueryFilter wsQueryFilter) return the query filterabstract void
validate
(WsQueryFilter wsGroupQuery) make sure that based on the inputs, that this is a valid querystatic WsQueryFilterType
Returns the enum constant of this class with the specified name.static WsQueryFilterType
valueOfIgnoreCase
(String string) do a case-insensitive matchingstatic WsQueryFilterType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIND_BY_GROUP_UUID
find by uuid. pass the uuid in. -
FIND_BY_GROUP_NAME_EXACT
find by exact name, pass the name in -
FIND_BY_GROUP_NAME_APPROXIMATE
find by approx name, pass the name in, and optionally a stem name -
FIND_BY_STEM_NAME
find by children of stem. pass the stem in -
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_TYPE
find by group type -
AND
and two queries together -
OR
or two queries together -
MINUS
complement one query, set A minus set B
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
validate
make sure that based on the inputs, that this is a valid query- Parameters:
wsGroupQuery
- is the query params to validate based on type- Throws:
WsInvalidQueryException
- if invalid
-
valueOfIgnoreCase
do a case-insensitive matching- Parameters:
string
-- Returns:
- the enum or null or exception if not found
-
retrieveQueryFilter
return the query filter- Parameters:
wsQueryFilter
-- Returns:
- the query filter
-