Class CreateWidgetRecordTask

java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.widget.CreateWidgetRecordTask
All Implemented Interfaces:
PersistTask<CreateWidgetRecordTask.Params,Entity>

public class CreateWidgetRecordTask extends Object implements PersistTask<CreateWidgetRecordTask.Params,Entity>
Takes an entity of type "Section" and the unique id of a Cms_template of type "widget" to create a "Widget_legacy" entity to link with this section. Returns the created Widget_legacy entity.