public class MultiTFixAdminExistingTenantsPatch extends AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
MultiTFixAdminExistingTenantsPatch() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
applyInternal()
This method does the work.
|
protected void |
checkProperties()
Check that the schema version properties have been set appropriately.
|
void |
setNodeDAO(NodeDAO nodeDAO) |
void |
setPathsToNodes(List<String> pathsToNodes) |
void |
setPolicyBehaviourFilter(BehaviourFilter policyBehaviourFilter) |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
applies, apply, applyAsync, 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 setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
public void setNodeDAO(NodeDAO nodeDAO)
public void setPolicyBehaviourFilter(BehaviourFilter policyBehaviourFilter)
protected void checkProperties()
AbstractPatchcheckProperties in class AbstractPatchAbstractPatch.checkProperties()protected String applyInternal() throws Exception
AbstractPatchapplyInternal in class AbstractPatchException - anything can be thrown. This must be used for all failures.AbstractPatch.applyInternal()Copyright © 2005–2014 Alfresco Software. All rights reserved.