Interface PrivilegeDefinition
- All Known Implementing Classes:
ImmutablePrivilegeDefinition
public interface PrivilegeDefinition
The
PrivilegeDefinition interface defines the characteristics of
a JCR Privilege.-
Method Summary
Modifier and TypeMethodDescriptionReturns the internal names of the declared aggregated privileges or an empty array if the privilege defined by this definition isn't an aggregate.@NotNull StringgetName()The internal name of this privilege.booleanReturnstrueif the privilege described by this definition is abstract.
-
Method Details
-
getName
The internal name of this privilege.- Returns:
- the internal name.
-
isAbstract
boolean isAbstract()Returnstrueif the privilege described by this definition is abstract.- Returns:
trueif the resulting privilege is abstract;falseotherwise.
-
getDeclaredAggregateNames
Returns the internal names of the declared aggregated privileges or an empty array if the privilege defined by this definition isn't an aggregate.- Returns:
- The internal names of the aggregated privileges or an empty array.
-