|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.admin.patch.AbstractPatch
org.alfresco.repo.admin.patch.impl.AuthorityMigrationPatch
public class AuthorityMigrationPatch
Migrates authority information previously stored in the user store to the spaces store, using the new structure used by AuthorityService.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.repo.admin.patch.AbstractPatch |
|---|
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, searchService, tenantAdminService, transactionHelper, transactionService |
| Constructor Summary | |
|---|---|
AuthorityMigrationPatch()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthorityMigrationPatch()
| Method Detail |
|---|
public void setAuthorityService(AuthorityService authorityService)
authorityService - the authority servicepublic void setRuleService(RuleService ruleService)
ruleService - the rule servicepublic void setUserBootstrap(ImporterBootstrap userBootstrap)
userBootstrap - the user bootstrap
protected 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||