public abstract class AbstractAccessControlList extends Object implements JackrabbitAccessControlList
JackrabbitAccessControlList
interface.| Constructor and Description |
|---|
AbstractAccessControlList(@Nullable String oakPath,
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAccessControlEntry(Principal principal,
Privilege[] privileges) |
boolean |
addEntry(Principal principal,
Privilege[] privileges,
boolean isAllow) |
boolean |
addEntry(Principal principal,
Privilege[] privileges,
boolean isAllow,
Map<String,Value> restrictions) |
AccessControlEntry[] |
getAccessControlEntries() |
abstract @NotNull List<? extends JackrabbitAccessControlEntry> |
getEntries() |
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper |
getNamePathMapper() |
@Nullable String |
getOakPath() |
@Nullable String |
getPath() |
@NotNull String[] |
getRestrictionNames() |
abstract @NotNull RestrictionProvider |
getRestrictionProvider() |
int |
getRestrictionType(String restrictionName) |
boolean |
isEmpty() |
boolean |
isMultiValueRestriction(String restrictionName) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEntry, orderBeforeremoveAccessControlEntrypublic AbstractAccessControlList(@Nullable
@Nullable String oakPath,
@NotNull
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
@Nullable public @Nullable String getOakPath()
@NotNull public @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper getNamePathMapper()
@NotNull public abstract @NotNull List<? extends JackrabbitAccessControlEntry> getEntries()
@NotNull public abstract @NotNull RestrictionProvider getRestrictionProvider()
@Nullable public @Nullable String getPath()
getPath in interface JackrabbitAccessControlPolicypublic AccessControlEntry[] getAccessControlEntries()
getAccessControlEntries in interface AccessControlListpublic boolean addAccessControlEntry(Principal principal, Privilege[] privileges) throws RepositoryException
addAccessControlEntry in interface AccessControlListRepositoryExceptionpublic boolean isEmpty()
isEmpty in interface JackrabbitAccessControlListpublic int size()
size in interface JackrabbitAccessControlList@NotNull public @NotNull String[] getRestrictionNames()
getRestrictionNames in interface JackrabbitAccessControlListpublic int getRestrictionType(String restrictionName)
getRestrictionType in interface JackrabbitAccessControlListpublic boolean isMultiValueRestriction(String restrictionName)
isMultiValueRestriction in interface JackrabbitAccessControlListpublic boolean addEntry(Principal principal, Privilege[] privileges, boolean isAllow) throws RepositoryException
addEntry in interface JackrabbitAccessControlListRepositoryExceptionpublic boolean addEntry(Principal principal, Privilege[] privileges, boolean isAllow, Map<String,Value> restrictions) throws RepositoryException
addEntry in interface JackrabbitAccessControlListRepositoryExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.