public class AclServiceImpl extends AbstractBrowserBindingService implements AclService, ExtendedAclService
SIMPLE_CONTAINER_FACTORY| Constructor and Description |
|---|
AclServiceImpl(BindingSession session)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Acl |
applyAcl(String repositoryId,
String objectId,
Acl addAces,
Acl removeAces,
AclPropagation aclPropagation,
ExtensionsData extension)
Adds or removes the given ACEs to or from the ACL of the object.
|
Acl |
getAcl(String repositoryId,
String objectId,
Boolean onlyBasicPermissions,
ExtensionsData extension)
Get the ACL currently applied to the specified object.
|
Acl |
setAcl(String repositoryId,
String objectId,
Acl aces)
Removes the direct ACEs of an object and sets the provided ACEs.
|
convertStatusCode, getDateTimeFormat, getDateTimeFormatParameter, getHttpInvoker, getObjectUrl, getObjectUrl, getPathUrl, getRepositoriesInternal, getRepositoryUrl, getRepositoryUrl, getRepositoryUrlCache, getServiceUrl, getSession, getSuccinct, getSuccinctParameter, getTypeDefinitionInternal, loadContentLink, loadLink, loadRenditionContentLink, parse, parseArray, parseObject, post, postAndConsume, read, setChangeToken, setSessionpublic AclServiceImpl(BindingSession session)
public Acl getAcl(String repositoryId, String objectId, Boolean onlyBasicPermissions, ExtensionsData extension)
AclServicegetAcl in interface AclServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the objectonlyBasicPermissions - (optional) an indicator if only basic permissions
should be returned (default is true)public Acl applyAcl(String repositoryId, String objectId, Acl addAces, Acl removeAces, AclPropagation aclPropagation, ExtensionsData extension)
AclServiceapplyAcl in interface AclServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the objectaddAces - (optional) the ACEs to be addedremoveAces - (optional) the ACEs to be removedaclPropagation - (optional) specifies how ACEs should be handled
(default is AclPropagation.REPOSITORYDETERMINED)public Acl setAcl(String repositoryId, String objectId, Acl aces)
ExtendedAclServicesetAcl in interface ExtendedAclServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the objectaces - the ACEsCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.