@ProviderType public interface JackrabbitAccessControlEntry extends AccessControlEntry
JackrabbitAccessControlEntry is a Jackrabbit specific extension
of the AccessControlEntry interface. It represents an single
entry of a JackrabbitAccessControlList.| Modifier and Type | Method and Description |
|---|---|
@Nullable Value |
getRestriction(@NotNull java.lang.String restrictionName)
Return the value of the restriction with the specified name or
null if no such restriction exists. |
@NotNull java.lang.String[] |
getRestrictionNames()
Return the names of the restrictions present with this access control entry.
|
@Nullable Value[] |
getRestrictions(@NotNull java.lang.String restrictionName)
Return the values of the restriction with the specified name or
null if no such restriction exists. |
boolean |
isAllow() |
getPrincipal, getPrivilegesboolean isAllow()
Privileges for the principal;
false otherwise.@NotNull
@NotNull java.lang.String[] getRestrictionNames()
throws RepositoryException
RepositoryException - if an error occurs.@Nullable @Nullable Value getRestriction(@NotNull @NotNull java.lang.String restrictionName) throws ValueFormatException, RepositoryException
null if no such restriction exists. In case the restriction
with the specified name contains multiple value this method will call
ValueFormatException.restrictionName - The of the restriction as obtained through
getRestrictionNames().null if no such restriction exists.ValueFormatException - If the restriction with the specified name
contains multiple values.RepositoryException - if an error occurs.getRestrictions(String)@Nullable @Nullable Value[] getRestrictions(@NotNull @NotNull java.lang.String restrictionName) throws RepositoryException
null if no such restriction exists. For restrictions that
contain just a single value this method is expected to return an array
with a single element even if the underlying implementation stored the
restriction in single-value JCR property.restrictionName - The of the restriction as obtained through
getRestrictionNames().null if no such restriction exists. The array may contain
zero, one or multiple values.RepositoryException - if an error occurs.getRestriction(String)Copyright © 2010 - 2023 Adobe. All Rights Reserved