public class ProcessInstanceHistoryLogQueryImpl extends Object implements ProcessInstanceHistoryLogQuery, Command<ProcessInstanceHistoryLog>
Modifier and Type | Field and Description |
---|---|
protected CommandExecutor |
commandExecutor |
protected boolean |
includeActivities |
protected boolean |
includeComments |
protected boolean |
includeFormProperties |
protected boolean |
includeTasks |
protected boolean |
includeVariables |
protected boolean |
includeVariableUpdates |
protected String |
processInstanceId |
Constructor and Description |
---|
ProcessInstanceHistoryLogQueryImpl(CommandExecutor commandExecutor,
String processInstanceId) |
Modifier and Type | Method and Description |
---|---|
ProcessInstanceHistoryLog |
execute(CommandContext commandContext) |
ProcessInstanceHistoryLogQuery |
includeActivities()
The
ProcessInstanceHistoryLog will contain the HistoricActivityInstance instances. |
ProcessInstanceHistoryLogQuery |
includeComments()
The
ProcessInstanceHistoryLog will contain the Comment instances. |
ProcessInstanceHistoryLogQuery |
includeFormProperties()
The
ProcessInstanceHistoryLog will contain the HistoricFormProperty instances. |
ProcessInstanceHistoryLogQuery |
includeTasks()
The
ProcessInstanceHistoryLog will contain the HistoricTaskInstance instances. |
ProcessInstanceHistoryLogQuery |
includeVariables()
The
ProcessInstanceHistoryLog will contain the HistoricVariableInstance instances. |
ProcessInstanceHistoryLogQuery |
includeVariableUpdates()
The
ProcessInstanceHistoryLog will contain the HistoricVariableUpdate instances. |
ProcessInstanceHistoryLog |
singleResult()
Executes the query.
|
protected CommandExecutor commandExecutor
protected String processInstanceId
protected boolean includeTasks
protected boolean includeActivities
protected boolean includeVariables
protected boolean includeComments
protected boolean includeVariableUpdates
protected boolean includeFormProperties
public ProcessInstanceHistoryLogQueryImpl(CommandExecutor commandExecutor, String processInstanceId)
public ProcessInstanceHistoryLogQuery includeTasks()
ProcessInstanceHistoryLogQuery
ProcessInstanceHistoryLog
will contain the HistoricTaskInstance
instances.includeTasks
in interface ProcessInstanceHistoryLogQuery
public ProcessInstanceHistoryLogQuery includeComments()
ProcessInstanceHistoryLogQuery
ProcessInstanceHistoryLog
will contain the Comment
instances.includeComments
in interface ProcessInstanceHistoryLogQuery
public ProcessInstanceHistoryLogQuery includeActivities()
ProcessInstanceHistoryLogQuery
ProcessInstanceHistoryLog
will contain the HistoricActivityInstance
instances.includeActivities
in interface ProcessInstanceHistoryLogQuery
public ProcessInstanceHistoryLogQuery includeVariables()
ProcessInstanceHistoryLogQuery
ProcessInstanceHistoryLog
will contain the HistoricVariableInstance
instances.includeVariables
in interface ProcessInstanceHistoryLogQuery
public ProcessInstanceHistoryLogQuery includeVariableUpdates()
ProcessInstanceHistoryLogQuery
ProcessInstanceHistoryLog
will contain the HistoricVariableUpdate
instances.includeVariableUpdates
in interface ProcessInstanceHistoryLogQuery
public ProcessInstanceHistoryLogQuery includeFormProperties()
ProcessInstanceHistoryLogQuery
ProcessInstanceHistoryLog
will contain the HistoricFormProperty
instances.includeFormProperties
in interface ProcessInstanceHistoryLogQuery
public ProcessInstanceHistoryLog singleResult()
ProcessInstanceHistoryLogQuery
singleResult
in interface ProcessInstanceHistoryLogQuery
public ProcessInstanceHistoryLog execute(CommandContext commandContext)
execute
in interface Command<ProcessInstanceHistoryLog>
Copyright © 2016 Alfresco. All rights reserved.