|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HistoryTaskQuery
query for history tasks.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_ASSIGNEE
outcome property to be used as property in orderAsc(String) and orderDesc(String) |
static java.lang.String |
PROPERTY_CREATETIME
starttime property to be used as property in orderAsc(String) and orderDesc(String) |
static java.lang.String |
PROPERTY_DURATION
duration property to be used as property in orderAsc(String) and orderDesc(String) |
static java.lang.String |
PROPERTY_ENDTIME
endtime property to be used as property in orderAsc(String) and orderDesc(String) |
static java.lang.String |
PROPERTY_EXECUTIONID
executionId property to be used as property in orderAsc(String) and orderDesc(String) |
static java.lang.String |
PROPERTY_ID
id property to be used as property in orderAsc(String) and orderDesc(String) |
static java.lang.String |
PROPERTY_OUTCOME
outcome property to be used as property in orderAsc(String) and orderDesc(String) |
static java.lang.String |
PROPERTY_STATE
state property to be used as property in orderAsc(String) and orderDesc(String) |
Method Summary | |
---|---|
HistoryTaskQuery |
assignee(java.lang.String assignee)
only select history tasks for the given assignee |
long |
count()
execute a count(*) query and returns number of results |
HistoryTaskQuery |
executionId(java.lang.String executionId)
only select history tasks within the given execution |
java.util.List<HistoryTask> |
list()
execute the query and obtain the list of HistoryTask s |
HistoryTaskQuery |
orderAsc(java.lang.String property)
order selected history tasks ascending for certain properties |
HistoryTaskQuery |
orderDesc(java.lang.String property)
order selected process definitions descending for certain properties |
HistoryTaskQuery |
outcome(java.lang.String outcome)
only select history tasks that have the given outcome |
HistoryTaskQuery |
page(int firstResult,
int maxResults)
select a specific page in the result set |
HistoryTaskQuery |
startedAfter(java.util.Date time)
only select history tasks started after the given time |
HistoryTaskQuery |
startedBefore(java.util.Date time)
only select history tasks started before the given time |
HistoryTaskQuery |
state(java.lang.String state)
only select history tasks in the given state |
HistoryTaskQuery |
taskId(java.lang.String taskId)
only select the history task for the given id |
HistoryTaskQuery |
tookLessThen(long durationInMillis)
only select history tasks that took less then the given duration in milliseconds |
HistoryTaskQuery |
tookLongerThen(long durationInMillis)
only select history tasks that took longer then the given duration in milliseconds |
HistoryTask |
uniqueResult()
execute the query and obtain the unique HistoryTask |
Field Detail |
---|
static final java.lang.String PROPERTY_ID
orderAsc(String)
and orderDesc(String)
static final java.lang.String PROPERTY_CREATETIME
orderAsc(String)
and orderDesc(String)
static final java.lang.String PROPERTY_ENDTIME
orderAsc(String)
and orderDesc(String)
static final java.lang.String PROPERTY_EXECUTIONID
orderAsc(String)
and orderDesc(String)
static final java.lang.String PROPERTY_OUTCOME
orderAsc(String)
and orderDesc(String)
static final java.lang.String PROPERTY_ASSIGNEE
orderAsc(String)
and orderDesc(String)
static final java.lang.String PROPERTY_STATE
orderAsc(String)
and orderDesc(String)
static final java.lang.String PROPERTY_DURATION
orderAsc(String)
and orderDesc(String)
Method Detail |
---|
HistoryTaskQuery taskId(java.lang.String taskId)
HistoryTaskQuery executionId(java.lang.String executionId)
HistoryTaskQuery assignee(java.lang.String assignee)
HistoryTaskQuery state(java.lang.String state)
HistoryTaskQuery outcome(java.lang.String outcome)
HistoryTaskQuery orderAsc(java.lang.String property)
properties
HistoryTaskQuery orderDesc(java.lang.String property)
properties
HistoryTaskQuery page(int firstResult, int maxResults)
HistoryTaskQuery startedAfter(java.util.Date time)
HistoryTaskQuery startedBefore(java.util.Date time)
HistoryTaskQuery tookLessThen(long durationInMillis)
HistoryTaskQuery tookLongerThen(long durationInMillis)
java.util.List<HistoryTask> list()
HistoryTask
s
HistoryTask uniqueResult()
HistoryTask
long count()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |