Class ProcessCaseView
- java.lang.Object
-
- com.aquima.interactions.process.impl.ProcessCaseView
-
- All Implemented Interfaces:
IProcessCaseView
public class ProcessCaseView extends Object implements IProcessCaseView
-
-
Constructor Summary
Constructors Constructor Description ProcessCaseView(IProcessDefinition definition, ICaseQueryResult processCase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeReference[]
getAttributes()
this method returns the attributes from the case for which a value is setIValue
getAttributeValue(String entityName, String attributeName)
this method returns the value of the attribute from the case the task is defined for.DateTimeValue
getCreationDate()
This method returns the date at which the case is started.IMultilingualText
getDisplayName()
This method returns the display name of the task as present in the case definition.long
getId()
This method returns the unique ID of this case.String
getName()
This method returns the name of the case as present in the task definition.CaseStatusType
getStatus()
This method returns the current status of the case.boolean
isCaseLocked()
This method returns if the case the task is defined for is locked.
-
-
-
Constructor Detail
-
ProcessCaseView
public ProcessCaseView(IProcessDefinition definition, ICaseQueryResult processCase)
-
-
Method Detail
-
getId
public long getId()
Description copied from interface:IProcessCaseView
This method returns the unique ID of this case.- Specified by:
getId
in interfaceIProcessCaseView
- Returns:
- the unique ID of this process step.
-
isCaseLocked
public boolean isCaseLocked()
Description copied from interface:IProcessCaseView
This method returns if the case the task is defined for is locked.- Specified by:
isCaseLocked
in interfaceIProcessCaseView
- Returns:
- a boolean indicating if the case the task is defined for is locked
-
getName
public String getName()
Description copied from interface:IProcessCaseView
This method returns the name of the case as present in the task definition.- Specified by:
getName
in interfaceIProcessCaseView
- Returns:
- The name of the case.
-
getDisplayName
public IMultilingualText getDisplayName()
Description copied from interface:IProcessCaseView
This method returns the display name of the task as present in the case definition.- Specified by:
getDisplayName
in interfaceIProcessCaseView
- Returns:
- The display name of the case.
-
getStatus
public CaseStatusType getStatus()
Description copied from interface:IProcessCaseView
This method returns the current status of the case.- Specified by:
getStatus
in interfaceIProcessCaseView
- Returns:
- the current status of the case.
-
getCreationDate
public DateTimeValue getCreationDate()
Description copied from interface:IProcessCaseView
This method returns the date at which the case is started.- Specified by:
getCreationDate
in interfaceIProcessCaseView
- Returns:
- The date at which the case is started.
-
getAttributeValue
public IValue getAttributeValue(String entityName, String attributeName)
Description copied from interface:IProcessCaseView
this method returns the value of the attribute from the case the task is defined for.- Specified by:
getAttributeValue
in interfaceIProcessCaseView
- Parameters:
entityName
- The entity where the attribute belongs to.attributeName
- The name of the attribute.- Returns:
- The value of the attribute from the case the task is defined for.
-
getAttributes
public AttributeReference[] getAttributes()
Description copied from interface:IProcessCaseView
this method returns the attributes from the case for which a value is set- Specified by:
getAttributes
in interfaceIProcessCaseView
- Returns:
-
-