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:
Jan Vonka
2008-01-24 16:10:35 +00:00
parent f3b4ed76dd
commit d27f0b557e
10 changed files with 207 additions and 183 deletions

View File

@@ -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?
*