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

Class URLLinkWidgetManager

  • All Implemented Interfaces:
    WidgetManager


    public class URLLinkWidgetManager
    extends MarketingWidgetManager
    /** This is the widget manager associated with URL link widgets. It creates, updates, deletes and gets URL links.
    • 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 performs no-operation.
      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 widgetSDO)
      This method delete the URL link.
      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 the URL links for the URL link widget.
      void updateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget, com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extData, com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget widgetSDO)
      This method updates URL link for URL link widget.
      • Methods inherited from class java.lang.Object

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

      • URLLinkWidgetManager

        public URLLinkWidgetManager()
    • Method Detail

      • createExtendedData

        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 aExtData,
                                       com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget aWidgetSDO)
                                throws LayoutException
        This method performs no-operation. Subclasses must override to implement custom behavior.
        Specified by:
        createExtendedData in interface WidgetManager
        Overrides:
        createExtendedData in class MarketingWidgetManager
        Parameters:
        aLayout - The layout object to which the widget belongs to.
        aWidget - The widget where the extended data is being created.
        aExtData - The extended data being created from the 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 deleting the widget.
      • updateExtendedData

        public void updateExtendedData(com.ibm.commerce.pagelayout.facade.datatypes.LayoutType layout,
                                       com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widget,
                                       com.ibm.commerce.pagelayout.facade.datatypes.ExtendedDataType extData,
                                       com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget widgetSDO)
                                throws LayoutException
        This method updates URL link for URL link widget.
        Specified by:
        updateExtendedData in interface WidgetManager
        Overrides:
        updateExtendedData in class MarketingWidgetManager
        Parameters:
        layout - The layout object to which the widget belongs to.
        widget - The widget where the extended data is being updated.
        extData - The extended data being updated from the page layout.
        widgetSDO - 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 deleting the widget.
      • 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 the URL links for the URL link widget.
        Specified by:
        retrieveExtendedData in interface WidgetManager
        Overrides:
        retrieveExtendedData in class MarketingWidgetManager
        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 URL links.
      • deleteExtendedData

        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 aExtData,
                                       com.ibm.commerce.pagelayout.facade.server.entity.datatypes.PageLayoutWidget widgetSDO)
                                throws LayoutException
        This method delete the URL link.
        Specified by:
        deleteExtendedData in interface WidgetManager
        Overrides:
        deleteExtendedData in class MarketingWidgetManager
        Parameters:
        aLayout - The layout object to which the widget belongs to.
        aWidget - The widget where the extended data is being deleted.
        aExtData - The extended data being deleted from the page layout.
        widgetSDO - 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 deleting the URL link.