public class ContentRecommendationWidgetManager extends DefaultContentAndWebActivityWidgetManager
This is the widget manager associates default marketing content for the content recommendation page composer widget.
It creates, updates, deletes and gets default marketing content associated with an e-marketing spot belonging to a widget within a layout.
If configured to use a web activity to populate this widget, this class will manage the e-marketing spot associated with the widget with its associated web activity.
CURRENT_ENVIRONMENT, EXECUTION_TYPE_J2EE, EXECUTION_TYPE_J2SE
Constructor and Description |
---|
ContentRecommendationWidgetManager() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ClientError> |
validateCreateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method will perform validation for this widget.
|
java.util.List<ClientError> |
validateDeleteExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method will perform validation for this widget.
|
createExtendedData, deleteExtendedData, retrieveExtendedData, update
updateExtendedData
create, delete, undo
getWidgetDefinition, init, retrieve, retrieve, validateChange, validateChangeExtendedData, validateCreate, validateDelete
public java.util.List<ClientError> validateCreateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
This method will perform validation for this widget.
validateCreateExtendedData
in interface WidgetManager
validateCreateExtendedData
in class DefaultWidgetManager
layout
- The layout object to which the widget is being upated.widget
- The widget where the extended data is being deleted.extendedData
- The extended data being deleted from the widget.aWidgetSDO
- The physical data object object of the widget.LayoutException
- This exception is to provide the implementation classes the
convenience of throwing an exception instead of returning a
list of application errors.com.ibm.commerce.pagelayout.widget.management.spi.WidgetManager#validateCreateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType)
public java.util.List<ClientError> validateDeleteExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
This method will perform validation for this widget.
validateDeleteExtendedData
in interface WidgetManager
validateDeleteExtendedData
in class DefaultWidgetManager
layout
- The layout object to which the widget is being upated.widget
- The widget where the extended data is being deleted.extendedData
- The extended data being deleted from the widget.aWidgetSDO
- The physical data object object of the widget.LayoutException
- This exception is to provide the implementation classes the
convenience of throwing an exception instead of returning a
list of application errors.com.ibm.commerce.pagelayout.widget.management.spi.WidgetManager#validateDeleteExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType)