Class MerchandisingCarouselComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class MerchandisingCarouselComponentModel
    extends SimpleCMSComponentModel
    Generated model class for type MerchandisingCarouselComponent first defined at extension merchandisingaddon.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String NUMBERTODISPLAY
        Generated constant - Attribute key of MerchandisingCarouselComponent.numberToDisplay attribute defined at extension merchandisingaddon.
        See Also:
        Constant Field Values
      • STRATEGY

        public static final java.lang.String STRATEGY
        Generated constant - Attribute key of MerchandisingCarouselComponent.strategy attribute defined at extension merchandisingaddon.
        See Also:
        Constant Field Values
      • TITLE

        public static final java.lang.String TITLE
        Generated constant - Attribute key of MerchandisingCarouselComponent.title attribute defined at extension merchandisingaddon.
        See Also:
        Constant Field Values
      • BACKGROUNDCOLOUR

        public static final java.lang.String BACKGROUNDCOLOUR
        Generated constant - Attribute key of MerchandisingCarouselComponent.backgroundColour attribute defined at extension merchandisingaddon.
        See Also:
        Constant Field Values
      • TEXTCOLOUR

        public static final java.lang.String TEXTCOLOUR
        Generated constant - Attribute key of MerchandisingCarouselComponent.textColour attribute defined at extension merchandisingaddon.
        See Also:
        Constant Field Values
      • SCROLL

        public static final java.lang.String SCROLL
        Generated constant - Attribute key of MerchandisingCarouselComponent.scroll attribute defined at extension merchandisingaddon.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MerchandisingCarouselComponentModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public MerchandisingCarouselComponentModel​(CatalogVersionModel _catalogVersion,
                                                   int _numberToDisplay,
                                                   java.lang.String _strategy,
                                                   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
        _numberToDisplay - initial attribute declared by type MerchandisingCarouselComponent at extension merchandisingaddon
        _strategy - initial attribute declared by type MerchandisingCarouselComponent at extension merchandisingaddon
        _uid - initial attribute declared by type CMSItem at extension cms2
      • MerchandisingCarouselComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public MerchandisingCarouselComponentModel​(CatalogVersionModel _catalogVersion,
                                                   int _numberToDisplay,
                                                   ItemModel _owner,
                                                   java.lang.String _strategy,
                                                   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
        _numberToDisplay - initial attribute declared by type MerchandisingCarouselComponent at extension merchandisingaddon
        _owner - initial attribute declared by type Item at extension core
        _strategy - initial attribute declared by type MerchandisingCarouselComponent at extension merchandisingaddon
        _uid - initial attribute declared by type CMSItem at extension cms2
    • Method Detail

      • getBackgroundColour

        @Accessor(qualifier="backgroundColour",
                  type=GETTER)
        public java.lang.String getBackgroundColour()
        Generated method - Getter of the MerchandisingCarouselComponent.backgroundColour attribute defined at extension merchandisingaddon.
        Returns:
        the backgroundColour - Carousel background colour.
      • getNumberToDisplay

        @Accessor(qualifier="numberToDisplay",
                  type=GETTER)
        public int getNumberToDisplay()
        Generated method - Getter of the MerchandisingCarouselComponent.numberToDisplay attribute defined at extension merchandisingaddon.
        Returns:
        the numberToDisplay - How many items to show in the carousel.
      • getScroll

        @Accessor(qualifier="scroll",
                  type=GETTER)
        public ScrollType getScroll()
        Generated method - Getter of the MerchandisingCarouselComponent.scroll attribute defined at extension merchandisingaddon.
        Returns:
        the scroll
      • getStrategy

        @Accessor(qualifier="strategy",
                  type=GETTER)
        public java.lang.String getStrategy()
        Generated method - Getter of the MerchandisingCarouselComponent.strategy attribute defined at extension merchandisingaddon.
        Returns:
        the strategy - Strategy to use for carousel.
      • getTextColour

        @Accessor(qualifier="textColour",
                  type=GETTER)
        public java.lang.String getTextColour()
        Generated method - Getter of the MerchandisingCarouselComponent.textColour attribute defined at extension merchandisingaddon.
        Returns:
        the textColour - Carousel text colour.
      • getTitle

        @Accessor(qualifier="title",
                  type=GETTER)
        public java.lang.String getTitle()
        Generated method - Getter of the MerchandisingCarouselComponent.title attribute defined at extension merchandisingaddon.
        Returns:
        the title - Carousel title.
      • setBackgroundColour

        @Accessor(qualifier="backgroundColour",
                  type=SETTER)
        public void setBackgroundColour​(java.lang.String value)
        Generated method - Setter of MerchandisingCarouselComponent.backgroundColour attribute defined at extension merchandisingaddon.
        Parameters:
        value - the backgroundColour - Carousel background colour.
      • setNumberToDisplay

        @Accessor(qualifier="numberToDisplay",
                  type=SETTER)
        public void setNumberToDisplay​(int value)
        Generated method - Setter of MerchandisingCarouselComponent.numberToDisplay attribute defined at extension merchandisingaddon.
        Parameters:
        value - the numberToDisplay - How many items to show in the carousel.
      • setScroll

        @Accessor(qualifier="scroll",
                  type=SETTER)
        public void setScroll​(ScrollType value)
        Generated method - Setter of MerchandisingCarouselComponent.scroll attribute defined at extension merchandisingaddon.
        Parameters:
        value - the scroll
      • setStrategy

        @Accessor(qualifier="strategy",
                  type=SETTER)
        public void setStrategy​(java.lang.String value)
        Generated method - Setter of MerchandisingCarouselComponent.strategy attribute defined at extension merchandisingaddon.
        Parameters:
        value - the strategy - Strategy to use for carousel.
      • setTextColour

        @Accessor(qualifier="textColour",
                  type=SETTER)
        public void setTextColour​(java.lang.String value)
        Generated method - Setter of MerchandisingCarouselComponent.textColour attribute defined at extension merchandisingaddon.
        Parameters:
        value - the textColour - Carousel text colour.
      • setTitle

        @Accessor(qualifier="title",
                  type=SETTER)
        public void setTitle​(java.lang.String value)
        Generated method - Setter of MerchandisingCarouselComponent.title attribute defined at extension merchandisingaddon.
        Parameters:
        value - the title - Carousel title.