com.ibm.commerce.pagelayout.internal.client.taglib

Class WidgetImportTag.URLManager

  • java.lang.Object
    • com.ibm.commerce.pagelayout.internal.client.taglib.WidgetImportTag.URLManager
  • Enclosing class:
    WidgetImportTag


    public class WidgetImportTag.URLManager
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      URLManager(java.lang.String newUrl)
      Constructor of URLManager.
      URLManager(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition)
      Constructor of URLManager.
      URLManager(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition, java.util.Map widgetJSON)
      Constructor of URLManager.
      URLManager(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition, com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widgetType)
      Constructor of URLManager.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Map<java.lang.String,java.lang.String> aggregateProperites(java.util.Map paramTagProperties)
      The order in which properties are set are: Set the properties set in widget definition.
      java.lang.String getUrl()
      Get the URL to import.
      void setUrl(java.lang.String url)
      Set the URL to import.
      void setWidget(com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widgetType)
      Set the widget type.
      void setWidgetDefinition(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition)
      Set the widget definition.
      void setWidgetJSON(java.util.Map widgetJSON)
      Set the widget JSON.
      java.lang.String toString()
      Override toString method.
      • Methods inherited from class java.lang.Object

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

      • URLManager

        public URLManager(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition)
        Constructor of URLManager. It sets WidgetDefinition.
        Parameters:
        widgetDefinition - The widget definition.
      • URLManager

        public URLManager(java.lang.String newUrl)
        Constructor of URLManager. It sets URL.
        Parameters:
        newUrl - The input url.
      • URLManager

        public URLManager(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition,
                          com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widgetType)
        Constructor of URLManager. It sets WidgetDefinition and Widget.
        Parameters:
        widgetDefinition - The widget definition.
        widgetType - The widget.
      • URLManager

        public URLManager(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition,
                          java.util.Map widgetJSON)
        Constructor of URLManager. It sets WidgetDefinition and Widget.
        Parameters:
        widgetDefinition - The widget definition.
        widgetJSON - The widget JSON.
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Get the URL to import.
        Returns:
        The URL.
      • setUrl

        public void setUrl(java.lang.String url)
        Set the URL to import.
        Parameters:
        url - The URL input.
      • setWidgetDefinition

        public void setWidgetDefinition(com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType widgetDefinition)
        Set the widget definition.
        Parameters:
        widgetDefinition - The input widget definition.
      • setWidget

        public void setWidget(com.ibm.commerce.pagelayout.facade.datatypes.WidgetType widgetType)
        Set the widget type.
        Parameters:
        widgetType - The input widget.
      • setWidgetJSON

        public void setWidgetJSON(java.util.Map widgetJSON)
        Set the widget JSON.
        Parameters:
        widgetJSON - The input widget JSON.
      • aggregateProperites

        public java.util.Map<java.lang.String,java.lang.String> aggregateProperites(java.util.Map paramTagProperties)
        The order in which properties are set are:
        • Set the properties set in widget definition.
        • Set the properties passed through wcf:param sub-tag.
        • Set the properties set by the business user for this widget.
        Parameters:
        paramTagProperties -
        Returns:
        Map of final set of properties aggregated for the widget.
      • toString

        public java.lang.String toString()
        Override toString method. Prints details about the widgetImport tag if trace is enabled and log level is set to FINE
        Overrides:
        toString in class java.lang.Object
        Returns:
        - String representation of this object