org.apache.chemistry.opencmis.client.bindings.spi.webservices
Class AclServiceImpl
java.lang.Object
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractWebServicesService
org.apache.chemistry.opencmis.client.bindings.spi.webservices.AclServiceImpl
- All Implemented Interfaces:
- AclService
public class AclServiceImpl
- extends AbstractWebServicesService
- implements AclService
ACL Service Web Services client.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AclServiceImpl
public AclServiceImpl(BindingSession session,
AbstractPortProvider portProvider)
- 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.