public abstract class AbstractAccessControlList extends Object implements JackrabbitAccessControlList
JackrabbitAccessControlList
interface.| Constructor and Description |
|---|
AbstractAccessControlList(String oakPath,
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 List<? extends JackrabbitAccessControlEntry> |
getEntries() |
org.apache.jackrabbit.oak.namepath.NamePathMapper |
getNamePathMapper() |
String |
getOakPath() |
String |
getPath() |
String[] |
getRestrictionNames() |
abstract 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 String oakPath, @Nonnull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
@CheckForNull public String getOakPath()
@Nonnull public org.apache.jackrabbit.oak.namepath.NamePathMapper getNamePathMapper()
@Nonnull public abstract List<? extends JackrabbitAccessControlEntry> getEntries()
@Nonnull public abstract RestrictionProvider getRestrictionProvider()
@CheckForNull public String getPath()
getPath in interface JackrabbitAccessControlPolicypublic AccessControlEntry[] getAccessControlEntries() throws RepositoryException
getAccessControlEntries in interface AccessControlListRepositoryExceptionpublic boolean addAccessControlEntry(Principal principal, Privilege[] privileges) throws RepositoryException
addAccessControlEntry in interface AccessControlListRepositoryExceptionpublic boolean isEmpty()
isEmpty in interface JackrabbitAccessControlListpublic int size()
size in interface JackrabbitAccessControlList@Nonnull public String[] getRestrictionNames() throws RepositoryException
getRestrictionNames in interface JackrabbitAccessControlListRepositoryExceptionpublic int getRestrictionType(String restrictionName) throws RepositoryException
getRestrictionType in interface JackrabbitAccessControlListRepositoryExceptionpublic boolean isMultiValueRestriction(String restrictionName) throws RepositoryException
isMultiValueRestriction in interface JackrabbitAccessControlListRepositoryExceptionpublic 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.