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 Summary
Modifier and TypeMethodDescription@NotNull RestrictionDefinitionReturns the underlying restriction definition.@NotNull org.apache.jackrabbit.oak.api.PropertyStateThe OAK property state associated with this restriction.
-
Method Details
-
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.
-