Interface Restriction
-
- All Known Implementing Classes:
RestrictionImpl
public interface Restriction
ARestriction
object represents a "live" restriction object that has been created using the Jackrabbit specific extensions of theAccessControlEntry
interface.- See Also:
JackrabbitAccessControlList.addEntry(java.security.Principal, javax.jcr.security.Privilege[], boolean, java.util.Map)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull RestrictionDefinition
getDefinition()
Returns the underlying restriction definition.@NotNull org.apache.jackrabbit.oak.api.PropertyState
getProperty()
The OAK property state associated with this restriction.
-
-
-
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
.
-
-