Part of ACTVT 93: The Share client exposes the diagram associated with a workflow

Added a getWorkflowImage(String workflowInstanceId) method to WorkflowService and WorkflowComponent interfaces. JBPM implementation will always return null, Activiti implementation will return an InputStream when diagramming information is available.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2011-06-08 11:52:52 +00:00
parent 75dc2f5c6a
commit e25cd8eb7e
5 changed files with 52 additions and 0 deletions

View File

@@ -1288,6 +1288,17 @@ public class JBPMEngine extends AlfrescoBpmEngine implements WorkflowEngine
}
}
/*
* (non-Javadoc)
*
* @see org.alfresco.repo.workflow.WorkflowComponent#getWorkflowImage(java.lang.String)
*/
public InputStream getWorkflowImage(final String workflowInstanceId)
{
// we don't support workflow instance diagrams in JBPM so return null
return null;
}
//
// Task Management ...
//