Class ResourceQuery.Exclusions
Object
se.curity.identityserver.sdk.data.query.ResourceQuery.AttributesEnumeration
se.curity.identityserver.sdk.data.query.ResourceQuery.Exclusions
- Enclosing class:
- ResourceQuery
Enumeration of attributes to be excluded from a query result.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleankeepAttribute(String key) static ResourceQuery.Exclusionsnone()static ResourceQuery.ExclusionsCreates an instance ofExclusionsfor the provided attributes.Methods inherited from class se.curity.identityserver.sdk.data.query.ResourceQuery.AttributesEnumeration
getAttributes, toString
-
Method Details
-
none
- Returns:
- the neutral instance of
Exclusionswhich does not exclude any attribute.
-
of
Creates an instance ofExclusionsfor the provided attributes.- Parameters:
attributesToExclude- exclusions- Returns:
- Exclusions
-
keepAttribute
- Specified by:
keepAttributein classResourceQuery.AttributesEnumeration- Parameters:
key- the attribute key. Nested attributes are addressed using the 'dot' notation.- Returns:
- false if and only if the attribute should be excluded from the query results.
-
isNeutral
public boolean isNeutral()- Specified by:
isNeutralin classResourceQuery.AttributesEnumeration- Returns:
- true if no attribute will be excluded.
-