public class SurfConfigFolderPatch extends AsynchronousPatch
AsynchronousPatch.AsynchronousPatchJob
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService
Constructor and Description |
---|
SurfConfigFolderPatch() |
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 |
setBehaviourFilter(BehaviourFilter behaviourFilter) |
void |
setNodeDAO(NodeDAO nodeDAO) |
void |
setPatchDAO(PatchDAO patchDAO) |
void |
setQnameDAO(QNameDAO qnameDAO) |
void |
setRuleService(RuleService ruleService) |
executeAsynchronously, setJobLockService
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, toString
public void setPatchDAO(PatchDAO patchDAO)
patchDAO
- the patchDAO to setpublic void setNodeDAO(NodeDAO nodeDAO)
nodeDAO
- the nodeDAO to setpublic void setQnameDAO(QNameDAO qnameDAO)
qnameDAO
- the qnameDAO to setpublic void setBehaviourFilter(BehaviourFilter behaviourFilter)
behaviourFilter
- the behaviourFilter to setpublic void setRuleService(RuleService ruleService)
ruleService
- the ruleService to setprotected void checkProperties()
AbstractPatch
checkProperties
in class AsynchronousPatch
protected String applyInternal() throws Exception
AbstractPatch
applyInternal
in class AbstractPatch
Exception
- anything can be thrown. This must be used for all failures.AbstractPatch.apply()
Copyright © 2005–2017 Alfresco Software. All rights reserved.