org.apache.chemistry.opencmis.client.bindings.spi.atompub
Class AclServiceImpl
java.lang.Object
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AclServiceImpl
- All Implemented Interfaces:
- LinkAccess, AclService
public class AclServiceImpl
- extends AbstractAtomPubService
- implements AclService
ACL Service AtomPub client.
Methods inherited from class org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService |
addCollection, addLink, addLink, addRepositoryLink, addRepositoryLink, addTemplate, addTypeLink, addTypeLink, convertStatusCode, createIdObject, delete, extractErrorMessage, extractException, getCollection, getLink, getLink, getLinkCache, getObjectInternal, getRepositoriesInternal, getRepositoryLink, getServiceDocURL, getSession, getTemplateLink, getTypeDefinitionInternal, getTypeLink, getTypeLink, is, isAclMergeRequired, isInt, isNextLink, isStr, loadCollection, loadContentLink, loadLink, loadRepositoryLink, loadTemplateLink, loadTypeLink, lockLinks, lockTypeLinks, mergeAcls, parse, post, put, put, read, removeLinks, removeTypeLinks, setSession, throwLinkException, unlockLinks, unlockTypeLinks, updateAcl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AclServiceImpl
public AclServiceImpl(BindingSession session)
- Constructor.
applyAcl
public Acl applyAcl(String repositoryId,
String objectId,
Acl addAces,
Acl removeAces,
AclPropagation aclPropagation,
ExtensionsData extension)
- Description copied from interface:
AclService
- Adds or removes the given ACEs to or from the ACL of the object.
- Specified by:
applyAcl
in interface AclService
- Parameters:
repositoryId
- 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
)
getAcl
public Acl getAcl(String repositoryId,
String objectId,
Boolean onlyBasicPermissions,
ExtensionsData extension)
- Description copied from interface:
AclService
- Get the ACL currently applied to the specified object.
- Specified by:
getAcl
in interface AclService
- Parameters:
repositoryId
- the identifier for the repositoryobjectId
- the identifier for the objectonlyBasicPermissions
- (optional) an indicator if only basic permissions
should be returned (default is true
)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.