Class ecm.widget.process.LaunchPatternLayout


Extends ecm.widget.process.ProcessorLayout, ecm.widget.process._ProcessorMixin.
Provides a layout that is used to launch pattern workflow processes.
Defined in: <ecm\widget\process\LaunchPatternLayout.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
createWorkItem(repository)
Creates an ecm.model.WorkItem object from the parameter information that is passed in.
 
 
isValid(focus)
Checks the work item properties pane properties list for having valid values.
 
Cancels the launch operation.
 
onOk(dispatch)
Saves the modified processor information and will dispatch the work item.
 
 
Updates the widgets with the current work item property information for rendering.

Constructor Detail

ecm.widget.process.LaunchPatternLayout()

Since:
2.0.2

Method Detail

createWorkItem(repository)

Creates an ecm.model.WorkItem object from the parameter information that is passed in.
Parameters:
repository
A ecm.model.Repository object.

destroy()


{Boolean} isValid(focus)

Checks the work item properties pane properties list for having valid values.
Parameters:
focus
Since:
2.0.3.8 A boolean value indicating if the error field (if any) should be set as focus.
Returns:
{Boolean} A value of true if the property values are valid, false otherwise.

onCancel()

Cancels the launch operation.

onOk(dispatch)

Saves the modified processor information and will dispatch the work item.
Parameters:
dispatch
A boolean value indicating whether to dispatch the item after saving its values. This value should always be true for a launch processor.

postCreate()


updateView()

Updates the widgets with the current work item property information for rendering.