Merged HEAD-BUG-FIX to HEAD (4.2)

55501: Merged V4.1-BUG-FIX (4.1.7) to HEAD-BUG-FIX (4.2)
      << Had a conflict on merge - think it is okay >>
      55463: Merged V4.1.6 (4.1.6) to V4.1-BUG-FIX (4.1.7)
         55227: MNT-9074: Merged V4.1.6-PATCHES-2013_09_03 to PATCHES/V4.1.6
          55046: MNT-9074 : My Tasks fails to render if tasks quantity is excessive
          Were implemented code for getting definite count of workflow instances and applying them to page. It makes the opening page more quickly.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@55782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2013-09-20 20:49:30 +00:00
parent e5e97719b3
commit 43b8974563
5 changed files with 140 additions and 9 deletions

View File

@@ -245,6 +245,25 @@ public interface WorkflowService
*/
public List<WorkflowInstance> getWorkflows(WorkflowInstanceQuery workflowInstanceQuery);
/**
* Gets maxItems "in-flight" workflow instances according to the specified workflowInstanceQuery parameter
* Get maxItems and skipCount parameters form request
*
* @param workflowInstanceQuery
* @param maxItems
* @param skipCount
* @return maxItems workflow instances
*/
public List<WorkflowInstance> getWorkflows(WorkflowInstanceQuery workflowInstanceQuery, int maxItems, int skipCount);
/**
* Get count of workflow instances
*
* @param workflowInstanceQuery
* @return count of workflow instances
*/
public long countWorkflows(WorkflowInstanceQuery workflowInstanceQuery);
/**
* Gets all active workflow instances.
*