接口 org.activiti.engine.runtime.JobQuery
的使用

使用 JobQuery 的软件包
org.activiti.engine Public API of the Activiti engine. 
org.activiti.engine.impl API implementation classes, which shouldn't directly be used by end-users. 
org.activiti.engine.runtime Classes related to the RuntimeService
 

org.activiti.engineJobQuery 的使用
 

返回 JobQueryorg.activiti.engine 中的方法
 JobQuery ManagementService.createJobQuery()
          Returns a new JobQuery implementation, that can be used to dynamically query the jobs.
 

org.activiti.engine.implJobQuery 的使用
 

实现 JobQueryorg.activiti.engine.impl 中的类
 class JobQueryImpl
           
 

返回 JobQueryorg.activiti.engine.impl 中的方法
 JobQuery ManagementServiceImpl.createJobQuery()
           
 JobQuery JobQueryImpl.duedateHigherThan(Date date)
           
 JobQuery JobQueryImpl.duedateHigherThen(Date date)
           
 JobQuery JobQueryImpl.duedateHigherThenOrEquals(Date date)
           
 JobQuery JobQueryImpl.duedateLowerThan(Date date)
           
 JobQuery JobQueryImpl.duedateLowerThen(Date date)
           
 JobQuery JobQueryImpl.duedateLowerThenOrEquals(Date date)
           
 JobQuery JobQueryImpl.exceptionMessage(String exceptionMessage)
           
 JobQuery JobQueryImpl.executable()
           
 JobQuery JobQueryImpl.jobId(String jobId)
           
 JobQuery JobQueryImpl.messages()
           
 JobQuery JobQueryImpl.orderByExecutionId()
           
 JobQuery JobQueryImpl.orderByJobDuedate()
           
 JobQuery JobQueryImpl.orderByJobId()
           
 JobQuery JobQueryImpl.orderByJobRetries()
           
 JobQuery JobQueryImpl.orderByProcessInstanceId()
           
 JobQuery JobQueryImpl.timers()
           
 JobQuery JobQueryImpl.withException()
           
 JobQuery JobQueryImpl.withRetriesLeft()
           
 

org.activiti.engine.runtimeJobQuery 的使用
 

返回 JobQueryorg.activiti.engine.runtime 中的方法
 JobQuery JobQuery.duedateHigherThan(Date date)
          Only select jobs where the duedate is higher then the given date.
 JobQuery JobQuery.duedateHigherThen(Date date)
          已过时。  
 JobQuery JobQuery.duedateHigherThenOrEquals(Date date)
          已过时。  
 JobQuery JobQuery.duedateLowerThan(Date date)
          Only select jobs where the duedate is lower than the given date.
 JobQuery JobQuery.duedateLowerThen(Date date)
          已过时。  
 JobQuery JobQuery.duedateLowerThenOrEquals(Date date)
          已过时。  
 JobQuery JobQuery.exceptionMessage(String exceptionMessage)
          Only select jobs that failed due to an exception with the given message.
 JobQuery JobQuery.executable()
          Only select jobs which are executable, ie. retries > 0 and duedate is null or duedate is in the past
 JobQuery JobQuery.executionId(String executionId)
          Only select jobs which exist for the given execution
 JobQuery JobQuery.jobId(String jobId)
          Only select jobs with the given id
 JobQuery JobQuery.messages()
          Only select jobs that are messages.
 JobQuery JobQuery.orderByExecutionId()
          Order by execution id (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByJobDuedate()
          Order by duedate (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByJobId()
          Order by job id (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByJobRetries()
          Order by retries (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.orderByProcessInstanceId()
          Order by process instance id (needs to be followed by Query.asc() or Query.desc()).
 JobQuery JobQuery.processDefinitionId(String processDefinitionid)
          Only select jobs which exist for the given process definition id
 JobQuery JobQuery.processInstanceId(String processInstanceId)
          Only select jobs which exist for the given process instance.
 JobQuery JobQuery.timers()
          Only select jobs that are timers.
 JobQuery JobQuery.withException()
          Only select jobs that failed due to an exception.
 JobQuery JobQuery.withRetriesLeft()
          Only select jobs which have retries left
 



Copyright © 2013 Alfresco. All rights reserved.