org.enhydra.shark.api.common
Interface ActivityFilterBuilder

All Superinterfaces:
FilterBuilder

public interface ActivityFilterBuilder
extends FilterBuilder

ActivityIteratorExpressionBuilder

All methods are returng the object itself to allow stacking method calls on the same object.

Version:
0.3
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
 
Method Summary
 WMFilter addAcceptedTimeAfter(WMSessionHandle sHandle, long arg)
          Appends condition "activity accepted time > arg"
 WMFilter addAcceptedTimeBefore(WMSessionHandle sHandle, long arg)
          Appends condition "activity accepted time < arg"
 WMFilter addAcceptedTimeEquals(WMSessionHandle sHandle, long arg)
          Appends condition "activity accepted time == arg"
 WMFilter addActivatedTimeAfter(WMSessionHandle sHandle, long arg)
          Appends condition "activity activated time > arg"
 WMFilter addActivatedTimeBefore(WMSessionHandle sHandle, long arg)
          Appends condition "activity activated time < arg"
 WMFilter addActivatedTimeEquals(WMSessionHandle sHandle, long arg)
          Appends condition "activity activated time == arg"
 WMFilter addActivitySetDefId(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "activity set definition id == arg"
 WMFilter addDefinitionId(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "activity definition id == arg"
 WMFilter addDescriptionContains(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "activity description contains arg"
 WMFilter addDescriptionEquals(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "activity description == arg"
 WMFilter addHasAssignmentForUser(WMSessionHandle sHandle, java.lang.String arg)
           
 WMFilter addIdEquals(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "activity id == arg"
 WMFilter addIsAccepted(WMSessionHandle sHandle)
          Appends condition "activity is accepted"
 WMFilter addIsMgrEnabled(WMSessionHandle sHandle)
          Appends condition "process manager is enabled"
 WMFilter addLastStateTimeAfter(WMSessionHandle sHandle, long arg)
          Appends condition "activity last state time > arg"
 WMFilter addLastStateTimeBefore(WMSessionHandle sHandle, long arg)
          Appends condition "activity last state time < arg"
 WMFilter addLastStateTimeEquals(WMSessionHandle sHandle, long arg)
          Appends condition "activity last state time == arg"
 WMFilter addLimitTimeAfter(WMSessionHandle sHandle, long arg)
           
 WMFilter addLimitTimeBefore(WMSessionHandle sHandle, long arg)
           
 WMFilter addLimitTimeEquals(WMSessionHandle sHandle, long arg)
           
 WMFilter addMgrNameEquals(WMSessionHandle sHandle, java.lang.String exp)
          Appends condition "process manager name == value of exp"
 WMFilter addNameEquals(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "activity name == arg"
 WMFilter addPackageIdEquals(WMSessionHandle sHandle, java.lang.String exp)
          Appends condition "process definition id == value of exp"
 WMFilter addPriorityEquals(WMSessionHandle sHandle, int arg)
          Appends condition "activity priority == arg"
 WMFilter addProcessCreatedTimeAfter(WMSessionHandle sHandle, long arg)
          Appends condition "process created time > value of exp"
 WMFilter addProcessCreatedTimeBefore(WMSessionHandle sHandle, long arg)
          Appends condition "process created time < value of exp"
 WMFilter addProcessCreatedTimeEquals(WMSessionHandle sHandle, long arg)
          Appends condition "process created time == value of exp"
 WMFilter addProcessDefIdEquals(WMSessionHandle sHandle, java.lang.String exp)
          Appends condition "process definition id == value of exp"
 WMFilter addProcessDescriptionContains(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "process description contains value of exp"
 WMFilter addProcessDescriptionEquals(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "process description == value of exp"
 WMFilter addProcessIdEquals(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "process id == value of exp"
 WMFilter addProcessLastStateTimeAfter(WMSessionHandle sHandle, long arg)
          Appends condition "process last state time time > value of exp"
 WMFilter addProcessLastStateTimeBefore(WMSessionHandle sHandle, long arg)
          Appends condition "process last state time time < value of exp"
 WMFilter addProcessLastStateTimeEquals(WMSessionHandle sHandle, long arg)
          Appends condition "process last state time time == value of exp"
 WMFilter addProcessLimitTimeAfter(WMSessionHandle sHandle, long arg)
           
 WMFilter addProcessLimitTimeBefore(WMSessionHandle sHandle, long arg)
           
 WMFilter addProcessLimitTimeEquals(WMSessionHandle sHandle, long arg)
           
 WMFilter addProcessNameEquals(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "process name == value of exp"
 WMFilter addProcessPriorityEquals(WMSessionHandle sHandle, int arg)
          Appends condition "process priority == value of exp"
 WMFilter addProcessRequesterIdEquals(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "process requester == value of exp"
 WMFilter addProcessStartTimeAfter(WMSessionHandle sHandle, long arg)
          Appends condition "process started time > value of exp"
 WMFilter addProcessStartTimeBefore(WMSessionHandle sHandle, long arg)
          Appends condition "process started time < value of exp"
 WMFilter addProcessStartTimeEquals(WMSessionHandle sHandle, long arg)
          Appends condition "process started time == value of exp"
 WMFilter addProcessStateEquals(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "process state == value of exp"
 WMFilter addProcessStateStartsWith(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "process state starts with value of exp"
 WMFilter addProcessVariableDoubleEquals(WMSessionHandle sHandle, java.lang.String vName, double vValue)
          Appends condition "process variable vName == vValue"
 WMFilter addProcessVariableDoubleGreaterThan(WMSessionHandle sHandle, java.lang.String vName, double vValue)
          Appends condition "process variable vName > vValue"
 WMFilter addProcessVariableDoubleLessThan(WMSessionHandle sHandle, java.lang.String vName, double vValue)
          Appends condition "process variable vName < vValue"
 WMFilter addProcessVariableEquals(WMSessionHandle sHandle, java.lang.String vName, java.lang.Object vValue)
          Appends condition "process variable vName == vValue"
 WMFilter addProcessVariableLongEquals(WMSessionHandle sHandle, java.lang.String vName, long vValue)
          Appends condition "process variable vName == vValue"
 WMFilter addProcessVariableLongGreaterThan(WMSessionHandle sHandle, java.lang.String vName, long vValue)
          Appends condition "process variable vName > vValue"
 WMFilter addProcessVariableLongLessThan(WMSessionHandle sHandle, java.lang.String vName, long vValue)
          Appends condition "process variable vName < vValue"
 WMFilter addProcessVariableStringEquals(WMSessionHandle sHandle, java.lang.String vName, java.lang.String vValue)
          Appends condition "process variable vName == vValue"
 WMFilter addResourceUsername(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "activity resource username == arg"
 WMFilter addStateEquals(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "activity state == arg"
 WMFilter addStateStartsWith(WMSessionHandle sHandle, java.lang.String arg)
          Appends condition "activity state starts with arg"
 WMFilter addVariableDoubleEquals(WMSessionHandle sHandle, java.lang.String vName, double vValue)
          Appends condition "activity variable vName == vValue"
 WMFilter addVariableDoubleGreaterThan(WMSessionHandle sHandle, java.lang.String vName, double vValue)
          Appends condition "activity variable vName > vValue"
 WMFilter addVariableDoubleLessThan(WMSessionHandle sHandle, java.lang.String vName, double vValue)
          Appends condition "activity variable vName < vValue"
 WMFilter addVariableEquals(WMSessionHandle sHandle, java.lang.String vName, java.lang.Object vValue)
          Appends condition "activity variable vName == vValue"
 WMFilter addVariableLongEquals(WMSessionHandle sHandle, java.lang.String vName, long vValue)
          Appends condition "activity variable vName == vValue"
 WMFilter addVariableLongGreaterThan(WMSessionHandle sHandle, java.lang.String vName, long vValue)
          Appends condition "activity variable vName > vValue"
 WMFilter addVariableLongLessThan(WMSessionHandle sHandle, java.lang.String vName, long vValue)
          Appends condition "activity variable vName < vValue"
 WMFilter addVariableStringEquals(WMSessionHandle sHandle, java.lang.String vName, java.lang.String vValue)
          Appends condition "activity variable vName == vValue"
 WMFilter addVersionEquals(WMSessionHandle sHandle, java.lang.String exp)
          Appends condition "process manager version == value of exp"
 WMFilter setOrderByAcceptedTime(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 setOrderByActivatedTime(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 setOrderByActivitySetDefId(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 setOrderByDefinitionId(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 setOrderById(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 setOrderByLastStateTime(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 setOrderByName(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 setOrderByPerformer(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 setOrderByPriority(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 setOrderByProcessDefName(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 setOrderByResourceUsername(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 setOrderByState(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

addPackageIdEquals

public WMFilter addPackageIdEquals(WMSessionHandle sHandle,
                                   java.lang.String exp)
                            throws java.lang.Exception
Appends condition "process definition id == value of exp"

Parameters:
exp -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessDefIdEquals

public WMFilter addProcessDefIdEquals(WMSessionHandle sHandle,
                                      java.lang.String exp)
                               throws java.lang.Exception
Appends condition "process definition id == value of exp"

Parameters:
exp -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addMgrNameEquals

public WMFilter addMgrNameEquals(WMSessionHandle sHandle,
                                 java.lang.String exp)
                          throws java.lang.Exception
Appends condition "process manager name == value of exp"

Parameters:
exp -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addVersionEquals

public WMFilter addVersionEquals(WMSessionHandle sHandle,
                                 java.lang.String exp)
                          throws java.lang.Exception
Appends condition "process manager version == value of exp"

Parameters:
exp -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addIsMgrEnabled

public WMFilter addIsMgrEnabled(WMSessionHandle sHandle)
                         throws java.lang.Exception
Appends condition "process manager is enabled"

Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessStateEquals

public WMFilter addProcessStateEquals(WMSessionHandle sHandle,
                                      java.lang.String arg)
                               throws java.lang.Exception
Appends condition "process state == value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessStateStartsWith

public WMFilter addProcessStateStartsWith(WMSessionHandle sHandle,
                                          java.lang.String arg)
                                   throws java.lang.Exception
Appends condition "process state starts with value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessIdEquals

public WMFilter addProcessIdEquals(WMSessionHandle sHandle,
                                   java.lang.String arg)
                            throws java.lang.Exception
Appends condition "process id == value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessNameEquals

public WMFilter addProcessNameEquals(WMSessionHandle sHandle,
                                     java.lang.String arg)
                              throws java.lang.Exception
Appends condition "process name == value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessPriorityEquals

public WMFilter addProcessPriorityEquals(WMSessionHandle sHandle,
                                         int arg)
                                  throws java.lang.Exception
Appends condition "process priority == value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessDescriptionEquals

public WMFilter addProcessDescriptionEquals(WMSessionHandle sHandle,
                                            java.lang.String arg)
                                     throws java.lang.Exception
Appends condition "process description == value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessDescriptionContains

public WMFilter addProcessDescriptionContains(WMSessionHandle sHandle,
                                              java.lang.String arg)
                                       throws java.lang.Exception
Appends condition "process description contains value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessRequesterIdEquals

public WMFilter addProcessRequesterIdEquals(WMSessionHandle sHandle,
                                            java.lang.String arg)
                                     throws java.lang.Exception
Appends condition "process requester == value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessCreatedTimeEquals

public WMFilter addProcessCreatedTimeEquals(WMSessionHandle sHandle,
                                            long arg)
                                     throws java.lang.Exception
Appends condition "process created time == value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessCreatedTimeBefore

public WMFilter addProcessCreatedTimeBefore(WMSessionHandle sHandle,
                                            long arg)
                                     throws java.lang.Exception
Appends condition "process created time < value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessCreatedTimeAfter

public WMFilter addProcessCreatedTimeAfter(WMSessionHandle sHandle,
                                           long arg)
                                    throws java.lang.Exception
Appends condition "process created time > value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessStartTimeEquals

public WMFilter addProcessStartTimeEquals(WMSessionHandle sHandle,
                                          long arg)
                                   throws java.lang.Exception
Appends condition "process started time == value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessStartTimeBefore

public WMFilter addProcessStartTimeBefore(WMSessionHandle sHandle,
                                          long arg)
                                   throws java.lang.Exception
Appends condition "process started time < value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessStartTimeAfter

public WMFilter addProcessStartTimeAfter(WMSessionHandle sHandle,
                                         long arg)
                                  throws java.lang.Exception
Appends condition "process started time > value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessLastStateTimeEquals

public WMFilter addProcessLastStateTimeEquals(WMSessionHandle sHandle,
                                              long arg)
                                       throws java.lang.Exception
Appends condition "process last state time time == value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessLastStateTimeBefore

public WMFilter addProcessLastStateTimeBefore(WMSessionHandle sHandle,
                                              long arg)
                                       throws java.lang.Exception
Appends condition "process last state time time < value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessLimitTimeEquals

public WMFilter addProcessLimitTimeEquals(WMSessionHandle sHandle,
                                          long arg)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

addProcessLimitTimeBefore

public WMFilter addProcessLimitTimeBefore(WMSessionHandle sHandle,
                                          long arg)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

addProcessLimitTimeAfter

public WMFilter addProcessLimitTimeAfter(WMSessionHandle sHandle,
                                         long arg)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

addProcessLastStateTimeAfter

public WMFilter addProcessLastStateTimeAfter(WMSessionHandle sHandle,
                                             long arg)
                                      throws java.lang.Exception
Appends condition "process last state time time > value of exp"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessVariableEquals

public WMFilter addProcessVariableEquals(WMSessionHandle sHandle,
                                         java.lang.String vName,
                                         java.lang.Object vValue)
                                  throws java.lang.Exception
Appends condition "process variable vName == vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
itself
Throws:
java.lang.Exception - if class of the vValue isn't supported for compare

addProcessVariableStringEquals

public WMFilter addProcessVariableStringEquals(WMSessionHandle sHandle,
                                               java.lang.String vName,
                                               java.lang.String vValue)
                                        throws java.lang.Exception
Appends condition "process variable vName == vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessVariableLongEquals

public WMFilter addProcessVariableLongEquals(WMSessionHandle sHandle,
                                             java.lang.String vName,
                                             long vValue)
                                      throws java.lang.Exception
Appends condition "process variable vName == vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessVariableLongGreaterThan

public WMFilter addProcessVariableLongGreaterThan(WMSessionHandle sHandle,
                                                  java.lang.String vName,
                                                  long vValue)
                                           throws java.lang.Exception
Appends condition "process variable vName > vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessVariableLongLessThan

public WMFilter addProcessVariableLongLessThan(WMSessionHandle sHandle,
                                               java.lang.String vName,
                                               long vValue)
                                        throws java.lang.Exception
Appends condition "process variable vName < vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessVariableDoubleEquals

public WMFilter addProcessVariableDoubleEquals(WMSessionHandle sHandle,
                                               java.lang.String vName,
                                               double vValue)
                                        throws java.lang.Exception
Appends condition "process variable vName == vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessVariableDoubleGreaterThan

public WMFilter addProcessVariableDoubleGreaterThan(WMSessionHandle sHandle,
                                                    java.lang.String vName,
                                                    double vValue)
                                             throws java.lang.Exception
Appends condition "process variable vName > vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addProcessVariableDoubleLessThan

public WMFilter addProcessVariableDoubleLessThan(WMSessionHandle sHandle,
                                                 java.lang.String vName,
                                                 double vValue)
                                          throws java.lang.Exception
Appends condition "process variable vName < vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addStateEquals

public WMFilter addStateEquals(WMSessionHandle sHandle,
                               java.lang.String arg)
                        throws java.lang.Exception
Appends condition "activity state == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addStateStartsWith

public WMFilter addStateStartsWith(WMSessionHandle sHandle,
                                   java.lang.String arg)
                            throws java.lang.Exception
Appends condition "activity state starts with arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addIdEquals

public WMFilter addIdEquals(WMSessionHandle sHandle,
                            java.lang.String arg)
                     throws java.lang.Exception
Appends condition "activity id == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addNameEquals

public WMFilter addNameEquals(WMSessionHandle sHandle,
                              java.lang.String arg)
                       throws java.lang.Exception
Appends condition "activity name == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addPriorityEquals

public WMFilter addPriorityEquals(WMSessionHandle sHandle,
                                  int arg)
                           throws java.lang.Exception
Appends condition "activity priority == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addDescriptionEquals

public WMFilter addDescriptionEquals(WMSessionHandle sHandle,
                                     java.lang.String arg)
                              throws java.lang.Exception
Appends condition "activity description == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addDescriptionContains

public WMFilter addDescriptionContains(WMSessionHandle sHandle,
                                       java.lang.String arg)
                                throws java.lang.Exception
Appends condition "activity description contains arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addActivatedTimeEquals

public WMFilter addActivatedTimeEquals(WMSessionHandle sHandle,
                                       long arg)
                                throws java.lang.Exception
Appends condition "activity activated time == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addActivatedTimeBefore

public WMFilter addActivatedTimeBefore(WMSessionHandle sHandle,
                                       long arg)
                                throws java.lang.Exception
Appends condition "activity activated time < arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addActivatedTimeAfter

public WMFilter addActivatedTimeAfter(WMSessionHandle sHandle,
                                      long arg)
                               throws java.lang.Exception
Appends condition "activity activated time > arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addLastStateTimeEquals

public WMFilter addLastStateTimeEquals(WMSessionHandle sHandle,
                                       long arg)
                                throws java.lang.Exception
Appends condition "activity last state time == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addLastStateTimeBefore

public WMFilter addLastStateTimeBefore(WMSessionHandle sHandle,
                                       long arg)
                                throws java.lang.Exception
Appends condition "activity last state time < arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addLastStateTimeAfter

public WMFilter addLastStateTimeAfter(WMSessionHandle sHandle,
                                      long arg)
                               throws java.lang.Exception
Appends condition "activity last state time > arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addAcceptedTimeEquals

public WMFilter addAcceptedTimeEquals(WMSessionHandle sHandle,
                                      long arg)
                               throws java.lang.Exception
Appends condition "activity accepted time == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addAcceptedTimeBefore

public WMFilter addAcceptedTimeBefore(WMSessionHandle sHandle,
                                      long arg)
                               throws java.lang.Exception
Appends condition "activity accepted time < arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addAcceptedTimeAfter

public WMFilter addAcceptedTimeAfter(WMSessionHandle sHandle,
                                     long arg)
                              throws java.lang.Exception
Appends condition "activity accepted time > arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addLimitTimeEquals

public WMFilter addLimitTimeEquals(WMSessionHandle sHandle,
                                   long arg)
                            throws java.lang.Exception
Throws:
java.lang.Exception

addLimitTimeBefore

public WMFilter addLimitTimeBefore(WMSessionHandle sHandle,
                                   long arg)
                            throws java.lang.Exception
Throws:
java.lang.Exception

addLimitTimeAfter

public WMFilter addLimitTimeAfter(WMSessionHandle sHandle,
                                  long arg)
                           throws java.lang.Exception
Throws:
java.lang.Exception

addVariableEquals

public WMFilter addVariableEquals(WMSessionHandle sHandle,
                                  java.lang.String vName,
                                  java.lang.Object vValue)
                           throws java.lang.Exception
Appends condition "activity variable vName == vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
itself
Throws:
java.lang.Exception - if class of the vValue isn't supported for compare

addVariableStringEquals

public WMFilter addVariableStringEquals(WMSessionHandle sHandle,
                                        java.lang.String vName,
                                        java.lang.String vValue)
                                 throws java.lang.Exception
Appends condition "activity variable vName == vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addVariableLongEquals

public WMFilter addVariableLongEquals(WMSessionHandle sHandle,
                                      java.lang.String vName,
                                      long vValue)
                               throws java.lang.Exception
Appends condition "activity variable vName == vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addVariableLongGreaterThan

public WMFilter addVariableLongGreaterThan(WMSessionHandle sHandle,
                                           java.lang.String vName,
                                           long vValue)
                                    throws java.lang.Exception
Appends condition "activity variable vName > vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addVariableLongLessThan

public WMFilter addVariableLongLessThan(WMSessionHandle sHandle,
                                        java.lang.String vName,
                                        long vValue)
                                 throws java.lang.Exception
Appends condition "activity variable vName < vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addVariableDoubleEquals

public WMFilter addVariableDoubleEquals(WMSessionHandle sHandle,
                                        java.lang.String vName,
                                        double vValue)
                                 throws java.lang.Exception
Appends condition "activity variable vName == vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addVariableDoubleGreaterThan

public WMFilter addVariableDoubleGreaterThan(WMSessionHandle sHandle,
                                             java.lang.String vName,
                                             double vValue)
                                      throws java.lang.Exception
Appends condition "activity variable vName > vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addVariableDoubleLessThan

public WMFilter addVariableDoubleLessThan(WMSessionHandle sHandle,
                                          java.lang.String vName,
                                          double vValue)
                                   throws java.lang.Exception
Appends condition "activity variable vName < vValue"

Parameters:
vName - name of the variable to compare
vValue - value to compare against
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addActivitySetDefId

public WMFilter addActivitySetDefId(WMSessionHandle sHandle,
                                    java.lang.String arg)
                             throws java.lang.Exception
Appends condition "activity set definition id == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addDefinitionId

public WMFilter addDefinitionId(WMSessionHandle sHandle,
                                java.lang.String arg)
                         throws java.lang.Exception
Appends condition "activity definition id == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addIsAccepted

public WMFilter addIsAccepted(WMSessionHandle sHandle)
                       throws java.lang.Exception
Appends condition "activity is accepted"

Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addResourceUsername

public WMFilter addResourceUsername(WMSessionHandle sHandle,
                                    java.lang.String arg)
                             throws java.lang.Exception
Appends condition "activity resource username == arg"

Parameters:
arg -
Returns:
ActivityIteratorExpressionBuilder instance to bind next method
Throws:
java.lang.Exception

addHasAssignmentForUser

public WMFilter addHasAssignmentForUser(WMSessionHandle sHandle,
                                        java.lang.String arg)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

setOrderById

public WMFilter setOrderById(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 activity id.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByActivitySetDefId

public WMFilter setOrderByActivitySetDefId(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 activity set definition id.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByDefinitionId

public WMFilter setOrderByDefinitionId(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 activity definition id.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByProcessId

public 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.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByResourceUsername

public WMFilter setOrderByResourceUsername(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 resource username.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByProcessDefName

public WMFilter setOrderByProcessDefName(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 manager name value.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByState

public WMFilter setOrderByState(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 activity state.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByPerformer

public WMFilter setOrderByPerformer(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 performer value.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByPriority

public WMFilter setOrderByPriority(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 priority value.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByName

public WMFilter setOrderByName(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 activity name value.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByActivatedTime

public WMFilter setOrderByActivatedTime(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 activity activated time value.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByAcceptedTime

public WMFilter setOrderByAcceptedTime(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 activity accepted time value.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception

setOrderByLastStateTime

public WMFilter setOrderByLastStateTime(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 last state time value.

Parameters:
ascending -
Returns:
itself
Throws:
java.lang.Exception