mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Consolidate/fix bootstrap import (MT & ST) of repo-sourced workflow defs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8087 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -72,6 +72,18 @@ public interface WorkflowService
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"workflowDefinition"})
|
||||
public WorkflowDeployment deployDefinition(NodeRef workflowDefinition);
|
||||
|
||||
/**
|
||||
* Is the specified Workflow Definition already deployed?
|
||||
*
|
||||
* Note: the notion of "already deployed" may differ between bpm engines. For example,
|
||||
* different versions of the same process may be considered equal.
|
||||
*
|
||||
* @param workflowDefinition the content object containing the definition
|
||||
* @return true => already deployed
|
||||
*/
|
||||
@Auditable(parameters = {"definitionContent"})
|
||||
public boolean isDefinitionDeployed(NodeRef workflowDefinition);
|
||||
|
||||
/**
|
||||
* Is the specified Workflow Definition already deployed?
|
||||
*
|
||||
|
Reference in New Issue
Block a user