public class HistoricProcessInstanceEntity extends HistoricScopeInstanceEntity implements HistoricProcessInstance, BulkDeleteable
Modifier and Type | Field and Description |
---|---|
protected String |
businessKey |
protected String |
description |
protected String |
endActivityId |
protected String |
localizedDescription |
protected String |
localizedName |
protected String |
name |
protected List<HistoricVariableInstanceEntity> |
queryVariables |
protected String |
startActivityId |
protected String |
startUserId |
protected String |
superProcessInstanceId |
protected String |
tenantId |
deleteReason, deploymentId, durationInMillis, endTime, id, processDefinitionId, processDefinitionKey, processDefinitionName, processDefinitionVersion, processInstanceId, startTime
Constructor and Description |
---|
HistoricProcessInstanceEntity() |
HistoricProcessInstanceEntity(ExecutionEntity processInstance) |
Modifier and Type | Method and Description |
---|---|
String |
getBusinessKey()
The user provided unique reference to this process instance.
|
String |
getDescription()
The description for the process instance.
|
String |
getEndActivityId()
Reference to the activity in which this process instance ended.
|
String |
getLocalizedDescription() |
String |
getLocalizedName() |
String |
getName()
The name for the process instance.
|
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
Map<String,Object> |
getProcessVariables()
Returns the process variables if requested in the process instance query
|
List<HistoricVariableInstanceEntity> |
getQueryVariables() |
String |
getStartActivityId()
The start activity.
|
String |
getStartUserId()
The authenticated user that started this process instance.
|
String |
getSuperProcessInstanceId()
The process instance id of a potential super process instance or null if no super process instance exists
|
String |
getTenantId()
The tenant identifier for the process instance.
|
void |
setBusinessKey(String businessKey) |
void |
setDescription(String description) |
void |
setEndActivityId(String endActivityId) |
void |
setLocalizedDescription(String localizedDescription)
Sets an optional localized description for the process instance.
|
void |
setLocalizedName(String localizedName)
Sets an optional localized name for the process instance.
|
void |
setName(String name) |
void |
setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables) |
void |
setStartActivityId(String startUserId) |
void |
setStartUserId(String startUserId) |
void |
setSuperProcessInstanceId(String superProcessInstanceId) |
void |
setTenantId(String tenantId) |
String |
toString() |
getDeleteReason, getDeploymentId, getDurationInMillis, getEndTime, getId, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDeploymentId, setDurationInMillis, setEndTime, setId, setProcessDefinitionId, setProcessDefinitionKey, setProcessDefinitionName, setProcessDefinitionVersion, setProcessInstanceId, setStartTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDeleteReason, getDeploymentId, getDurationInMillis, getEndTime, getId, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getStartTime
protected String endActivityId
protected String businessKey
protected String startUserId
protected String startActivityId
protected String superProcessInstanceId
protected String tenantId
protected String name
protected String localizedName
protected String description
protected String localizedDescription
protected List<HistoricVariableInstanceEntity> queryVariables
public HistoricProcessInstanceEntity()
public HistoricProcessInstanceEntity(ExecutionEntity processInstance)
public Object getPersistentState()
PersistentObject
getPersistentState
in interface PersistentObject
public String getEndActivityId()
HistoricProcessInstance
HistoricActivityInstanceQuery
instead to query
for end events of the process instance (use the activityTYpe attribute)getEndActivityId
in interface HistoricProcessInstance
public void setEndActivityId(String endActivityId)
public String getBusinessKey()
HistoricProcessInstance
getBusinessKey
in interface HistoricProcessInstance
public void setBusinessKey(String businessKey)
public String getStartUserId()
HistoricProcessInstance
getStartUserId
in interface HistoricProcessInstance
IdentityService.setAuthenticatedUserId(String)
public void setStartUserId(String startUserId)
public String getStartActivityId()
HistoricProcessInstance
getStartActivityId
in interface HistoricProcessInstance
public void setStartActivityId(String startUserId)
public String getSuperProcessInstanceId()
HistoricProcessInstance
getSuperProcessInstanceId
in interface HistoricProcessInstance
public void setSuperProcessInstanceId(String superProcessInstanceId)
public String getTenantId()
HistoricProcessInstance
getTenantId
in interface HistoricProcessInstance
public void setTenantId(String tenantId)
public String getName()
HistoricProcessInstance
getName
in interface HistoricProcessInstance
public void setName(String name)
public String getLocalizedName()
public void setLocalizedName(String localizedName)
HistoricProcessInstance
setLocalizedName
in interface HistoricProcessInstance
public String getDescription()
HistoricProcessInstance
getDescription
in interface HistoricProcessInstance
public void setDescription(String description)
public String getLocalizedDescription()
public void setLocalizedDescription(String localizedDescription)
HistoricProcessInstance
setLocalizedDescription
in interface HistoricProcessInstance
public Map<String,Object> getProcessVariables()
HistoricProcessInstance
getProcessVariables
in interface HistoricProcessInstance
public List<HistoricVariableInstanceEntity> getQueryVariables()
public void setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables)
Copyright © 2016 Alfresco. All rights reserved.