* org.apache.opencmis.commons.enums.ACLPropagation,
* org.apache.opencmis.client.provider.ExtensionsData)
*/
public Acl applyAcl(String repositoryId, String objectId, Acl addACEs, Acl removeACEs,
AclPropagation aclPropagation, ExtensionsData extension) {
ACLServicePort port = fPortProvider.getACLServicePort();
try {
return convert(port.applyACL(repositoryId, objectId, convert(addACEs), convert(removeACEs), convert(
EnumACLPropagation.class, aclPropagation), convert(extension)));
} catch (CmisException e) {
throw convertException(e);
} catch (Exception e) {
throw new CmisRuntimeException("Error: " + e.getMessage(), e);