public abstract class AbstractPermissionChangePatch extends AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService
Constructor and Description |
---|
AbstractPermissionChangePatch() |
Modifier and Type | Method and Description |
---|---|
protected int |
renamePermission(org.alfresco.service.namespace.QName oldTypeQName,
String oldName,
org.alfresco.service.namespace.QName newTypeQName,
String newName)
Helper method to rename (move) a permission.
|
void |
setAclCrudDAO(AclCrudDAO aclCrudDAO) |
applies, apply, applyAsync, applyInternal, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, init, isDeferred, isForce, isIgnored, reportProgress, requiresTransaction, setAlternatives, setApplicationEventPublisher, setApplyToTenants, setAuthenticationContext, setDeferred, setDependsOn, setDescription, setFixesFromSchema, setFixesToSchema, setForce, setId, setIgnored, setNamespaceService, setNodeService, setPatchService, setRequiresTransaction, setSearchService, setTargetSchema, setTenantAdminService, setTransactionService, toString
public void setAclCrudDAO(AclCrudDAO aclCrudDAO)
protected int renamePermission(org.alfresco.service.namespace.QName oldTypeQName, String oldName, org.alfresco.service.namespace.QName newTypeQName, String newName)
oldTypeQName
- the old permission typeoldName
- the old permission namenewTypeQName
- the new permission typenewName
- the new permission nameCopyright © 2005–2017 Alfresco Software. All rights reserved.