|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.db.ListQueryParameterObject
org.activiti.engine.impl.AbstractQuery<JobQuery,Job>
org.activiti.engine.impl.JobQueryImpl
public class JobQueryImpl
字段摘要 | |
---|---|
protected Date |
duedateHigherThan
|
protected Date |
duedateHigherThanOrEqual
|
protected Date |
duedateLowerThan
|
protected Date |
duedateLowerThanOrEqual
|
protected String |
exceptionMessage
|
protected boolean |
executable
|
protected String |
executionId
|
protected String |
id
|
protected boolean |
onlyMessages
|
protected boolean |
onlyTimers
|
protected String |
processDefinitionId
|
protected String |
processInstanceId
|
protected boolean |
retriesLeft
|
protected boolean |
withException
|
从类 org.activiti.engine.impl.AbstractQuery 继承的字段 |
---|
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC |
从类 org.activiti.engine.impl.db.ListQueryParameterObject 继承的字段 |
---|
databaseType, firstResult, maxResults, parameter |
构造方法摘要 | |
---|---|
JobQueryImpl()
|
|
JobQueryImpl(CommandContext commandContext)
|
|
JobQueryImpl(CommandExecutor commandExecutor)
|
方法摘要 | |
---|---|
JobQuery |
duedateHigherThan(Date date)
Only select jobs where the duedate is higher then the given date. |
JobQuery |
duedateHigherThen(Date date)
Only select jobs where the duedate is higher then the given date. |
JobQuery |
duedateHigherThenOrEquals(Date date)
Only select jobs where the duedate is higher then or equals the given date. |
JobQuery |
duedateLowerThan(Date date)
Only select jobs where the duedate is lower than the given date. |
JobQuery |
duedateLowerThen(Date date)
Only select jobs where the duedate is lower then the given date. |
JobQuery |
duedateLowerThenOrEquals(Date date)
Only select jobs where the duedate is lower then or equals the given date. |
JobQuery |
exceptionMessage(String exceptionMessage)
Only select jobs that failed due to an exception with the given message. |
JobQuery |
executable()
Only select jobs which are executable, ie. retries > 0 and duedate is null or duedate is in the past |
long |
executeCount(CommandContext commandContext)
|
List<Job> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
JobQueryImpl |
executionId(String executionId)
Only select jobs which exist for the given execution |
String |
getExceptionMessage()
|
boolean |
getExecutable()
|
String |
getExecutionId()
|
Date |
getNow()
|
String |
getProcessInstanceId()
|
boolean |
getRetriesLeft()
|
boolean |
isWithException()
|
JobQuery |
jobId(String jobId)
Only select jobs with the given id |
JobQuery |
messages()
Only select jobs that are messages. |
JobQuery |
orderByExecutionId()
Order by execution id (needs to be followed by Query.asc() or Query.desc() ). |
JobQuery |
orderByJobDuedate()
Order by duedate (needs to be followed by Query.asc() or Query.desc() ). |
JobQuery |
orderByJobId()
Order by job id (needs to be followed by Query.asc() or Query.desc() ). |
JobQuery |
orderByJobRetries()
Order by retries (needs to be followed by Query.asc() or Query.desc() ). |
JobQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by Query.asc() or Query.desc() ). |
JobQueryImpl |
processDefinitionId(String processDefinitionId)
Only select jobs which exist for the given process definition id |
JobQueryImpl |
processInstanceId(String processInstanceId)
Only select jobs which exist for the given process instance. |
JobQuery |
timers()
Only select jobs that are timers. |
JobQuery |
withException()
Only select jobs that failed due to an exception. |
JobQuery |
withRetriesLeft()
Only select jobs which have retries left |
从类 org.activiti.engine.impl.AbstractQuery 继承的方法 |
---|
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult |
从类 org.activiti.engine.impl.db.ListQueryParameterObject 继承的方法 |
---|
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setParameter |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
从接口 org.activiti.engine.query.Query 继承的方法 |
---|
asc, count, desc, list, listPage, singleResult |
字段详细信息 |
---|
protected String id
protected String processInstanceId
protected String executionId
protected String processDefinitionId
protected boolean retriesLeft
protected boolean executable
protected boolean onlyTimers
protected boolean onlyMessages
protected Date duedateHigherThan
protected Date duedateLowerThan
protected Date duedateHigherThanOrEqual
protected Date duedateLowerThanOrEqual
protected boolean withException
protected String exceptionMessage
构造方法详细信息 |
---|
public JobQueryImpl()
public JobQueryImpl(CommandContext commandContext)
public JobQueryImpl(CommandExecutor commandExecutor)
方法详细信息 |
---|
public JobQuery jobId(String jobId)
JobQuery
复制的描述
JobQuery
中的 jobId
public JobQueryImpl processInstanceId(String processInstanceId)
JobQuery
复制的描述
JobQuery
中的 processInstanceId
public JobQueryImpl processDefinitionId(String processDefinitionId)
JobQuery
复制的描述
JobQuery
中的 processDefinitionId
public JobQueryImpl executionId(String executionId)
JobQuery
复制的描述
JobQuery
中的 executionId
public JobQuery withRetriesLeft()
JobQuery
复制的描述
JobQuery
中的 withRetriesLeft
public JobQuery executable()
JobQuery
复制的描述
JobQuery
中的 executable
public JobQuery timers()
JobQuery
复制的描述JobQuery.messages()
JobQuery
中的 timers
public JobQuery messages()
JobQuery
复制的描述JobQuery.timers()
JobQuery
中的 messages
public JobQuery duedateHigherThan(Date date)
JobQuery
复制的描述
JobQuery
中的 duedateHigherThan
public JobQuery duedateLowerThan(Date date)
JobQuery
复制的描述
JobQuery
中的 duedateLowerThan
public JobQuery duedateHigherThen(Date date)
JobQuery
复制的描述
JobQuery
中的 duedateHigherThen
public JobQuery duedateHigherThenOrEquals(Date date)
JobQuery
复制的描述
JobQuery
中的 duedateHigherThenOrEquals
public JobQuery duedateLowerThen(Date date)
JobQuery
复制的描述
JobQuery
中的 duedateLowerThen
public JobQuery duedateLowerThenOrEquals(Date date)
JobQuery
复制的描述
JobQuery
中的 duedateLowerThenOrEquals
public JobQuery withException()
JobQuery
复制的描述
JobQuery
中的 withException
public JobQuery exceptionMessage(String exceptionMessage)
JobQuery
复制的描述
JobQuery
中的 exceptionMessage
public JobQuery orderByJobDuedate()
JobQuery
复制的描述Query.asc()
or Query.desc()
).
JobQuery
中的 orderByJobDuedate
public JobQuery orderByExecutionId()
JobQuery
复制的描述Query.asc()
or Query.desc()
).
JobQuery
中的 orderByExecutionId
public JobQuery orderByJobId()
JobQuery
复制的描述Query.asc()
or Query.desc()
).
JobQuery
中的 orderByJobId
public JobQuery orderByProcessInstanceId()
JobQuery
复制的描述Query.asc()
or Query.desc()
).
JobQuery
中的 orderByProcessInstanceId
public JobQuery orderByJobRetries()
JobQuery
复制的描述Query.asc()
or Query.desc()
).
JobQuery
中的 orderByJobRetries
public long executeCount(CommandContext commandContext)
AbstractQuery<JobQuery,Job>
中的 executeCount
public List<Job> executeList(CommandContext commandContext, Page page)
AbstractQuery
复制的描述
AbstractQuery<JobQuery,Job>
中的 executeList
page
- used if the results must be paged. If null, no paging will be applied.public String getProcessInstanceId()
public String getExecutionId()
public boolean getRetriesLeft()
public boolean getExecutable()
public Date getNow()
public boolean isWithException()
public String getExceptionMessage()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |