Enum Class WsStemQueryFilterType
java.lang.Object
java.lang.Enum<WsStemQueryFilterType>
edu.internet2.middleware.grouper.ws.query.WsStemQueryFilterType
- All Implemented Interfaces:
Serializable
,Comparable<WsStemQueryFilterType>
,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 params.find by children of stem.find by exact name, pass the name in.find by approx name, pass the name in.find by uuid.complement one query, set A minus set Bor two queries together -
Method Summary
Modifier and TypeMethodDescriptionabstract QueryFilter
retrieveQueryFilter
(WsStemQueryFilter wsStemQueryFilter) return the query filterabstract void
validate
(WsStemQueryFilter wsStemQuery) make sure that based on the inputs, that this is a valid querystatic WsStemQueryFilterType
Returns the enum constant of this class with the specified name.static WsStemQueryFilterType
valueOfIgnoreCase
(String string) do a case-insensitive matchingstatic WsStemQueryFilterType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIND_BY_STEM_UUID
find by uuid. pass the uuid in. uuid is requried, all other params are forbidden -
FIND_BY_STEM_NAME
find by exact name, pass the name in. stem name is required, all others forbidden -
FIND_BY_STEM_NAME_APPROXIMATE
find by approx name, pass the name in. stem name is required, optionally pass in parentStem name -
FIND_BY_PARENT_STEM_NAME
find by children of stem. parentStemName is required, parentStemNameScope is optional. all others forbidden. -
FIND_BY_APPROXIMATE_ATTRIBUTE
find by query, configure all the query params. attribute value is required, parentStemName is optional, attributeName is optional (defaults to all) -
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:
wsStemQuery
- 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:
wsStemQueryFilter
-- Returns:
- the query filter
-