Interface Restriction

  • All Known Implementing Classes:
    RestrictionImpl

    public interface Restriction
    A Restriction object represents a "live" restriction object that has been created using the Jackrabbit specific extensions of the AccessControlEntry interface.
    See Also:
    JackrabbitAccessControlList.addEntry(java.security.Principal, javax.jcr.security.Privilege[], boolean, java.util.Map)
    • Method Detail

      • getDefinition

        @NotNull
        @NotNull RestrictionDefinition getDefinition()
        Returns the underlying restriction definition.
        Returns:
        the restriction definition that applies to this restriction.
      • getProperty

        @NotNull
        @NotNull org.apache.jackrabbit.oak.api.PropertyState getProperty()
        The OAK property state associated with this restriction.
        Returns:
        An PropertyState.