Class ResourceQuery.Inclusions
Object
se.curity.identityserver.sdk.data.query.ResourceQuery.AttributesEnumeration
se.curity.identityserver.sdk.data.query.ResourceQuery.Inclusions
- Enclosing class:
- ResourceQuery
Enumeration of attributes to be included in a query result.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleankeepAttribute(String key) static ResourceQuery.Inclusionsstatic ResourceQuery.Inclusionsof(Collection<String> attributesToInclude) Creates an instance ofInclusionsfor the provided attributes.Methods inherited from class se.curity.identityserver.sdk.data.query.ResourceQuery.AttributesEnumeration
getAttributes, toString
-
Method Details
-
of
Creates an instance ofInclusionsfor the provided attributes.- Parameters:
attributesToInclude- inclusions- Returns:
- Inclusions
-
mandatoryOnly
- Returns:
- instance of
Inclusionswith only the mandatory inclusions for SCIM resources
-
keepAttribute
- Specified by:
keepAttributein classResourceQuery.AttributesEnumeration- Parameters:
key- the attribute key. Nested attributes are addressed using the 'dot' notation.- Returns:
- true if and only if the attribute should be included in the query results.
-
isNeutral
public boolean isNeutral()- Specified by:
isNeutralin classResourceQuery.AttributesEnumeration- Returns:
- false, because
Inclusionsalways include at least the mandatory attributes
-