mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -308,6 +308,15 @@ public interface WorkflowService
|
||||
@Auditable(parameters = {"pathId"})
|
||||
public WorkflowTask getStartTask(String workflowInstanceId);
|
||||
|
||||
/**
|
||||
* Gets a graphical view of the workflow instance
|
||||
*
|
||||
* @param workflowInstanceId the workflow instance id
|
||||
* @return image view of the workflow instance as an InputStream or null if a diagram is not available
|
||||
* @since 4.0
|
||||
*/
|
||||
@Auditable(parameters = {"workflowInstanceId"})
|
||||
public InputStream getWorkflowImage(String workflowInstanceId);
|
||||
|
||||
//
|
||||
// Workflow Timer Management
|
||||
|
Reference in New Issue
Block a user