com.ibm.commerce.pagelayout.widget.management.impl

Class DefaultContentAndWebActivityWidgetManager

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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 aExtData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
      This method will create extended data for and related to this widget.
      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 aExtData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
      This method will delete the extended data for this widget.
      void retrieveExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget widgetSDO, java.lang.Integer[] storePath, java.lang.Integer[] languageIds, SelectionCriteria criteria, java.lang.Object... parameters)
      This methods retrieves extended data which are common to all widgets.
      void update(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 performs no-operation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultContentAndWebActivityWidgetManager

        public DefaultContentAndWebActivityWidgetManager()
    • Method Detail

      • retrieveExtendedData

        public void retrieveExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
                                         com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget,
                                         com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget widgetSDO,
                                         java.lang.Integer[] storePath,
                                         java.lang.Integer[] languageIds,
                                         SelectionCriteria criteria,
                                         java.lang.Object... parameters)
                                  throws LayoutException
        This methods retrieves extended data which are common to all widgets. Subclasses should call this super method before implementing custom behavior.
        Specified by:
        retrieveExtendedData in interface WidgetManager
        Overrides:
        retrieveExtendedData in class DefaultContentWidgetManager
        Parameters:
        layout - The layout object to which the widget belongs to.
        widget - The widget object that needs to be populated.
        widgetSDO - The physical data object of the widget.
        storePath - The store path of the request.
        languageIds - The requested language ids.
        criteria - The selection criteria of the request.
        parameters - This list would contain the selection criteria object.
        Throws:
        LayoutException - This exception is thrown when error occurs while retrieving the widget display title information.
      • update

        public void update(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
        This method performs no-operation. Subclasses should call this super method before implementing custom behavior.
        Specified by:
        update in interface WidgetManager
        Overrides:
        update in class DefaultWidgetManager
        Parameters:
        aLayout - The layout object to which the widget belongs to.
        aWidget - The widget being updated on a page layout.
        aWidgetSDO - The physical data object of the widget.
        Throws:
        LayoutException - This exception is to allow implementation classes to indicate its invoker about the error that occurred while persisting the widget.