org.activiti.engine.impl
类 HistoricProcessInstanceQueryImpl

java.lang.Object
  继承者 org.activiti.engine.impl.db.ListQueryParameterObject
      继承者 org.activiti.engine.impl.AbstractQuery<T,U>
          继承者 org.activiti.engine.impl.AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
              继承者 org.activiti.engine.impl.HistoricProcessInstanceQueryImpl
所有已实现的接口:
Serializable, HistoricProcessInstanceQuery, Command<Object>, Query<HistoricProcessInstanceQuery,HistoricProcessInstance>

public class HistoricProcessInstanceQueryImpl
extends AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance>
implements HistoricProcessInstanceQuery

作者:
Tom Baeyens, Falko Menge, Bernd Ruecker
另请参见:
序列化表格

字段摘要
protected  String businessKey
           
protected  boolean excludeSubprocesses
           
protected  Date finishDateBy
           
protected  Date finishDateOn
           
protected  Date finishDateOnBegin
           
protected  Date finishDateOnEnd
           
protected  boolean finished
           
protected  Date finishedAfter
           
protected  Date finishedBefore
           
protected  boolean includeProcessVariables
           
protected  String involvedUser
           
protected  String processDefinitionId
           
protected  String processDefinitionKey
           
protected  String processInstanceId
           
protected  Set<String> processInstanceIds
           
protected  List<String> processKeyNotIn
           
protected  Date startDateBy
           
protected  Date startDateOn
           
protected  Date startDateOnBegin
           
protected  Date startDateOnEnd
           
protected  Date startedAfter
           
protected  Date startedBefore
           
protected  String startedBy
           
protected  String superProcessInstanceId
           
protected  boolean unfinished
           
 
从类 org.activiti.engine.impl.AbstractVariableQueryImpl 继承的字段
queryVariableValues
 
从类 org.activiti.engine.impl.AbstractQuery 继承的字段
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC
 
从类 org.activiti.engine.impl.db.ListQueryParameterObject 继承的字段
databaseType, firstResult, maxResults, parameter
 
构造方法摘要
HistoricProcessInstanceQueryImpl()
           
HistoricProcessInstanceQueryImpl(CommandContext commandContext)
           
HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor)
           
 
方法摘要
 HistoricProcessInstanceQuery excludeSubprocesses(boolean excludeSubprocesses)
          Exclude sub processes from the query result;
 long executeCount(CommandContext commandContext)
           
 List<HistoricProcessInstance> executeList(CommandContext commandContext, Page page)
          Executes the actual query to retrieve the list of results.
 HistoricProcessInstanceQuery finishDateBy(Date date)
          已过时。 
 HistoricProcessInstanceQuery finishDateOn(Date date)
          已过时。 
 HistoricProcessInstanceQuery finished()
          Only select historic process instances that are completely finished.
 HistoricProcessInstanceQuery finishedAfter(Date date)
          Only select historic process instances that were started after the given date.
 HistoricProcessInstanceQuery finishedBefore(Date date)
          Only select historic process instances that were started before the given date.
 String getBusinessKey()
           
 Date getFinishedAfter()
           
 Date getFinishedBefore()
           
 String getInvolvedUser()
           
 String getMssqlOrDB2OrderBy()
           
 String getProcessDefinitionId()
           
 String getProcessDefinitionIdLike()
           
 String getProcessDefinitionKey()
           
 String getProcessInstanceId()
           
 Set<String> getProcessInstanceIds()
           
 List<String> getProcessKeyNotIn()
           
 Date getStartedAfter()
           
 Date getStartedBefore()
           
 String getStartedBy()
           
 String getSuperProcessInstanceId()
           
 HistoricProcessInstanceQuery includeProcessVariables()
          Include process variables in the process query result
 HistoricProcessInstanceQuery involvedUser(String userId)
          Only select the historic process instances with which the user with the given id is involved.
 boolean isExcludeSubprocesses()
           
 boolean isOpen()
           
 HistoricProcessInstanceQuery orderByProcessDefinitionId()
          Order by the process definition id (needs to be followed by Query.asc() or Query.desc()).
 HistoricProcessInstanceQuery orderByProcessInstanceBusinessKey()
          Order by the business key (needs to be followed by Query.asc() or Query.desc()).
 HistoricProcessInstanceQuery orderByProcessInstanceDuration()
          Order by the duration of the process instance (needs to be followed by Query.asc() or Query.desc()).
 HistoricProcessInstanceQuery orderByProcessInstanceEndTime()
          Order by the end time (needs to be followed by Query.asc() or Query.desc()).
 HistoricProcessInstanceQuery orderByProcessInstanceId()
          Order by the process instance id (needs to be followed by Query.asc() or Query.desc()).
 HistoricProcessInstanceQuery orderByProcessInstanceStartTime()
          Order by the start time (needs to be followed by Query.asc() or Query.desc()).
 HistoricProcessInstanceQueryImpl processDefinitionId(String processDefinitionId)
          Only select historic process instances for the given process definition
 HistoricProcessInstanceQuery processDefinitionKey(String processDefinitionKey)
          Only select historic process instances that are defined by a process definition with the given key.
 HistoricProcessInstanceQuery processDefinitionKeyNotIn(List<String> processDefinitionKeys)
          Only select historic process instances that don't have a process-definition of which the key is present in the given list
 HistoricProcessInstanceQuery processInstanceBusinessKey(String businessKey)
          Only select historic process instances with the given business key
 HistoricProcessInstanceQueryImpl processInstanceId(String processInstanceId)
          Only select historic process instances with the given process instance.
 HistoricProcessInstanceQuery processInstanceIds(Set<String> processInstanceIds)
          Only select historic process instances whose id is in the given set of ids.
 HistoricProcessInstanceQuery startDateBy(Date date)
          已过时。 
 HistoricProcessInstanceQuery startDateOn(Date date)
          已过时。 
 HistoricProcessInstanceQuery startedAfter(Date date)
          Only select historic process instances that were started after the given date.
 HistoricProcessInstanceQuery startedBefore(Date date)
          Only select historic process instances that were started before the given date.
 HistoricProcessInstanceQuery startedBy(String userId)
          Only select historic process instance that are started by the given user.
 HistoricProcessInstanceQuery superProcessInstanceId(String superProcessInstanceId)
          Only select historic process instances started by the given process instance.
 HistoricProcessInstanceQuery unfinished()
          Only select historic process instance that are not yet finished.
 
从类 org.activiti.engine.impl.AbstractVariableQueryImpl 继承的方法
ensureVariablesInitialized, getQueryVariableValues, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThan, variableValueLessThanOrEqual, variableValueLessThanOrEqual, variableValueLike, variableValueLike, variableValueNotEquals, variableValueNotEquals, variableValueNotEqualsIgnoreCase, variableValueNotEqualsIgnoreCase
 
从类 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.history.HistoricProcessInstanceQuery 继承的方法
variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThanOrEqual, variableValueLike, variableValueNotEquals
 
从接口 org.activiti.engine.query.Query 继承的方法
asc, count, desc, list, listPage, singleResult
 

字段详细信息

processInstanceId

protected String processInstanceId

processDefinitionId

protected String processDefinitionId

businessKey

protected String businessKey

finished

protected boolean finished

unfinished

protected boolean unfinished

startedBy

protected String startedBy

superProcessInstanceId

protected String superProcessInstanceId

excludeSubprocesses

protected boolean excludeSubprocesses

processKeyNotIn

protected List<String> processKeyNotIn

startedBefore

protected Date startedBefore

startedAfter

protected Date startedAfter

finishedBefore

protected Date finishedBefore

finishedAfter

protected Date finishedAfter

processDefinitionKey

protected String processDefinitionKey

processInstanceIds

protected Set<String> processInstanceIds

involvedUser

protected String involvedUser

includeProcessVariables

protected boolean includeProcessVariables

startDateBy

protected Date startDateBy

startDateOn

protected Date startDateOn

finishDateBy

protected Date finishDateBy

finishDateOn

protected Date finishDateOn

startDateOnBegin

protected Date startDateOnBegin

startDateOnEnd

protected Date startDateOnEnd

finishDateOnBegin

protected Date finishDateOnBegin

finishDateOnEnd

protected Date finishDateOnEnd
构造方法详细信息

HistoricProcessInstanceQueryImpl

public HistoricProcessInstanceQueryImpl()

HistoricProcessInstanceQueryImpl

public HistoricProcessInstanceQueryImpl(CommandContext commandContext)

HistoricProcessInstanceQueryImpl

public HistoricProcessInstanceQueryImpl(CommandExecutor commandExecutor)
方法详细信息

processInstanceId

public HistoricProcessInstanceQueryImpl processInstanceId(String processInstanceId)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances with the given process instance. ProcessInstance) ids and {@link HistoricProcessInstance} ids match.

指定者:
接口 HistoricProcessInstanceQuery 中的 processInstanceId

processInstanceIds

public HistoricProcessInstanceQuery processInstanceIds(Set<String> processInstanceIds)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances whose id is in the given set of ids. ProcessInstance) ids and {@link HistoricProcessInstance} ids match.

指定者:
接口 HistoricProcessInstanceQuery 中的 processInstanceIds

processDefinitionId

public HistoricProcessInstanceQueryImpl processDefinitionId(String processDefinitionId)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances for the given process definition

指定者:
接口 HistoricProcessInstanceQuery 中的 processDefinitionId

processDefinitionKey

public HistoricProcessInstanceQuery processDefinitionKey(String processDefinitionKey)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that are defined by a process definition with the given key.

指定者:
接口 HistoricProcessInstanceQuery 中的 processDefinitionKey

processInstanceBusinessKey

public HistoricProcessInstanceQuery processInstanceBusinessKey(String businessKey)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances with the given business key

指定者:
接口 HistoricProcessInstanceQuery 中的 processInstanceBusinessKey

finished

public HistoricProcessInstanceQuery finished()
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that are completely finished.

指定者:
接口 HistoricProcessInstanceQuery 中的 finished

unfinished

public HistoricProcessInstanceQuery unfinished()
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instance that are not yet finished.

指定者:
接口 HistoricProcessInstanceQuery 中的 unfinished

startedBy

public HistoricProcessInstanceQuery startedBy(String userId)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instance that are started by the given user.

指定者:
接口 HistoricProcessInstanceQuery 中的 startedBy

processDefinitionKeyNotIn

public HistoricProcessInstanceQuery processDefinitionKeyNotIn(List<String> processDefinitionKeys)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that don't have a process-definition of which the key is present in the given list

指定者:
接口 HistoricProcessInstanceQuery 中的 processDefinitionKeyNotIn

startedAfter

public HistoricProcessInstanceQuery startedAfter(Date date)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that were started after the given date.

指定者:
接口 HistoricProcessInstanceQuery 中的 startedAfter

startedBefore

public HistoricProcessInstanceQuery startedBefore(Date date)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that were started before the given date.

指定者:
接口 HistoricProcessInstanceQuery 中的 startedBefore

finishedAfter

public HistoricProcessInstanceQuery finishedAfter(Date date)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that were started after the given date.

指定者:
接口 HistoricProcessInstanceQuery 中的 finishedAfter

finishedBefore

public HistoricProcessInstanceQuery finishedBefore(Date date)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that were started before the given date.

指定者:
接口 HistoricProcessInstanceQuery 中的 finishedBefore

superProcessInstanceId

public HistoricProcessInstanceQuery superProcessInstanceId(String superProcessInstanceId)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances started by the given process instance. ProcessInstance) ids and {@link HistoricProcessInstance} ids match.

指定者:
接口 HistoricProcessInstanceQuery 中的 superProcessInstanceId

excludeSubprocesses

public HistoricProcessInstanceQuery excludeSubprocesses(boolean excludeSubprocesses)
从接口 HistoricProcessInstanceQuery 复制的描述
Exclude sub processes from the query result;

指定者:
接口 HistoricProcessInstanceQuery 中的 excludeSubprocesses

involvedUser

public HistoricProcessInstanceQuery involvedUser(String userId)
从接口 HistoricProcessInstanceQuery 复制的描述
Only select the historic process instances with which the user with the given id is involved.

指定者:
接口 HistoricProcessInstanceQuery 中的 involvedUser

includeProcessVariables

public HistoricProcessInstanceQuery includeProcessVariables()
从接口 HistoricProcessInstanceQuery 复制的描述
Include process variables in the process query result

指定者:
接口 HistoricProcessInstanceQuery 中的 includeProcessVariables

orderByProcessInstanceBusinessKey

public HistoricProcessInstanceQuery orderByProcessInstanceBusinessKey()
从接口 HistoricProcessInstanceQuery 复制的描述
Order by the business key (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 HistoricProcessInstanceQuery 中的 orderByProcessInstanceBusinessKey

orderByProcessInstanceDuration

public HistoricProcessInstanceQuery orderByProcessInstanceDuration()
从接口 HistoricProcessInstanceQuery 复制的描述
Order by the duration of the process instance (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 HistoricProcessInstanceQuery 中的 orderByProcessInstanceDuration

orderByProcessInstanceStartTime

public HistoricProcessInstanceQuery orderByProcessInstanceStartTime()
从接口 HistoricProcessInstanceQuery 复制的描述
Order by the start time (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 HistoricProcessInstanceQuery 中的 orderByProcessInstanceStartTime

orderByProcessInstanceEndTime

public HistoricProcessInstanceQuery orderByProcessInstanceEndTime()
从接口 HistoricProcessInstanceQuery 复制的描述
Order by the end time (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 HistoricProcessInstanceQuery 中的 orderByProcessInstanceEndTime

orderByProcessDefinitionId

public HistoricProcessInstanceQuery orderByProcessDefinitionId()
从接口 HistoricProcessInstanceQuery 复制的描述
Order by the process definition id (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 HistoricProcessInstanceQuery 中的 orderByProcessDefinitionId

orderByProcessInstanceId

public HistoricProcessInstanceQuery orderByProcessInstanceId()
从接口 HistoricProcessInstanceQuery 复制的描述
Order by the process instance id (needs to be followed by Query.asc() or Query.desc()).

指定者:
接口 HistoricProcessInstanceQuery 中的 orderByProcessInstanceId

getMssqlOrDB2OrderBy

public String getMssqlOrDB2OrderBy()

executeCount

public long executeCount(CommandContext commandContext)
指定者:
AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance> 中的 executeCount

executeList

public List<HistoricProcessInstance> executeList(CommandContext commandContext,
                                                 Page page)
从类 AbstractQuery 复制的描述
Executes the actual query to retrieve the list of results.

指定者:
AbstractVariableQueryImpl<HistoricProcessInstanceQuery,HistoricProcessInstance> 中的 executeList
page - used if the results must be paged. If null, no paging will be applied.

getBusinessKey

public String getBusinessKey()

isOpen

public boolean isOpen()

getProcessDefinitionId

public String getProcessDefinitionId()

getProcessDefinitionKey

public String getProcessDefinitionKey()

getProcessDefinitionIdLike

public String getProcessDefinitionIdLike()

getProcessInstanceId

public String getProcessInstanceId()

getProcessInstanceIds

public Set<String> getProcessInstanceIds()

getStartedBy

public String getStartedBy()

getSuperProcessInstanceId

public String getSuperProcessInstanceId()

isExcludeSubprocesses

public boolean isExcludeSubprocesses()

getProcessKeyNotIn

public List<String> getProcessKeyNotIn()

getStartedAfter

public Date getStartedAfter()

getStartedBefore

public Date getStartedBefore()

getFinishedAfter

public Date getFinishedAfter()

getFinishedBefore

public Date getFinishedBefore()

getInvolvedUser

public String getInvolvedUser()

startDateBy

@Deprecated
public HistoricProcessInstanceQuery startDateBy(Date date)
已过时。 

从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that were started as of the provided date. (Date will be adjusted to reflect midnight)

指定者:
接口 HistoricProcessInstanceQuery 中的 startDateBy

startDateOn

@Deprecated
public HistoricProcessInstanceQuery startDateOn(Date date)
已过时。 

从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that were started on the provided date.

指定者:
接口 HistoricProcessInstanceQuery 中的 startDateOn

finishDateBy

@Deprecated
public HistoricProcessInstanceQuery finishDateBy(Date date)
已过时。 

从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that were finished as of the provided date. (Date will be adjusted to reflect one second before midnight)

指定者:
接口 HistoricProcessInstanceQuery 中的 finishDateBy

finishDateOn

@Deprecated
public HistoricProcessInstanceQuery finishDateOn(Date date)
已过时。 

从接口 HistoricProcessInstanceQuery 复制的描述
Only select historic process instances that were finished on provided date.

指定者:
接口 HistoricProcessInstanceQuery 中的 finishDateOn


Copyright © 2013 Alfresco. All rights reserved.