Package org.alfresco.repo.workflow
Class WorkflowDeployer
java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.workflow.WorkflowDeployer
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener
public class WorkflowDeployer
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
Alfresco bootstrap Process deployment.
- Author:
- davidc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassWorkflow deployer transaction listener class. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeploy a workflow definition from a node in the repository.voidinit()Deploy the Workflow Definitionsprotected voidonBootstrap(org.springframework.context.ApplicationEvent event) protected voidonShutdown(org.springframework.context.ApplicationEvent event) voidsetAuthenticationContext(AuthenticationContext authenticationContext) Set the authentication componentvoidsetDictionaryDAO(DictionaryDAO dictionaryDAO) Sets the Dictionary DAOvoidSets the initial list of Workflow resource bundles to bootstrap withvoidSets the initial list of Workflow models to bootstrap withvoidsetNamespaceService(NamespaceService namespaceService) voidsetNodeService(NodeService nodeService) voidsetRepositoryWorkflowDefsLocations(RepositoryLocation repoWorkflowDefsLocation) voidsetSearchService(SearchService searchService) voidsetTenantAdminService(TenantAdminService tenantAdminService) Sets the tenant admin servicevoidsetTenantService(TenantService tenantService) Sets the tenant servicevoidsetTransactionService(TransactionService transactionService) Sets the Transaction ServicevoidsetWorkflowAdminService(WorkflowAdminService workflowAdminService) Sets the workflow admin servicevoidsetWorkflowDefinitions(List<Properties> workflowDefinitions) Sets the Workflow DefinitionsvoidsetWorkflowService(WorkflowService workflowService) Sets the workflow serviceintvoidMethods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
getApplicationContext, onApplicationEvent, setApplicationContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Field Details
-
ENGINE_ID
- See Also:
-
LOCATION
- See Also:
-
MIMETYPE
- See Also:
-
REDEPLOY
- See Also:
-
CATEGORY_ALFRESCO_INTERNAL
- See Also:
-
CATEGORY_FULL_ACCESS
- See Also:
-
CRITERIA_ALL
- See Also:
-
defaultSubtypeOfWorkflowDefinitionType
- See Also:
-
-
Constructor Details
-
WorkflowDeployer
public WorkflowDeployer()
-
-
Method Details
-
setTransactionService
Sets the Transaction Service- Parameters:
transactionService- the transaction service
-
setWorkflowService
Sets the workflow service- Parameters:
workflowService- the workflow service
-
setWorkflowAdminService
Sets the workflow admin service- Parameters:
workflowAdminService- the workflow admin service
-
setAuthenticationContext
Set the authentication component- Parameters:
authenticationContext- AuthenticationContext
-
setDictionaryDAO
Sets the Dictionary DAO- Parameters:
dictionaryDAO- DictionaryDAO
-
setTenantAdminService
Sets the tenant admin service- Parameters:
tenantAdminService- the tenant admin service
-
setTenantService
Sets the tenant service- Parameters:
tenantService- the tenant service
-
setWorkflowDefinitions
Sets the Workflow Definitions -
setModels
Sets the initial list of Workflow models to bootstrap with- Parameters:
modelResources- the model names
-
setLabels
Sets the initial list of Workflow resource bundles to bootstrap with- Parameters:
labels- the list of labels
-
getWorkflowDefinitions
-
setNodeService
-
setSearchService
-
setNamespaceService
-
setRepositoryWorkflowDefsLocations
-
init
public void init()Deploy the Workflow Definitions -
deploy
Deploy a workflow definition from a node in the repository. -
undeploy
-
undeploy
-
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event) - Specified by:
onBootstrapin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
onShutdown
protected void onShutdown(org.springframework.context.ApplicationEvent event) - Specified by:
onShutdownin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-