Interface PrivilegeDefinition
-
- All Known Implementing Classes:
ImmutablePrivilegeDefinition
public interface PrivilegeDefinitionThePrivilegeDefinitioninterface defines the characteristics of a JCRPrivilege.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.util.Set<java.lang.String>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.@NotNull java.lang.StringgetName()The internal name of this privilege.booleanisAbstract()Returnstrueif the privilege described by this definition is abstract.
-
-
-
Method Detail
-
getName
@NotNull @NotNull java.lang.String 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
@NotNull @NotNull java.util.Set<java.lang.String> 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.
-
-