Interface PrivilegeDefinition

All Known Implementing Classes:
ImmutablePrivilegeDefinition

public interface PrivilegeDefinition
The PrivilegeDefinition interface defines the characteristics of a JCR Privilege.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Set<String>
    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 String
    The internal name of this privilege.
    boolean
    Returns true if the privilege described by this definition is abstract.
  • Method Details

    • getName

      @NotNull @NotNull String getName()
      The internal name of this privilege.
      Returns:
      the internal name.
    • isAbstract

      boolean isAbstract()
      Returns true if the privilege described by this definition is abstract.
      Returns:
      true if the resulting privilege is abstract; false otherwise.
    • getDeclaredAggregateNames

      @NotNull @NotNull Set<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.