summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-02-04 04:53:20 (EST)
committerSven Rottstock2013-03-11 06:30:59 (EDT)
commit421c0e69cc6e6ff9b672cf0310e6f8f558f0a9ae (patch)
treea2bf86ee127392fc372e8cead9a772457ef9e5a9
parentf9f05728cb349abdb3d31064c9457fe93bb37baa (diff)
downloadorg.eclipse.stardust.ui.web-421c0e69cc6e6ff9b672cf0310e6f8f558f0a9ae.zip
org.eclipse.stardust.ui.web-421c0e69cc6e6ff9b672cf0310e6f8f558f0a9ae.tar.gz
org.eclipse.stardust.ui.web-421c0e69cc6e6ff9b672cf0310e6f8f558f0a9ae.tar.bz2
Jira-ID: CRNT-27764
1)Added ExcludeUserPolicy.EXCLUDE_USER policy for ActivityInstanceQuery in getActivityInstances_anyActivatableByProcess() in WorklistUtils.java. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@62748 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/utils/WorklistUtils.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/utils/WorklistUtils.java b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/utils/WorklistUtils.java
index b747721..20fd83e 100644
--- a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/utils/WorklistUtils.java
+++ b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/utils/WorklistUtils.java
@@ -406,6 +406,7 @@ public class WorklistUtils
ActivityInstanceState.Application, ActivityInstanceState.Suspended});
// only evaluate count
query.setPolicy(new SubsetPolicy(0, true));
+ query.setPolicy(ExcludeUserPolicy.EXCLUDE_USER);
query.setPolicy(EvaluateByWorkitemsPolicy.WORKITEMS);
query.where(new ProcessDefinitionFilter(process.getQualifiedId(), false));
FilterOrTerm or = query.getFilter().addOrTerm();