public class WorkflowDeployer
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
Modifier and Type | Class and Description |
---|---|
class |
WorkflowDeployer.WorkflowDeployerTransactionListener
Workflow deployer transaction listener class.
|
Modifier and Type | Field and Description |
---|---|
static String |
CATEGORY_ALFRESCO_INTERNAL |
static String |
CRITERIA_ALL |
static String |
defaultSubtypeOfWorkflowDefinitionType |
static String |
ENGINE_ID |
static String |
LOCATION |
static String |
MIMETYPE |
static String |
REDEPLOY |
Constructor and Description |
---|
WorkflowDeployer() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(org.alfresco.service.cmr.repository.NodeRef nodeRef,
boolean redeploy) |
List<Properties> |
getWorkflowDefinitions() |
void |
init()
Deploy the Workflow Definitions
|
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event) |
protected void |
onShutdown(org.springframework.context.ApplicationEvent event) |
void |
setAuthenticationContext(AuthenticationContext authenticationContext)
Set the authentication component
|
void |
setDictionaryDAO(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
Sets the Dictionary DAO
|
void |
setLabels(List<String> labels)
Sets the initial list of Workflow resource bundles to bootstrap with
|
void |
setModels(List<String> modelResources)
Sets the initial list of Workflow models to bootstrap with
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setRepositoryWorkflowDefsLocations(RepositoryLocation repoWorkflowDefsLocation) |
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService) |
void |
setTenantAdminService(TenantAdminService tenantAdminService)
Sets the tenant admin service
|
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
Sets the tenant service
|
void |
setTransactionService(TransactionService transactionService)
Sets the Transaction Service
|
void |
setWorkflowAdminService(WorkflowAdminService workflowAdminService)
Sets the workflow admin service
|
void |
setWorkflowDefinitions(List<Properties> workflowDefinitions)
Sets the Workflow Definitions
|
void |
setWorkflowService(WorkflowService workflowService)
Sets the workflow service
|
int |
undeploy(List<String> workflowNames) |
void |
undeploy(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
public static final String ENGINE_ID
public static final String LOCATION
public static final String MIMETYPE
public static final String REDEPLOY
public static final String CATEGORY_ALFRESCO_INTERNAL
public static final String CRITERIA_ALL
public static final String defaultSubtypeOfWorkflowDefinitionType
public void setTransactionService(TransactionService transactionService)
transactionService
- the transaction servicepublic void setWorkflowService(WorkflowService workflowService)
workflowService
- the workflow servicepublic void setWorkflowAdminService(WorkflowAdminService workflowAdminService)
workflowAdminService
- the workflow admin servicepublic void setAuthenticationContext(AuthenticationContext authenticationContext)
authenticationContext
- AuthenticationContextpublic void setDictionaryDAO(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
dictionaryDAO
- DictionaryDAOpublic void setTenantAdminService(TenantAdminService tenantAdminService)
tenantAdminService
- the tenant admin servicepublic void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService
- the tenant servicepublic void setWorkflowDefinitions(List<Properties> workflowDefinitions)
public void setModels(List<String> modelResources)
modelResources
- the model namespublic void setLabels(List<String> labels)
labels
- the list of labelspublic List<Properties> getWorkflowDefinitions()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
public void setRepositoryWorkflowDefsLocations(RepositoryLocation repoWorkflowDefsLocation)
public void init()
public void deploy(org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean redeploy)
public void undeploy(org.alfresco.service.cmr.repository.NodeRef nodeRef)
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
protected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
Copyright © 2005–2017 Alfresco Software. All rights reserved.