Interface PrivilegeDefinition
-
- All Known Implementing Classes:
ImmutablePrivilegeDefinition
public interface PrivilegeDefinition
ThePrivilegeDefinition
interface 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.String
getName()
The internal name of this privilege.boolean
isAbstract()
Returnstrue
if 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()
Returnstrue
if the privilege described by this definition is abstract.- Returns:
true
if the resulting privilege is abstract;false
otherwise.
-
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.
-
-