public class AuthorityMigrationPatch extends AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
AuthorityMigrationPatch() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
applyInternal()
TODO: The walking of the group associations should be wrapped up in a BatchProcessWorkProvider, if possible
|
void |
setAuthorityService(AuthorityService authorityService)
Sets the authority service.
|
void |
setRuleService(RuleService ruleService)
Sets the rule service.
|
void |
setUserBootstrap(ImporterBootstrap userBootstrap)
Sets the user bootstrap.
|
applies, apply, applyAsync, 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, toStringpublic void setAuthorityService(AuthorityService authorityService)
authorityService - the authority servicepublic void setRuleService(RuleService ruleService)
ruleService - the rule servicepublic void setUserBootstrap(ImporterBootstrap userBootstrap)
userBootstrap - the user bootstrapprotected String applyInternal() throws Exception
applyInternal in class AbstractPatchException - anything can be thrown. This must be used for all failures.AbstractPatch.apply()Copyright © 2005–2014 Alfresco Software. All rights reserved.