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, toString
getId, setId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName
getId
public ProcessInstanceImpl(String name)
public String getState()
ProcessInstance
getState
in interface ProcessInstance
ProcessInstanceState
public void setState(String state)
public Date getStartDate()
ProcessInstance
getStartDate
in interface ProcessInstance
public void setStartDate(Date startDate)
public long getStartedBy()
ProcessInstance
getStartedBy
in interface ProcessInstance
public void setStartedBy(long startedBy)
public long getStartedBySubstitute()
ProcessInstance
getStartedBySubstitute
in interface ProcessInstance
public void setStartedBySubstitute(long startedBySubstitute)
@Deprecated public long getStartedByDelegate()
ProcessInstance
getStartedByDelegate
in interface ProcessInstance
@Deprecated public void setStartedByDelegate(long startedByDelegate)
public Date getEndDate()
ProcessInstance
getEndDate
in interface ProcessInstance
public void setEndDate(Date endDate)
public Date getLastUpdate()
ProcessInstance
getLastUpdate
in interface ProcessInstance
public void setLastUpdate(Date lastUpdate)
public long getProcessDefinitionId()
ProcessInstance
getProcessDefinitionId
in interface ProcessInstance
BaseElement.getId()
public void setProcessDefinitionId(long processDefinitionId)
public String getDescription()
ProcessInstance
getDescription
in interface ProcessInstance
public void setDescription(String description)
public long getRootProcessInstanceId()
ProcessInstance
ProcessInstance
of this process instance.
Is -1 if this process instance is not a child of another process instance.getRootProcessInstanceId
in interface ProcessInstance
BaseElement.getId()
,
ArchivedElement.getSourceObjectId()
public void setRootProcessInstanceId(long rootProcessInstanceId)
public long getCallerId()
ProcessInstance
getCallerId
in interface ProcessInstance
BaseElement.getId()
,
BaseElement.getId()
public void setCallerId(long callerId)
public String getStringIndex1()
ProcessInstance
getStringIndex1
in interface ProcessInstance
ProcessInstance.getStringIndexLabel(int)
public void setStringIndex1(String stringIndex1)
public String getStringIndex2()
ProcessInstance
getStringIndex2
in interface ProcessInstance
ProcessInstance.getStringIndexLabel(int)
public void setStringIndex2(String stringIndex2)
public String getStringIndex3()
ProcessInstance
getStringIndex3
in interface ProcessInstance
ProcessInstance.getStringIndexLabel(int)
public void setStringIndex3(String stringIndex3)
public String getStringIndex4()
ProcessInstance
getStringIndex4
in interface ProcessInstance
ProcessInstance.getStringIndexLabel(int)
public void setStringIndex4(String stringIndex4)
public String getStringIndex5()
ProcessInstance
getStringIndex5
in interface ProcessInstance
ProcessInstance.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)
ProcessInstance
getStringIndexLabel
in interface ProcessInstance
index
- The index of the labelCopyright © 2020 Bonitasoft S.A. All rights reserved.