org.enhydra.shark.api.common
Interface ProcessFilterBuilder

All Superinterfaces:
FilterBuilder

public interface ProcessFilterBuilder
extends FilterBuilder

All methods are returning the WMFilter 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 addActiveActivitiesCountEquals(WMSessionHandle sHandle, long arg)
          Sets condition "process active activities count == arg"
 WMFilter addActiveActivitiesCountGreaterThan(WMSessionHandle sHandle, long arg)
          Sets condition "process active activities count > arg"
 WMFilter addActiveActivitiesCountLessThan(WMSessionHandle sHandle, long arg)
          Sets condition "process active activities count < arg"
 WMFilter addCreatedTimeAfter(WMSessionHandle sHandle, long arg)
          Sets condition "process created time > arg"
 WMFilter addCreatedTimeBefore(WMSessionHandle sHandle, long arg)
          Sets condition "process created time < arg"
 WMFilter addCreatedTimeEquals(WMSessionHandle sHandle, long arg)
          Sets condition "process created time == arg"
 WMFilter addDescriptionContains(WMSessionHandle sHandle, java.lang.String arg)
          Sets condition "process description contains arg"
 WMFilter addDescriptionEquals(WMSessionHandle sHandle, java.lang.String arg)
          Sets condition "process description == arg"
 WMFilter addFinishTimeAfter(WMSessionHandle sHandle, long arg)
          Sets condition "process finish time > arg"
 WMFilter addFinishTimeBefore(WMSessionHandle sHandle, long arg)
          Sets condition "process finish time < arg"
 WMFilter addFinishTimeEquals(WMSessionHandle sHandle, long arg)
          Sets condition "process finish time == arg"
 WMFilter addIdEquals(WMSessionHandle sHandle, java.lang.String arg)
          Sets condition "process id == arg"
 WMFilter addIsMgrEnabled(WMSessionHandle sHandle)
          Sets condition "process manager enabled"
 WMFilter addLastStateTimeAfter(WMSessionHandle sHandle, long arg)
          Sets condition "process last state time > arg"
 WMFilter addLastStateTimeBefore(WMSessionHandle sHandle, long arg)
          Sets condition "process last state time < arg"
 WMFilter addLastStateTimeEquals(WMSessionHandle sHandle, long arg)
          Sets condition "process 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)
          Sets condition "process manager name == value of exp"
 WMFilter addNameContains(WMSessionHandle sHandle, java.lang.String arg)
          Sets condition "process description contains arg"
 WMFilter addNameEquals(WMSessionHandle sHandle, java.lang.String arg)
          Sets condition "process name == arg"
 WMFilter addPackageIdEquals(WMSessionHandle sHandle, java.lang.String exp)
          Sets condition "process definition id == value of exp"
 WMFilter addPriorityEquals(WMSessionHandle sHandle, int arg)
          Sets condition "process priority == arg"
 WMFilter addPriorityGreaterThan(WMSessionHandle sHandle, int arg)
          Sets condition "process priority > arg"
 WMFilter addPriorityLessThan(WMSessionHandle sHandle, int arg)
          Sets condition "process priority < arg"
 WMFilter addProcessDefIdEquals(WMSessionHandle sHandle, java.lang.String exp)
          Sets condition "process definition id == value of exp"
 WMFilter addProcessDefNameContains(WMSessionHandle sHandle, java.lang.String exp)
          Sets condition "process definition name contains exp"
 WMFilter addProcessDefNameEquals(WMSessionHandle sHandle, java.lang.String exp)
          Sets condition "process definition name == exp"
 WMFilter addRequesterIdEquals(WMSessionHandle sHandle, java.lang.String arg)
          Sets condition "process requester id == arg"
 WMFilter addRequesterUsernameEquals(WMSessionHandle sHandle, java.lang.String arg)
          Sets condition "process requester username == arg"
 WMFilter addStartTimeAfter(WMSessionHandle sHandle, long arg)
          Sets condition "process start time > arg"
 WMFilter addStartTimeBefore(WMSessionHandle sHandle, long arg)
          Sets condition "process start time < arg"
 WMFilter addStartTimeEquals(WMSessionHandle sHandle, long arg)
          Sets condition "process start time == arg"
 WMFilter addStateEquals(WMSessionHandle sHandle, java.lang.String arg)
          Sets condition "process state == arg"
 WMFilter addStateStartsWith(WMSessionHandle sHandle, java.lang.String arg)
          Sets condition "process state starts with arg"
 WMFilter addVariableDoubleEquals(WMSessionHandle sHandle, java.lang.String vName, double vValue)
          Sets condition "process variable vName == vValue"
 WMFilter addVariableDoubleGreaterThan(WMSessionHandle sHandle, java.lang.String vName, double vValue)
          Sets condition "process variable vName > vValue"
 WMFilter addVariableDoubleLessThan(WMSessionHandle sHandle, java.lang.String vName, double vValue)
          Sets condition "process variable vName < vValue"
 WMFilter addVariableEquals(WMSessionHandle sHandle, java.lang.String vName, java.lang.Object vValue)
          Sets condition "process variable vName == vValue"
 WMFilter addVariableLongEquals(WMSessionHandle sHandle, java.lang.String vName, long vValue)
          Sets condition "process variable vName == vValue"
 WMFilter addVariableLongGreaterThan(WMSessionHandle sHandle, java.lang.String vName, long vValue)
          Sets condition "process variable vName > vValue"
 WMFilter addVariableLongLessThan(WMSessionHandle sHandle, java.lang.String vName, long vValue)
          Sets condition "process variable vName < vValue"
 WMFilter addVariableStringEquals(WMSessionHandle sHandle, java.lang.String vName, java.lang.String vValue)
          Sets condition "process variable vName == vValue"
 WMFilter addVersionEquals(WMSessionHandle sHandle, java.lang.String exp)
          Sets condition "process manager version == value of exp"
 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 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 setOrderByMgrName(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 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 setOrderByResourceRequesterId(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 setOrderByStartTime(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

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

Throws:
java.lang.Exception

addProcessDefIdEquals

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

Throws:
java.lang.Exception

addMgrNameEquals

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

Throws:
java.lang.Exception

addVersionEquals

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

Throws:
java.lang.Exception

addIsMgrEnabled

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

Throws:
java.lang.Exception

addStateEquals

WMFilter addStateEquals(WMSessionHandle sHandle,
                        java.lang.String arg)
                        throws java.lang.Exception
Sets condition "process state == arg"

Throws:
java.lang.Exception

addStateStartsWith

WMFilter addStateStartsWith(WMSessionHandle sHandle,
                            java.lang.String arg)
                            throws java.lang.Exception
Sets condition "process state starts with arg"

Throws:
java.lang.Exception

addIdEquals

WMFilter addIdEquals(WMSessionHandle sHandle,
                     java.lang.String arg)
                     throws java.lang.Exception
Sets condition "process id == arg"

Throws:
java.lang.Exception

addNameEquals

WMFilter addNameEquals(WMSessionHandle sHandle,
                       java.lang.String arg)
                       throws java.lang.Exception
Sets condition "process name == arg"

Throws:
java.lang.Exception

addNameContains

WMFilter addNameContains(WMSessionHandle sHandle,
                         java.lang.String arg)
                         throws java.lang.Exception
Sets condition "process description contains arg"

Throws:
java.lang.Exception

addPriorityEquals

WMFilter addPriorityEquals(WMSessionHandle sHandle,
                           int arg)
                           throws java.lang.Exception
Sets condition "process priority == arg"

Throws:
java.lang.Exception

addPriorityLessThan

WMFilter addPriorityLessThan(WMSessionHandle sHandle,
                             int arg)
                             throws java.lang.Exception
Sets condition "process priority < arg"

Throws:
java.lang.Exception

addPriorityGreaterThan

WMFilter addPriorityGreaterThan(WMSessionHandle sHandle,
                                int arg)
                                throws java.lang.Exception
Sets condition "process priority > arg"

Throws:
java.lang.Exception

addDescriptionEquals

WMFilter addDescriptionEquals(WMSessionHandle sHandle,
                              java.lang.String arg)
                              throws java.lang.Exception
Sets condition "process description == arg"

Throws:
java.lang.Exception

addDescriptionContains

WMFilter addDescriptionContains(WMSessionHandle sHandle,
                                java.lang.String arg)
                                throws java.lang.Exception
Sets condition "process description contains arg"

Throws:
java.lang.Exception

addRequesterIdEquals

WMFilter addRequesterIdEquals(WMSessionHandle sHandle,
                              java.lang.String arg)
                              throws java.lang.Exception
Sets condition "process requester id == arg"

Throws:
java.lang.Exception

addRequesterUsernameEquals

WMFilter addRequesterUsernameEquals(WMSessionHandle sHandle,
                                    java.lang.String arg)
                                    throws java.lang.Exception
Sets condition "process requester username == arg"

Throws:
java.lang.Exception

addCreatedTimeEquals

WMFilter addCreatedTimeEquals(WMSessionHandle sHandle,
                              long arg)
                              throws java.lang.Exception
Sets condition "process created time == arg"

Throws:
java.lang.Exception

addCreatedTimeBefore

WMFilter addCreatedTimeBefore(WMSessionHandle sHandle,
                              long arg)
                              throws java.lang.Exception
Sets condition "process created time < arg"

Throws:
java.lang.Exception

addCreatedTimeAfter

WMFilter addCreatedTimeAfter(WMSessionHandle sHandle,
                             long arg)
                             throws java.lang.Exception
Sets condition "process created time > arg"

Throws:
java.lang.Exception

addStartTimeEquals

WMFilter addStartTimeEquals(WMSessionHandle sHandle,
                            long arg)
                            throws java.lang.Exception
Sets condition "process start time == arg"

Throws:
java.lang.Exception

addStartTimeBefore

WMFilter addStartTimeBefore(WMSessionHandle sHandle,
                            long arg)
                            throws java.lang.Exception
Sets condition "process start time < arg"

Throws:
java.lang.Exception

addStartTimeAfter

WMFilter addStartTimeAfter(WMSessionHandle sHandle,
                           long arg)
                           throws java.lang.Exception
Sets condition "process start time > arg"

Throws:
java.lang.Exception

addLastStateTimeEquals

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

Throws:
java.lang.Exception

addLastStateTimeBefore

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

Throws:
java.lang.Exception

addLastStateTimeAfter

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

Throws:
java.lang.Exception

addFinishTimeEquals

WMFilter addFinishTimeEquals(WMSessionHandle sHandle,
                             long arg)
                             throws java.lang.Exception
Sets condition "process finish time == arg"

Throws:
java.lang.Exception

addFinishTimeBefore

WMFilter addFinishTimeBefore(WMSessionHandle sHandle,
                             long arg)
                             throws java.lang.Exception
Sets condition "process finish time < arg"

Throws:
java.lang.Exception

addFinishTimeAfter

WMFilter addFinishTimeAfter(WMSessionHandle sHandle,
                            long arg)
                            throws java.lang.Exception
Sets condition "process finish time > arg"

Throws:
java.lang.Exception

addLimitTimeEquals

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

addLimitTimeBefore

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

addLimitTimeAfter

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

addActiveActivitiesCountEquals

WMFilter addActiveActivitiesCountEquals(WMSessionHandle sHandle,
                                        long arg)
                                        throws java.lang.Exception
Sets condition "process active activities count == arg"

Throws:
java.lang.Exception

addActiveActivitiesCountGreaterThan

WMFilter addActiveActivitiesCountGreaterThan(WMSessionHandle sHandle,
                                             long arg)
                                             throws java.lang.Exception
Sets condition "process active activities count > arg"

Throws:
java.lang.Exception

addActiveActivitiesCountLessThan

WMFilter addActiveActivitiesCountLessThan(WMSessionHandle sHandle,
                                          long arg)
                                          throws java.lang.Exception
Sets condition "process active activities count < arg"

Throws:
java.lang.Exception

addVariableEquals

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

Throws:
java.lang.Exception

addVariableStringEquals

WMFilter addVariableStringEquals(WMSessionHandle sHandle,
                                 java.lang.String vName,
                                 java.lang.String vValue)
                                 throws java.lang.Exception
Sets condition "process variable vName == vValue"

Throws:
java.lang.Exception

addVariableLongEquals

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

Throws:
java.lang.Exception

addVariableLongGreaterThan

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

Throws:
java.lang.Exception

addVariableLongLessThan

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

Throws:
java.lang.Exception

addVariableDoubleEquals

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

Throws:
java.lang.Exception

addVariableDoubleGreaterThan

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

Throws:
java.lang.Exception

addVariableDoubleLessThan

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

Throws:
java.lang.Exception

setOrderByMgrName

WMFilter setOrderByMgrName(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.

Throws:
java.lang.Exception

setOrderById

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 process id value.

Throws:
java.lang.Exception

setOrderByName

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 process name value.

Throws:
java.lang.Exception

setOrderByState

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 process state value.

Throws:
java.lang.Exception

setOrderByPriority

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 process priority 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 process created time value.

Throws:
java.lang.Exception

setOrderByStartTime

WMFilter setOrderByStartTime(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 start time value.

Throws:
java.lang.Exception

setOrderByLastStateTime

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 process last state time value.

Throws:
java.lang.Exception

setOrderByResourceRequesterId

WMFilter setOrderByResourceRequesterId(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 resource requester id value.

Throws:
java.lang.Exception

addProcessDefNameEquals

WMFilter addProcessDefNameEquals(WMSessionHandle sHandle,
                                 java.lang.String exp)
                                 throws java.lang.Exception
Sets condition "process definition name == exp"

Throws:
java.lang.Exception

addProcessDefNameContains

WMFilter addProcessDefNameContains(WMSessionHandle sHandle,
                                   java.lang.String exp)
                                   throws java.lang.Exception
Sets condition "process definition name contains exp"

Throws:
java.lang.Exception