org.enhydra.shark.api.common
Interface AssignmentFilterBuilder

All Superinterfaces:
FilterBuilder

public interface AssignmentFilterBuilder
extends FilterBuilder

All methods are returning the WMFilter object.

Version:
0.4
Author:
V.Puskas

Field Summary
 
Fields inherited from interface org.enhydra.shark.api.common.FilterBuilder
ORDER_ASCENDING, ORDER_DESCENDING, SQL_TYPE_ACTIVITY, SQL_TYPE_ASSIGNMENT, SQL_TYPE_EVENT_AUDIT, SQL_TYPE_MANAGER, SQL_TYPE_PROCESS, SQL_TYPE_RESOURCE, SQL_TYPE_VARIABLE
 
Method Summary
 WMFilter addActivityDefIdEquals(WMSessionHandle sHandle, java.lang.String un)
          Sets condition "assignments activity definition id == value of un"
 WMFilter addActivityIdEquals(WMSessionHandle sHandle, java.lang.String un)
          Sets condition "assignments activity id == value of un"
 WMFilter addActivityPriorityEquals(WMSessionHandle sHandle, int p)
           
 WMFilter addActivityPriorityGreaterThan(WMSessionHandle sHandle, int p)
           
 WMFilter addActivityPriorityLessThan(WMSessionHandle sHandle, int p)
           
 WMFilter addActivitySetDefIdEquals(WMSessionHandle sHandle, java.lang.String un)
          Sets condition "assignments activity set id == value of un"
 WMFilter addIsAccepted(WMSessionHandle sHandle)
          Sets condition "is assignment accepted"
 WMFilter addPackageIdEquals(WMSessionHandle sHandle, java.lang.String un)
          Sets condition "assignments package id == value of un"
 WMFilter addPackageVersionEquals(WMSessionHandle sHandle, java.lang.String un)
          Sets condition "assignments package version == value of un"
 WMFilter addProcessDefIdEquals(WMSessionHandle sHandle, java.lang.String un)
          Sets condition "assignments package definition id == value of un"
 WMFilter addProcessIdEquals(WMSessionHandle sHandle, java.lang.String un)
          Sets condition "assignments process id == value of un"
 WMFilter addProcessPriorityEquals(WMSessionHandle sHandle, int p)
           
 WMFilter addProcessPriorityGreaterThan(WMSessionHandle sHandle, int p)
           
 WMFilter addProcessPriorityLessThan(WMSessionHandle sHandle, int p)
           
 WMFilter addUsernameEquals(WMSessionHandle sHandle, java.lang.String un)
          Sets condition "assignments resource username == value of un"
 WMFilter setOrderByAccepted(WMSessionHandle sHandle, WMFilter filter, boolean ascending)
          Methods starting with setOrderBy obviously don't affect actual expression (nor its evaluation), rather they affect sorting of the result.
 WMFilter setOrderByCreatedTime(WMSessionHandle sHandle, WMFilter filter, boolean ascending)
          Methods starting with setOrderBy obviously don't affect actual expression (nor its evaluation), rather they affect sorting of the result.
 WMFilter setOrderByProcessId(WMSessionHandle sHandle, WMFilter filter, boolean ascending)
          Methods starting with setOrderBy obviously don't affect actual expression (nor its evaluation), rather they affect sorting of the result.
 WMFilter setOrderByUsername(WMSessionHandle sHandle, WMFilter filter, boolean ascending)
          Methods starting with setOrderBy obviously don't affect actual expression (nor its evaluation), rather they affect sorting of the result.
 
Methods inherited from interface org.enhydra.shark.api.common.FilterBuilder
addBshExpression, and, andForArray, createEmptyFilter, getIteratorEmptyExpression, not, or, orForArray, setLimit, setStartPosition, toIteratorExpression
 

Method Detail

addUsernameEquals

WMFilter addUsernameEquals(WMSessionHandle sHandle,
                           java.lang.String un)
                           throws java.lang.Exception
Sets condition "assignments resource username == value of un"

Throws:
java.lang.Exception

addProcessIdEquals

WMFilter addProcessIdEquals(WMSessionHandle sHandle,
                            java.lang.String un)
                            throws java.lang.Exception
Sets condition "assignments process id == value of un"

Throws:
java.lang.Exception

addProcessPriorityEquals

WMFilter addProcessPriorityEquals(WMSessionHandle sHandle,
                                  int p)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

addProcessPriorityLessThan

WMFilter addProcessPriorityLessThan(WMSessionHandle sHandle,
                                    int p)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

addProcessPriorityGreaterThan

WMFilter addProcessPriorityGreaterThan(WMSessionHandle sHandle,
                                       int p)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

addIsAccepted

WMFilter addIsAccepted(WMSessionHandle sHandle)
                       throws java.lang.Exception
Sets condition "is assignment accepted"

Throws:
java.lang.Exception

addPackageIdEquals

WMFilter addPackageIdEquals(WMSessionHandle sHandle,
                            java.lang.String un)
                            throws java.lang.Exception
Sets condition "assignments package id == value of un"

Throws:
java.lang.Exception

addPackageVersionEquals

WMFilter addPackageVersionEquals(WMSessionHandle sHandle,
                                 java.lang.String un)
                                 throws java.lang.Exception
Sets condition "assignments package version == value of un"

Throws:
java.lang.Exception

addProcessDefIdEquals

WMFilter addProcessDefIdEquals(WMSessionHandle sHandle,
                               java.lang.String un)
                               throws java.lang.Exception
Sets condition "assignments package definition id == value of un"

Throws:
java.lang.Exception

addActivitySetDefIdEquals

WMFilter addActivitySetDefIdEquals(WMSessionHandle sHandle,
                                   java.lang.String un)
                                   throws java.lang.Exception
Sets condition "assignments activity set id == value of un"

Throws:
java.lang.Exception

addActivityDefIdEquals

WMFilter addActivityDefIdEquals(WMSessionHandle sHandle,
                                java.lang.String un)
                                throws java.lang.Exception
Sets condition "assignments activity definition id == value of un"

Throws:
java.lang.Exception

addActivityIdEquals

WMFilter addActivityIdEquals(WMSessionHandle sHandle,
                             java.lang.String un)
                             throws java.lang.Exception
Sets condition "assignments activity id == value of un"

Throws:
java.lang.Exception

addActivityPriorityEquals

WMFilter addActivityPriorityEquals(WMSessionHandle sHandle,
                                   int p)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

addActivityPriorityLessThan

WMFilter addActivityPriorityLessThan(WMSessionHandle sHandle,
                                     int p)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

addActivityPriorityGreaterThan

WMFilter addActivityPriorityGreaterThan(WMSessionHandle sHandle,
                                        int p)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

setOrderByUsername

WMFilter setOrderByUsername(WMSessionHandle sHandle,
                            WMFilter filter,
                            boolean ascending)
                            throws java.lang.Exception
Methods starting with setOrderBy obviously don't affect actual expression (nor its evaluation), rather they affect sorting of the result.

This method sets ordering by assignment their assignee' username.

Throws:
java.lang.Exception

setOrderByProcessId

WMFilter setOrderByProcessId(WMSessionHandle sHandle,
                             WMFilter filter,
                             boolean ascending)
                             throws java.lang.Exception
Methods starting with setOrderBy obviously don't affect actual expression (nor its evaluation), rather they affect sorting of the result.

This method sets ordering by process id value.

Throws:
java.lang.Exception

setOrderByCreatedTime

WMFilter setOrderByCreatedTime(WMSessionHandle sHandle,
                               WMFilter filter,
                               boolean ascending)
                               throws java.lang.Exception
Methods starting with setOrderBy obviously don't affect actual expression (nor its evaluation), rather they affect sorting of the result.

This method sets ordering by assignment created time value.

Throws:
java.lang.Exception

setOrderByAccepted

WMFilter setOrderByAccepted(WMSessionHandle sHandle,
                            WMFilter filter,
                            boolean ascending)
                            throws java.lang.Exception
Methods starting with setOrderBy obviously don't affect actual expression (nor its evaluation), rather they affect sorting of the result.

This method sets ordering by assignment accepted status value.

Throws:
java.lang.Exception