public class ArchivedProcessInstanceImpl extends NamedElementImpl implements ArchivedProcessInstance
| Constructor and Description |
|---|
ArchivedProcessInstanceImpl(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getArchiveDate()
Gets the date when the element was archived.
|
long |
getCallerId()
Get the identifier of the flow node instance who starts this process instance.
|
String |
getDescription()
Get the description of this process instance, when the process instance was archived.
|
Date |
getEndDate()
Get the date when this process instance was finished.
|
Date |
getLastUpdate()
Get the date of the last update of this process instance, when the process instance was archived.
|
long |
getProcessDefinitionId()
Get the identifier of the definition of this process.
|
long |
getRootProcessInstanceId()
Get the identifier of the root
ProcessInstance of this process instance. |
long |
getSourceObjectId()
Gets the identifier of the
BaseElement that the archived element comes from. |
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 when it was archived.
|
int |
getStateId()
Get the identifier of the state of this process instance when it was archived.
|
String |
getStringIndexLabel(int index)
The index must be between 1 and 5.
|
String |
getStringIndexValue(int index)
The index must be between 1 and 5.
|
int |
hashCode() |
void |
setArchiveDate(Date archiveDate) |
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 |
setSourceObjectId(long sourceObjectId) |
void |
setStartDate(Date startDate) |
void |
setStartedBy(long startedBy) |
void |
setStartedByDelegate(long startedByDelegate)
Deprecated.
|
void |
setStartedBySubstitute(long startedBySubstitute) |
void |
setState(String state) |
void |
setStateId(int stateId) |
void |
setStringIndexLabel(int index,
String label) |
void |
setStringIndexValue(int index,
String value) |
getName, setName, toStringgetId, setIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamegetIdpublic ArchivedProcessInstanceImpl(String name)
public String getState()
ArchivedProcessInstancegetState in interface ArchivedProcessInstanceProcessInstanceStatepublic void setState(String state)
public Date getStartDate()
ArchivedProcessInstancegetStartDate in interface ArchivedProcessInstancepublic void setStartDate(Date startDate)
public long getStartedBy()
ArchivedProcessInstancegetStartedBy in interface ArchivedProcessInstancepublic void setStartedBy(long startedBy)
public long getStartedBySubstitute()
ArchivedProcessInstancegetStartedBySubstitute in interface ArchivedProcessInstancepublic void setStartedBySubstitute(long startedBySubstitute)
@Deprecated public long getStartedByDelegate()
ArchivedProcessInstancegetStartedByDelegate in interface ArchivedProcessInstance@Deprecated public void setStartedByDelegate(long startedByDelegate)
public Date getEndDate()
ArchivedProcessInstancegetEndDate in interface ArchivedProcessInstancepublic void setEndDate(Date endDate)
public Date getArchiveDate()
ArchivedElementgetArchiveDate in interface ArchivedElementpublic void setArchiveDate(Date archiveDate)
public Date getLastUpdate()
ArchivedProcessInstancegetLastUpdate in interface ArchivedProcessInstancepublic void setLastUpdate(Date lastUpdate)
public long getSourceObjectId()
ArchivedElementBaseElement that the archived element comes from.getSourceObjectId in interface ArchivedElementpublic void setSourceObjectId(long sourceObjectId)
public int getStateId()
ArchivedProcessInstancegetStateId in interface ArchivedProcessInstanceProcessInstanceStatepublic void setStateId(int stateId)
public long getProcessDefinitionId()
ArchivedProcessInstancegetProcessDefinitionId in interface ArchivedProcessInstanceBaseElement.getId()public void setProcessDefinitionId(long processDefinitionId)
public String getDescription()
ArchivedProcessInstancegetDescription in interface ArchivedProcessInstancepublic void setDescription(String description)
public long getRootProcessInstanceId()
ArchivedProcessInstanceProcessInstance of this process instance.
Is -1 if this process instance is not a child of another process instance.getRootProcessInstanceId in interface ArchivedProcessInstanceProcessInstance of this process instance.BaseElement.getId(),
ArchivedElement.getSourceObjectId()public void setRootProcessInstanceId(long rootProcessInstanceId)
public long getCallerId()
ArchivedProcessInstancegetCallerId in interface ArchivedProcessInstanceBaseElement.getId(),
BaseElement.getId()public void setCallerId(long callerId)
public void setStringIndexValue(int index,
String value)
public String getStringIndexValue(int index)
ArchivedProcessInstancegetStringIndexValue in interface ArchivedProcessInstanceindex - The index of the valuepublic void setStringIndexLabel(int index,
String label)
public String getStringIndexLabel(int index)
ArchivedProcessInstancegetStringIndexLabel in interface ArchivedProcessInstanceindex - The index of the labelpublic int hashCode()
hashCode in class NamedElementImplpublic boolean equals(Object obj)
equals in class NamedElementImplCopyright © 2018 Bonitasoft S.A.. All rights reserved.