DateTimeWorkflowActionAttributeForm Class Reference

Inheritance diagram for DateTimeWorkflowActionAttributeForm:
DurationEnabledWorkflowActionAttributeForm WorkflowActionAttributeForm ConfigurableMetadataModel

Public Member Functions

 getValueElementType ()
 validateValue ()
 resolveValueAndSetToModel (WorkflowActionProcessingModelAdapter $adapter, $attribute)
 shouldSetNullAlternativeValue ()
 resolveNullAlternativeValueAndSetToModel (WorkflowActionProcessingModelAdapter $adapter, $attribute)

Data Fields

const TYPE_DYNAMIC_FROM_TRIGGERED_DATETIME = 'DynamicFromTriggeredDateTime'
const TYPE_DYNAMIC_FROM_EXISTING_DATETIME = 'DynamicFromExistingDateTime'

Protected Member Functions

 makeTypeValuesAndLabels ($isCreatingNewModel, $isRequired)

Detailed Description

Form to work with dateTime attributes

Definition at line 40 of file DateTimeWorkflowActionAttributeForm.php.


Member Function Documentation

getValueElementType (  ) 
Returns:
string

Reimplemented from WorkflowActionAttributeForm.

Definition at line 49 of file DateTimeWorkflowActionAttributeForm.php.

validateValue (  ) 

Value can either be dateTime or if dynamic, then it is an integer

Returns:
bool

Reimplemented from WorkflowActionAttributeForm.

Definition at line 58 of file DateTimeWorkflowActionAttributeForm.php.

resolveValueAndSetToModel ( WorkflowActionProcessingModelAdapter adapter,
attribute 
)

Utilized to create or update model attribute values after a workflow's triggers are fired as true.

Parameters:
WorkflowActionProcessingModelAdapter $adapter
$attribute 
Exceptions:
NotSupportedException 

Reimplemented from WorkflowActionAttributeForm.

Definition at line 84 of file DateTimeWorkflowActionAttributeForm.php.

makeTypeValuesAndLabels ( isCreatingNewModel,
isRequired 
) [protected]
Parameters:
bool $isCreatingNewModel
bool $isRequired
Returns:
array

Reimplemented from WorkflowActionAttributeForm.

Definition at line 117 of file DateTimeWorkflowActionAttributeForm.php.

resolveNullAlternativeValueAndSetToModel ( WorkflowActionProcessingModelAdapter adapter,
attribute 
)
Parameters:
WorkflowActionProcessingModelAdapter $adapter
$attribute 

Reimplemented from WorkflowActionAttributeForm.

Definition at line 140 of file DateTimeWorkflowActionAttributeForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Apr 30 07:10:24 2017