public class ProcessInstanceImpl extends NamedElementImpl implements ProcessInstance
| Constructor and Description |
|---|
ProcessInstanceImpl(String name) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCallerId()
Get the identifier of the flow node instance who starts this process instance.
|
String |
getDescription()
Get the description of this process instance.
|
Date |
getEndDate()
Get the date when this process instance was finished.
|
Date |
getLastUpdate()
Get the date of the last update of this process instance.
|
long |
getProcessDefinitionId()
Get the identifier of the definition of this process.
|
long |
getRootProcessInstanceId()
Get the identifier of the root
ProcessInstance of this process instance. |
Date |
getStartDate()
Get the date when this process instance was started.
|
long |
getStartedBy()
Get the identifier of the user who started this process instance.
|
long |
getStartedByDelegate()
Deprecated.
|
long |
getStartedBySubstitute()
Get the identifier of the substitute user (as Process manager or Administrator) who started this process instance.
|
String |
getState()
Get the state of this process instance.
|
String |
getStringIndex1()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndex2()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndex3()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndex4()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndex5()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndexLabel(int index)
The index must be between 1 and 5.
|
String |
getStringIndexLabel1() |
String |
getStringIndexLabel2() |
String |
getStringIndexLabel3() |
String |
getStringIndexLabel4() |
String |
getStringIndexLabel5() |
void |
setCallerId(long callerId) |
void |
setDescription(String description) |
void |
setEndDate(Date endDate) |
void |
setLastUpdate(Date lastUpdate) |
void |
setProcessDefinitionId(long processDefinitionId) |
void |
setRootProcessInstanceId(long rootProcessInstanceId) |
void |
setStartDate(Date startDate) |
void |
setStartedBy(long startedBy) |
void |
setStartedByDelegate(long startedByDelegate)
Deprecated.
|
void |
setStartedBySubstitute(long startedBySubstitute) |
void |
setState(String state) |
void |
setStringIndex1(String stringIndex1) |
void |
setStringIndex2(String stringIndex2) |
void |
setStringIndex3(String stringIndex3) |
void |
setStringIndex4(String stringIndex4) |
void |
setStringIndex5(String stringIndex5) |
void |
setStringIndexLabel(int index,
String label) |
void |
setStringIndexLabel1(String stringIndexLabel1) |
void |
setStringIndexLabel2(String stringIndexLabel2) |
void |
setStringIndexLabel3(String stringIndexLabel3) |
void |
setStringIndexLabel4(String stringIndexLabel4) |
void |
setStringIndexLabel5(String stringIndexLabel5) |
equals, getName, hashCode, setName, toStringgetId, setIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamegetIdpublic ProcessInstanceImpl(String name)
public String getState()
ProcessInstancegetState in interface ProcessInstanceProcessInstanceStatepublic void setState(String state)
public Date getStartDate()
ProcessInstancegetStartDate in interface ProcessInstancepublic void setStartDate(Date startDate)
public long getStartedBy()
ProcessInstancegetStartedBy in interface ProcessInstancepublic void setStartedBy(long startedBy)
public long getStartedBySubstitute()
ProcessInstancegetStartedBySubstitute in interface ProcessInstancepublic void setStartedBySubstitute(long startedBySubstitute)
@Deprecated public long getStartedByDelegate()
ProcessInstancegetStartedByDelegate in interface ProcessInstance@Deprecated public void setStartedByDelegate(long startedByDelegate)
public Date getEndDate()
ProcessInstancegetEndDate in interface ProcessInstancepublic void setEndDate(Date endDate)
public Date getLastUpdate()
ProcessInstancegetLastUpdate in interface ProcessInstancepublic void setLastUpdate(Date lastUpdate)
public long getProcessDefinitionId()
ProcessInstancegetProcessDefinitionId in interface ProcessInstanceBaseElement.getId()public void setProcessDefinitionId(long processDefinitionId)
public String getDescription()
ProcessInstancegetDescription in interface ProcessInstancepublic void setDescription(String description)
public long getRootProcessInstanceId()
ProcessInstanceProcessInstance of this process instance.
Is -1 if this process instance is not a child of another process instance.getRootProcessInstanceId in interface ProcessInstanceBaseElement.getId(),
ArchivedElement.getSourceObjectId()public void setRootProcessInstanceId(long rootProcessInstanceId)
public long getCallerId()
ProcessInstancegetCallerId in interface ProcessInstanceBaseElement.getId(),
BaseElement.getId()public void setCallerId(long callerId)
public String getStringIndex1()
ProcessInstancegetStringIndex1 in interface ProcessInstanceProcessInstance.getStringIndexLabel(int)public void setStringIndex1(String stringIndex1)
public String getStringIndex2()
ProcessInstancegetStringIndex2 in interface ProcessInstanceProcessInstance.getStringIndexLabel(int)public void setStringIndex2(String stringIndex2)
public String getStringIndex3()
ProcessInstancegetStringIndex3 in interface ProcessInstanceProcessInstance.getStringIndexLabel(int)public void setStringIndex3(String stringIndex3)
public String getStringIndex4()
ProcessInstancegetStringIndex4 in interface ProcessInstanceProcessInstance.getStringIndexLabel(int)public void setStringIndex4(String stringIndex4)
public String getStringIndex5()
ProcessInstancegetStringIndex5 in interface ProcessInstanceProcessInstance.getStringIndexLabel(int)public void setStringIndex5(String stringIndex5)
public String getStringIndexLabel1()
public void setStringIndexLabel1(String stringIndexLabel1)
public String getStringIndexLabel2()
public void setStringIndexLabel2(String stringIndexLabel2)
public String getStringIndexLabel3()
public void setStringIndexLabel3(String stringIndexLabel3)
public String getStringIndexLabel4()
public void setStringIndexLabel4(String stringIndexLabel4)
public String getStringIndexLabel5()
public void setStringIndexLabel5(String stringIndexLabel5)
public void setStringIndexLabel(int index,
String label)
public String getStringIndexLabel(int index)
ProcessInstancegetStringIndexLabel in interface ProcessInstanceindex - The index of the labelCopyright © 2018 Bonitasoft S.A.. All rights reserved.