Class CaseInstanceView
- java.lang.Object
-
- org.jbpm.persistence.api.integration.model.CaseInstanceView
-
- All Implemented Interfaces:
Serializable,InstanceView<org.kie.api.runtime.process.ProcessInstance>
public class CaseInstanceView extends Object implements InstanceView<org.kie.api.runtime.process.ProcessInstance>
InstanceView dedicated fororg.kie.api.runtime.process.ProcessInstancethat is associated with dynamic process which is considered as case. copeFromSource is performed just before the delivery- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CaseInstanceView()CaseInstanceView(org.kie.api.runtime.process.ProcessInstance source)
-
Method Summary
-
-
-
Method Detail
-
getCompositeId
public String getCompositeId()
Description copied from interface:InstanceViewReturns the id of the view. Might be used by implementors to determine if two views are representations of the same underlying object- Specified by:
getCompositeIdin interfaceInstanceView<org.kie.api.runtime.process.ProcessInstance>
-
setCompositeId
public void setCompositeId(String compositeId)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getCaseDefinitionId
public String getCaseDefinitionId()
-
setProcessId
public void setProcessId(String processId)
-
getCaseDefinitionName
public String getCaseDefinitionName()
-
setProcessName
public void setProcessName(String processName)
-
getCaseStatus
public Integer getCaseStatus()
-
setState
public void setState(Integer state)
-
getContainerId
public String getContainerId()
-
setContainerId
public void setContainerId(String containerId)
-
getOwner
public String getOwner()
-
setInitiator
public void setInitiator(String initiator)
-
getDate
public Date getDate()
-
setDate
public void setDate(Date date)
-
getCaseDescription
public String getCaseDescription()
-
setProcessInstanceDescription
public void setProcessInstanceDescription(String processInstanceDescription)
-
getCaseId
public String getCaseId()
-
setCorrelationKey
public void setCorrelationKey(String correlationKey)
-
getParentId
public Long getParentId()
-
setParentId
public void setParentId(Long parentId)
-
getSource
public org.kie.api.runtime.process.ProcessInstance getSource()
Description copied from interface:InstanceViewReturns "raw" object instance for this view- Specified by:
getSourcein interfaceInstanceView<org.kie.api.runtime.process.ProcessInstance>- Returns:
- source of this view
-
copyFromSource
public void copyFromSource()
Description copied from interface:InstanceViewTriggers to copy data from source to view. Different implementations of the view might have different needs on when this would happen. PersistentEventManager will invoke it before delivering if it was not done before.- Specified by:
copyFromSourcein interfaceInstanceView<org.kie.api.runtime.process.ProcessInstance>
-
internalGetCaseFile
public org.kie.api.runtime.process.CaseData internalGetCaseFile(org.kie.api.runtime.KieRuntime kruntime)
-
-