public class MarketingWidgetManager extends DefaultWidgetManager
CURRENT_ENVIRONMENT, EXECUTION_TYPE_J2EE, EXECUTION_TYPE_J2SE
Constructor and Description |
---|
MarketingWidgetManager() |
Modifier and Type | Method and Description |
---|---|
void |
create(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget)
This method creates E-Marketing spot for widget if requireEMS widget property is set to true.
|
void |
createExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aExtendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method creates the widget display title if display title extended data is passed in.
|
void |
delete(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method deletes the corresponding marketing spot of the widget if requireEMS property of the widget is set to true.
|
void |
deleteExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aextendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method deletes the extended data which is common to all widgets with marketing implementation.
|
void |
retrieveExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO,
java.lang.Integer[] aStorePath,
java.lang.Integer[] aLanguageIds,
SelectionCriteria aCriteria,
java.lang.Object... parameters)
This methods retrieves display title extended data.
|
void |
undo(com.ibm.commerce.foundation.internal.server.services.changehistory.beans.TaskGroupChangeHistoryDataSet tgchDataSet,
java.lang.String widgetId,
LayoutManagementResourceManager layoutResourceManager)
This method is called when undo is invoked.
|
void |
updateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout,
com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget,
com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aExtendedData,
com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
This method updates the widget display title extended data.
|
getWidgetDefinition, init, retrieve, retrieve, update, validateChange, validateChangeExtendedData, validateCreate, validateCreateExtendedData, validateDelete, validateDeleteExtendedData
public void create(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget) throws LayoutException
create
in interface WidgetManager
create
in class DefaultWidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget being removed from the page layout.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void createExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aExtendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
createExtendedData
in interface WidgetManager
createExtendedData
in class DefaultWidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget where the extended data is being created.aExtendedData
- The extended data being created from the page layout.aWidgetSDO
- The physical data object object of the widget.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void updateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aExtendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
updateExtendedData
in interface WidgetManager
updateExtendedData
in class DefaultWidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget where the extended data is being updated.aExtendedData
- The extended data being updated from the page layout.aWidgetSDO
- The physical data object of the widget.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void deleteExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType aextendedData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
deleteExtendedData
in interface WidgetManager
deleteExtendedData
in class DefaultWidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget where the extended data is being deleted.aextendedData
- The extended data being deleted from the page layout.aWidgetSDO
- The physical data object of the widget.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void delete(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO) throws LayoutException
delete
in interface WidgetManager
delete
in class DefaultWidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget being removed from the page layout.aWidgetSDO
- The physical data object of the widget.LayoutException
- This exception is to allow implementation classes to indicate
its invoker about the error that occurred while deleting the
widget.public void retrieveExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType aLayout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType aWidget, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO, java.lang.Integer[] aStorePath, java.lang.Integer[] aLanguageIds, SelectionCriteria aCriteria, java.lang.Object... parameters) throws LayoutException
retrieveExtendedData
in interface WidgetManager
retrieveExtendedData
in class DefaultWidgetManager
aLayout
- The layout object to which the widget belongs to.aWidget
- The widget object that needs to be populated.aWidgetSDO
- The physical data object of the widget.aStorePath
- The store path of the request.aLanguageIds
- The requested language ids.aCriteria
- The selection criteria of the request.parameters
- This list would contain the selection criteria object.LayoutException
- This exception is thrown when error occurs while retrieving
the widget display title information.public void undo(com.ibm.commerce.foundation.internal.server.services.changehistory.beans.TaskGroupChangeHistoryDataSet tgchDataSet, java.lang.String widgetId, LayoutManagementResourceManager layoutResourceManager) throws LayoutException
undo
in interface WidgetManager
undo
in class DefaultWidgetManager
tgchDataSet
- The change history recordwidgetId
- The widget idlayoutResourceManager
- The Layout Resource ManagerLayoutException
- If there is an error. This should be raised if all undo actions performed by the
underlying infrastructure should be rolled back.