org.enhydra.shark.api.common
Interface ProcessMgrFilterBuilder

All Superinterfaces:
FilterBuilder

public interface ProcessMgrFilterBuilder
extends FilterBuilder

ProcessMgrIteratorExpressionBuilder

All methods are returning 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 addCreatedTimeAfter(WMSessionHandle sHandle, long arg)
          Appends condition "process manager created time > arg"
 WMFilter addCreatedTimeBefore(WMSessionHandle sHandle, long arg)
          Appends condition "process manager created time < arg"
 WMFilter addCreatedTimeEquals(WMSessionHandle sHandle, long arg)
          Appends condition "process manager created time == arg"
 WMFilter addIsEnabled(WMSessionHandle sHandle)
          Appends condition "process manager enabled"
 WMFilter addNameEquals(WMSessionHandle sHandle, java.lang.String exp)
          Appends condition "process manager name == value of exp"
 WMFilter addPackageIdEquals(WMSessionHandle sHandle, java.lang.String exp)
          Appends condition "package id == value of exp"
 WMFilter addProcessDefIdEquals(WMSessionHandle sHandle, java.lang.String exp)
          Appends condition "process definition id == value of exp"
 WMFilter addVersionEquals(WMSessionHandle sHandle, java.lang.String exp)
          Appends 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 setOrderByEnabled(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 setOrderByPackageId(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 setOrderByProcessDefId(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 setOrderByVersion(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 "package id == value of exp"

Parameters:
exp -
Returns:
itself
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:
itself
Throws:
java.lang.Exception

addNameEquals

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

Parameters:
exp -
Returns:
itself
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:
itself
Throws:
java.lang.Exception

addCreatedTimeEquals

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

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

addCreatedTimeBefore

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

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

addCreatedTimeAfter

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

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

addIsEnabled

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

Returns:
itself
Throws:
java.lang.Exception

setOrderByPackageId

public WMFilter setOrderByPackageId(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 packageId value.

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

setOrderByProcessDefId

public WMFilter setOrderByProcessDefId(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 processDefinitionId 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 process manager name value.

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

setOrderByVersion

public WMFilter setOrderByVersion(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 version value.

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

setOrderByCreatedTime

public 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 manager created time value.

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

setOrderByEnabled

public WMFilter setOrderByEnabled(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 enabled value.

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