public class GenericWorkflowPatch extends AbstractPatch implements org.springframework.context.ApplicationContextAware
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
GenericWorkflowPatch() |
| 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 |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setUndeployWorkflowNames(List<String> undeployWorkflowNames)
Sets the Workflow Names to be undeployed
|
void |
setWorkflowDefinitions(List<Properties> workflowDefinitions)
Sets the Workflow Definitions
|
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 setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setWorkflowDefinitions(List<Properties> workflowDefinitions)
public void setUndeployWorkflowNames(List<String> undeployWorkflowNames)
undeployWorkflowNames - list with namesprotected void checkProperties()
AbstractPatchcheckProperties in class AbstractPatchprotected String applyInternal() throws Exception
AbstractPatchapplyInternal in class AbstractPatchException - anything can be thrown. This must be used for all failures.AbstractPatch.apply()Copyright © 2005–2018 Alfresco Software. All rights reserved.