mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10084, ALF-10242. Fixed issues and added WorkflowService methods to get workflow instances without filtering by definition id.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -24,7 +24,6 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.service.Auditable;
|
||||
import org.alfresco.service.PublicService;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
|
||||
@@ -235,6 +234,32 @@ public interface WorkflowService
|
||||
*/
|
||||
@Auditable(parameters = {"workflowDefinitionId"})
|
||||
public List<WorkflowInstance> getWorkflows(String workflowDefinitionId);
|
||||
|
||||
/**
|
||||
* Gets all active workflow instances.
|
||||
*
|
||||
* @return the list of "in-flight" workflow instances
|
||||
* @since4.0
|
||||
*/
|
||||
@Auditable
|
||||
public List<WorkflowInstance> getActiveWorkflows();
|
||||
|
||||
/**
|
||||
* Gets all completed workflow instances.
|
||||
*
|
||||
* @return the list of "in-flight" workflow instances
|
||||
* @since 4.0
|
||||
*/
|
||||
@Auditable
|
||||
public List<WorkflowInstance> getCompletedWorkflows();
|
||||
|
||||
/**
|
||||
* Gets all workflow instances (both active and completed).
|
||||
*
|
||||
* @return the list of "in-flight" workflow instances
|
||||
* @since 4.0
|
||||
*/
|
||||
public List<WorkflowInstance> getWorkflows();
|
||||
|
||||
/**
|
||||
* Gets a specific workflow instances
|
||||
|
Reference in New Issue
Block a user