Added getTaskDefinitions to WorkflowService - required for delete model validation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2007-09-06 17:10:39 +00:00
parent 018f8eb9c0
commit ab85be5821
5 changed files with 90 additions and 0 deletions

View File

@@ -148,6 +148,15 @@ public interface WorkflowService
@Auditable(parameters = {"workflowDefinitionId"})
public byte[] getDefinitionImage(String workflowDefinitionId);
/**
* Gets the Task Definitions for the given Workflow Definition
*
* @param workflowDefinitionId the workflow definition id
* @return the deployed task definitions (or null if not found)
*/
@Auditable(parameters = {"workflowDefinitionId"})
public List<WorkflowTaskDefinition> getTaskDefinitions(final String workflowDefinitionId);
//
// Workflow Instance Management