public class AuthorityMigrationPatch extends AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
AuthorityMigrationPatch() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.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, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, init, isForce, reportProgress, requiresTransaction, setAlternatives, setApplicationEventPublisher, setApplyToTenants, setAuthenticationContext, setDependsOn, setDescription, setFixesFromSchema, setFixesToSchema, setForce, setId, 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 java.lang.String applyInternal()
throws java.lang.Exception
applyInternal in class AbstractPatchjava.lang.Exception - anything can be thrown. This must be used for all failures.AbstractPatch.apply()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.