|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.db.AuthorizationCheck
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<HistoricDetailQuery,HistoricDetail>
org.camunda.bpm.engine.impl.HistoricDetailQueryImpl
public class HistoricDetailQueryImpl
| Field Summary | |
|---|---|
protected String |
activityId
|
protected String |
activityInstanceId
|
protected String |
detailId
|
protected boolean |
excludeTaskRelated
|
protected String |
executionId
|
protected boolean |
isByteArrayFetchingEnabled
|
protected boolean |
isCustomObjectDeserializationEnabled
|
protected String |
processInstanceId
|
protected String |
taskId
|
protected String |
type
|
protected String |
variableInstanceId
|
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
commandContext, commandExecutor, expressions, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC |
| Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
|---|
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, parameter |
| Fields inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck |
|---|
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled |
| Constructor Summary | |
|---|---|
HistoricDetailQueryImpl()
|
|
HistoricDetailQueryImpl(CommandContext commandContext)
|
|
HistoricDetailQueryImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | |
|---|---|
HistoricDetailQuery |
activityId(String activityId)
Only select historic variable updates associated to the given activity instance. |
HistoricDetailQuery |
activityInstanceId(String activityInstanceId)
Only select historic variable updates associated to the given activity instance. |
HistoricDetailQuery |
detailId(String id)
Only select the historic detail with the given id. |
HistoricDetailQuery |
disableBinaryFetching()
Disable fetching of byte array values. |
HistoricDetailQuery |
disableCustomObjectDeserialization()
Disable deserialization of variable values that are custom objects. |
HistoricDetailQuery |
excludeTaskDetails()
Exclude all task-related HistoricDetails, so only items which have no
task-id set will be selected. |
long |
executeCount(CommandContext commandContext)
|
List<HistoricDetail> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
HistoricDetailQuery |
executionId(String executionId)
Only select historic variable updates with the given execution. |
HistoricDetailQuery |
formFields()
Only select HistoricFormFields. |
HistoricDetailQuery |
formProperties()
Only select HistoricFormPropertys. |
String |
getActivityId()
|
String |
getDetailId()
|
boolean |
getExcludeTaskRelated()
|
String |
getProcessInstanceId()
|
String |
getTaskId()
|
String |
getType()
|
HistoricDetailQuery |
orderByFormPropertyId()
|
HistoricDetailQuery |
orderByProcessInstanceId()
|
HistoricDetailQuery |
orderByTime()
|
HistoricDetailQuery |
orderByVariableName()
|
HistoricDetailQuery |
orderByVariableRevision()
|
HistoricDetailQuery |
orderByVariableType()
|
HistoricDetailQuery |
processInstanceId(String processInstanceId)
Only select historic variable updates with the given process instance. |
protected boolean |
shouldFetchSerializedValueFor(HistoricDetailVariableInstanceUpdateEntity variableInstance)
Eagerly fetch the variable's serialized value unless the type is "bytes" and binary fetching disabled |
protected boolean |
shouldFetchValueFor(HistoricDetailVariableInstanceUpdateEntity variableInstance)
eagerly fetch the variable's value unless the serialized value should not be fetched or custom object fetching is disabled |
HistoricDetailQuery |
taskId(String taskId)
Only select historic variable updates associated to the given historic task instance. |
HistoricDetailQuery |
variableInstanceId(String variableInstanceId)
Only select historic variable updates associated to the given historic variable instance. |
HistoricDetailQuery |
variableUpdates()
Only select HistoricVariableUpdates. |
| Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery |
|---|
addExpression, addOrder, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, list, listPage, mergeExpressions, mergeOrdering, orderBy, setCommandExecutor, setExpressions, singleResult |
| Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject |
|---|
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter |
| Methods inherited from class org.camunda.bpm.engine.impl.db.AuthorizationCheck |
|---|
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.query.Query |
|---|
asc, count, desc, list, listPage, singleResult |
| Field Detail |
|---|
protected String detailId
protected String taskId
protected String processInstanceId
protected String executionId
protected String activityId
protected String activityInstanceId
protected String type
protected String variableInstanceId
protected boolean excludeTaskRelated
protected boolean isByteArrayFetchingEnabled
protected boolean isCustomObjectDeserializationEnabled
| Constructor Detail |
|---|
public HistoricDetailQueryImpl()
public HistoricDetailQueryImpl(CommandContext commandContext)
public HistoricDetailQueryImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public HistoricDetailQuery detailId(String id)
HistoricDetailQuery
detailId in interface HistoricDetailQueryid - the historic detail to select
public HistoricDetailQuery variableInstanceId(String variableInstanceId)
HistoricDetailQueryhistoric variable instance.
variableInstanceId in interface HistoricDetailQuerypublic HistoricDetailQuery processInstanceId(String processInstanceId)
HistoricDetailQuery
processInstanceId in interface HistoricDetailQuerypublic HistoricDetailQuery executionId(String executionId)
HistoricDetailQueryExecution ids are not stored in the history as first class citizen,
only process instances are.
executionId in interface HistoricDetailQuerypublic HistoricDetailQuery activityId(String activityId)
HistoricDetailQueryactivity instance.
activityId in interface HistoricDetailQuerypublic HistoricDetailQuery activityInstanceId(String activityInstanceId)
HistoricDetailQueryactivity instance.
activityInstanceId in interface HistoricDetailQuerypublic HistoricDetailQuery taskId(String taskId)
HistoricDetailQueryhistoric task instance.
taskId in interface HistoricDetailQuerypublic HistoricDetailQuery formProperties()
HistoricDetailQueryHistoricFormPropertys.
formProperties in interface HistoricDetailQuerypublic HistoricDetailQuery formFields()
HistoricDetailQueryHistoricFormFields.
formFields in interface HistoricDetailQuerypublic HistoricDetailQuery variableUpdates()
HistoricDetailQueryHistoricVariableUpdates.
variableUpdates in interface HistoricDetailQuerypublic HistoricDetailQuery excludeTaskDetails()
HistoricDetailQueryHistoricDetails, so only items which have no
task-id set will be selected. When used together with HistoricDetailQuery.taskId(String), this
call is ignored task details are NOT excluded.
excludeTaskDetails in interface HistoricDetailQuerypublic long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<HistoricDetailQuery,HistoricDetail>public HistoricDetailQuery disableBinaryFetching()
HistoricDetailQuery
disableBinaryFetching in interface HistoricDetailQuerypublic HistoricDetailQuery disableCustomObjectDeserialization()
HistoricDetailQuery
disableCustomObjectDeserialization in interface HistoricDetailQuery
public List<HistoricDetail> executeList(CommandContext commandContext,
Page page)
AbstractQuery
executeList in class AbstractQuery<HistoricDetailQuery,HistoricDetail>page - used if the results must be paged. If null, no paging will be applied.protected boolean shouldFetchValueFor(HistoricDetailVariableInstanceUpdateEntity variableInstance)
protected boolean shouldFetchSerializedValueFor(HistoricDetailVariableInstanceUpdateEntity variableInstance)
public HistoricDetailQuery orderByProcessInstanceId()
orderByProcessInstanceId in interface HistoricDetailQuerypublic HistoricDetailQuery orderByTime()
orderByTime in interface HistoricDetailQuerypublic HistoricDetailQuery orderByVariableName()
orderByVariableName in interface HistoricDetailQuerypublic HistoricDetailQuery orderByFormPropertyId()
orderByFormPropertyId in interface HistoricDetailQuerypublic HistoricDetailQuery orderByVariableRevision()
orderByVariableRevision in interface HistoricDetailQuerypublic HistoricDetailQuery orderByVariableType()
orderByVariableType in interface HistoricDetailQuerypublic String getProcessInstanceId()
public String getTaskId()
public String getActivityId()
public String getType()
public boolean getExcludeTaskRelated()
public String getDetailId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||