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, toString
getId, setId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName
getId
public ArchivedProcessInstanceImpl(String name)
public String getState()
ArchivedProcessInstance
getState
in interface ArchivedProcessInstance
ProcessInstanceState
public void setState(String state)
public Date getStartDate()
ArchivedProcessInstance
getStartDate
in interface ArchivedProcessInstance
public void setStartDate(Date startDate)
public long getStartedBy()
ArchivedProcessInstance
getStartedBy
in interface ArchivedProcessInstance
public void setStartedBy(long startedBy)
public long getStartedBySubstitute()
ArchivedProcessInstance
getStartedBySubstitute
in interface ArchivedProcessInstance
public void setStartedBySubstitute(long startedBySubstitute)
@Deprecated public long getStartedByDelegate()
ArchivedProcessInstance
getStartedByDelegate
in interface ArchivedProcessInstance
@Deprecated public void setStartedByDelegate(long startedByDelegate)
public Date getEndDate()
ArchivedProcessInstance
getEndDate
in interface ArchivedProcessInstance
public void setEndDate(Date endDate)
public Date getArchiveDate()
ArchivedElement
getArchiveDate
in interface ArchivedElement
public void setArchiveDate(Date archiveDate)
public Date getLastUpdate()
ArchivedProcessInstance
getLastUpdate
in interface ArchivedProcessInstance
public void setLastUpdate(Date lastUpdate)
public long getSourceObjectId()
ArchivedElement
BaseElement
that the archived element comes from.getSourceObjectId
in interface ArchivedElement
public void setSourceObjectId(long sourceObjectId)
public int getStateId()
ArchivedProcessInstance
getStateId
in interface ArchivedProcessInstance
ProcessInstanceState
public void setStateId(int stateId)
public long getProcessDefinitionId()
ArchivedProcessInstance
getProcessDefinitionId
in interface ArchivedProcessInstance
BaseElement.getId()
public void setProcessDefinitionId(long processDefinitionId)
public String getDescription()
ArchivedProcessInstance
getDescription
in interface ArchivedProcessInstance
public void setDescription(String description)
public long getRootProcessInstanceId()
ArchivedProcessInstance
ProcessInstance
of this process instance.
Is -1 if this process instance is not a child of another process instance.getRootProcessInstanceId
in interface ArchivedProcessInstance
ProcessInstance
of this process instance.BaseElement.getId()
,
ArchivedElement.getSourceObjectId()
public void setRootProcessInstanceId(long rootProcessInstanceId)
public long getCallerId()
ArchivedProcessInstance
getCallerId
in interface ArchivedProcessInstance
BaseElement.getId()
,
BaseElement.getId()
public void setCallerId(long callerId)
public void setStringIndexValue(int index, String value)
public String getStringIndexValue(int index)
ArchivedProcessInstance
getStringIndexValue
in interface ArchivedProcessInstance
index
- The index of the valuepublic void setStringIndexLabel(int index, String label)
public String getStringIndexLabel(int index)
ArchivedProcessInstance
getStringIndexLabel
in interface ArchivedProcessInstance
index
- The index of the labelpublic int hashCode()
hashCode
in class NamedElementImpl
public boolean equals(Object obj)
equals
in class NamedElementImpl
Copyright © 2020 Bonitasoft S.A. All rights reserved.