Package com.saperion.wf
Class WorkflowDataHolder
java.lang.Object
com.saperion.wf.WorkflowDataHolder
- Direct Known Subclasses:
ActorInfoImpl
,AttachmentInfoImpl
,EscalationHoldInfoImpl
,LastTaskInfoImpl
,ProcessInfoImpl
,TaskAuditInfoImpl
,TaskInfoImpl
,TimeInfoImpl
- Author:
- rbo
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Default Constructor.protected
WorkflowDataHolder
(Map<String, Object> resultMap) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected final Date
getDateValue
(String fieldName) Reads the date value from the map.protected final int
getIntValue
(String fieldName) Reads the int value from the result map.protected final String
getStringValue
(String fieldName) Reads the string value from the map.
-
Constructor Details
-
WorkflowDataHolder
protected WorkflowDataHolder()Default Constructor. -
WorkflowDataHolder
Constructor.- Parameters:
resultMap
- result map
-
-
Method Details
-
getStringValue
Reads the string value from the map.- Parameters:
fieldName
- field name- Returns:
- Result
-
getIntValue
Reads the int value from the result map.- Parameters:
fieldName
- field name- Returns:
- Result
-
getDateValue
Reads the date value from the map.- Parameters:
fieldName
- field name- Returns:
- Result
-