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
  • Field Details

  • Constructor Details

    • WorkflowDeployer

      public WorkflowDeployer()
  • Method Details

    • setTransactionService

      public void setTransactionService(TransactionService transactionService)
      Sets the Transaction Service
      Parameters:
      transactionService - the transaction service
    • setWorkflowService

      public void setWorkflowService(WorkflowService workflowService)
      Sets the workflow service
      Parameters:
      workflowService - the workflow service
    • setWorkflowAdminService

      public void setWorkflowAdminService(WorkflowAdminService workflowAdminService)
      Sets the workflow admin service
      Parameters:
      workflowAdminService - the workflow admin service
    • setAuthenticationContext

      public void setAuthenticationContext(AuthenticationContext authenticationContext)
      Set the authentication component
      Parameters:
      authenticationContext - AuthenticationContext
    • setDictionaryDAO

      public void setDictionaryDAO(DictionaryDAO dictionaryDAO)
      Sets the Dictionary DAO
      Parameters:
      dictionaryDAO - DictionaryDAO
    • setTenantAdminService

      public void setTenantAdminService(TenantAdminService tenantAdminService)
      Sets the tenant admin service
      Parameters:
      tenantAdminService - the tenant admin service
    • setTenantService

      public void setTenantService(TenantService tenantService)
      Sets the tenant service
      Parameters:
      tenantService - the tenant service
    • setWorkflowDefinitions

      public void setWorkflowDefinitions(List<Properties> workflowDefinitions)
      Sets the Workflow Definitions
    • setModels

      public void setModels(List<String> modelResources)
      Sets the initial list of Workflow models to bootstrap with
      Parameters:
      modelResources - the model names
    • setLabels

      public void setLabels(List<String> labels)
      Sets the initial list of Workflow resource bundles to bootstrap with
      Parameters:
      labels - the list of labels
    • getWorkflowDefinitions

      public List<Properties> getWorkflowDefinitions()
    • setNodeService

      public void setNodeService(NodeService nodeService)
    • setSearchService

      public void setSearchService(SearchService searchService)
    • setNamespaceService

      public void setNamespaceService(NamespaceService namespaceService)
    • setRepositoryWorkflowDefsLocations

      public void setRepositoryWorkflowDefsLocations(RepositoryLocation repoWorkflowDefsLocation)
    • init

      public void init()
      Deploy the Workflow Definitions
    • deploy

      public void deploy(NodeRef nodeRef, boolean redeploy)
      Deploy a workflow definition from a node in the repository.
    • undeploy

      public void undeploy(NodeRef nodeRef)
    • undeploy

      public int undeploy(List<String> workflowNames)
    • onBootstrap

      protected void onBootstrap(org.springframework.context.ApplicationEvent event)
      Specified by:
      onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBean
    • onShutdown

      protected void onShutdown(org.springframework.context.ApplicationEvent event)
      Specified by:
      onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBean