|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ResourceIteratorExpressionBuilder
All methods are returning the object itself to allow stacking method calls on the same object.
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 |
addAssignemtCountEquals(WMSessionHandle sHandle,
long cnt)
Appends condition "resources assignments count == value of cnt" |
WMFilter |
addAssignemtCountGreaterThan(WMSessionHandle sHandle,
long cnt)
Appends condition "resources assignments count > value of cnt" |
WMFilter |
addAssignemtCountLessThan(WMSessionHandle sHandle,
long cnt)
Appends condition "resources assignments count < value of cnt" |
WMFilter |
addUsernameEquals(WMSessionHandle sHandle,
java.lang.String un)
Appends condition "resources username == value of un" |
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 |
public WMFilter addUsernameEquals(WMSessionHandle sHandle, java.lang.String un) throws java.lang.Exception
un
-
java.lang.Exception
public WMFilter addAssignemtCountEquals(WMSessionHandle sHandle, long cnt) throws java.lang.Exception
cnt
-
java.lang.Exception
public WMFilter addAssignemtCountLessThan(WMSessionHandle sHandle, long cnt) throws java.lang.Exception
cnt
-
java.lang.Exception
public WMFilter addAssignemtCountGreaterThan(WMSessionHandle sHandle, long cnt) throws java.lang.Exception
cnt
-
java.lang.Exception
public WMFilter setOrderByUsername(WMSessionHandle sHandle, WMFilter filter, boolean ascending) throws java.lang.Exception
This method sets ordering by resource username name value.
ascending
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |