Class ImageMapComponentModel

All Implemented Interfaces:
Serializable

public class ImageMapComponentModel extends AbstractBannerComponentModel
Generated model class for type ImageMapComponent first defined at extension acceleratorcms.

It represents image map component that extends AbstractBannerComponent and contains one more attribute.

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • IMAGEMAPHTML

      public static final String IMAGEMAPHTML
      Generated constant - Attribute key of ImageMapComponent.imageMapHTML attribute defined at extension acceleratorcms.
      See Also:
  • Constructor Details

    • ImageMapComponentModel

      public ImageMapComponentModel()
      Generated constructor - Default constructor for generic creation.
    • ImageMapComponentModel

      public ImageMapComponentModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • ImageMapComponentModel

      @Deprecated(since="4.1.1", forRemoval=true) public ImageMapComponentModel(CatalogVersionModel _catalogVersion, boolean _external, String _uid)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _external - initial attribute declared by type AbstractBannerComponent at extension cms2lib
      _uid - initial attribute declared by type CMSItem at extension cms2
    • ImageMapComponentModel

      @Deprecated(since="4.1.1", forRemoval=true) public ImageMapComponentModel(CatalogVersionModel _catalogVersion, boolean _external, ItemModel _owner, String _uid)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _external - initial attribute declared by type AbstractBannerComponent at extension cms2lib
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type CMSItem at extension cms2
  • Method Details

    • getImageMapHTML

      @Accessor(qualifier="imageMapHTML", type=GETTER) public String getImageMapHTML()
      Generated method - Getter of the ImageMapComponent.imageMapHTML attribute defined at extension acceleratorcms.
      Returns:
      the imageMapHTML - It is localized HTML string that is displayed under the banner.
    • getImageMapHTML

      @Accessor(qualifier="imageMapHTML", type=GETTER) public String getImageMapHTML(Locale loc)
      Generated method - Getter of the ImageMapComponent.imageMapHTML attribute defined at extension acceleratorcms.
      Parameters:
      loc - the value localization key
      Returns:
      the imageMapHTML - It is localized HTML string that is displayed under the banner.
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setImageMapHTML

      @Accessor(qualifier="imageMapHTML", type=SETTER) public void setImageMapHTML(String value)
      Generated method - Setter of ImageMapComponent.imageMapHTML attribute defined at extension acceleratorcms.
      Parameters:
      value - the imageMapHTML - It is localized HTML string that is displayed under the banner.
    • setImageMapHTML

      @Accessor(qualifier="imageMapHTML", type=SETTER) public void setImageMapHTML(String value, Locale loc)
      Generated method - Setter of ImageMapComponent.imageMapHTML attribute defined at extension acceleratorcms.
      Parameters:
      value - the imageMapHTML - It is localized HTML string that is displayed under the banner.
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language