org.enhydra.shark.api.common
Interface ProcessMgrFilterBuilder

All Superinterfaces:
FilterBuilder

public interface ProcessMgrFilterBuilder
extends FilterBuilder

All methods are returning 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 addCreatedTimeAfter(WMSessionHandle sHandle, long arg)
          Sets condition "process manager created time > arg"
 WMFilter addCreatedTimeBefore(WMSessionHandle sHandle, long arg)
          Sets condition "process manager created time < arg"
 WMFilter addCreatedTimeEquals(WMSessionHandle sHandle, long arg)
          Sets condition "process manager created time == arg"
 WMFilter addIsEnabled(WMSessionHandle sHandle)
          Sets condition "process manager enabled"
 WMFilter addNameEquals(WMSessionHandle sHandle, java.lang.String exp)
          Sets condition "process manager name == value of exp"
 WMFilter addPackageIdEquals(WMSessionHandle sHandle, java.lang.String exp)
          Sets condition "package id == value of exp"
 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 value of exp"
 WMFilter addProcessDefNameEquals(WMSessionHandle sHandle, java.lang.String exp)
          Sets condition "process definition name == value of exp"
 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 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 setOrderByProcessDefName(WMSessionHandle sHandle, WMFilter filter, boolean ascending)
          Sets order by process definition name"
 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

WMFilter addPackageIdEquals(WMSessionHandle sHandle,
                            java.lang.String exp)
                            throws java.lang.Exception
Sets condition "package 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

addProcessDefNameEquals

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

Throws:
java.lang.Exception

addProcessDefNameContains

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

Throws:
java.lang.Exception

setOrderByProcessDefName

WMFilter setOrderByProcessDefName(WMSessionHandle sHandle,
                                  WMFilter filter,
                                  boolean ascending)
                                  throws java.lang.Exception
Sets order by process definition name"

Throws:
java.lang.Exception

addNameEquals

WMFilter addNameEquals(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

addCreatedTimeEquals

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

Throws:
java.lang.Exception

addCreatedTimeBefore

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

Throws:
java.lang.Exception

addCreatedTimeAfter

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

Throws:
java.lang.Exception

addIsEnabled

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

Throws:
java.lang.Exception

setOrderByPackageId

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.

Throws:
java.lang.Exception

setOrderByProcessDefId

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.

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

Throws:
java.lang.Exception

setOrderByVersion

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.

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

Throws:
java.lang.Exception

setOrderByEnabled

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.

Throws:
java.lang.Exception