Class DynamicBannerComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class DynamicBannerComponentModel
    extends AbstractBannerComponentModel
    Generated model class for type DynamicBannerComponent first defined at extension acceleratorcms.

    Banner component implementation that displays media that code is dynamically evaluated basing on given parameters.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • MEDIACODEPATTERN

        public static final java.lang.String MEDIACODEPATTERN
        Generated constant - Attribute key of DynamicBannerComponent.mediaCodePattern attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DynamicBannerComponentModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DynamicBannerComponentModel​(CatalogVersionModel _catalogVersion,
                                           boolean _external,
                                           java.lang.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
      • DynamicBannerComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public DynamicBannerComponentModel​(CatalogVersionModel _catalogVersion,
                                           boolean _external,
                                           ItemModel _owner,
                                           java.lang.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 Detail

      • getMediaCodePattern

        @Accessor(qualifier="mediaCodePattern",
                  type=GETTER)
        public java.lang.String getMediaCodePattern()
        Generated method - Getter of the DynamicBannerComponent.mediaCodePattern attribute defined at extension acceleratorcms.
        Returns:
        the mediaCodePattern - Media code pattern that will be used for evaluation.
      • setMediaCodePattern

        @Accessor(qualifier="mediaCodePattern",
                  type=SETTER)
        public void setMediaCodePattern​(java.lang.String value)
        Generated method - Setter of DynamicBannerComponent.mediaCodePattern attribute defined at extension acceleratorcms.
        Parameters:
        value - the mediaCodePattern - Media code pattern that will be used for evaluation.