Class GeneratedMerchandisingCarouselComponent

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
MerchandisingCarouselComponent

public abstract class GeneratedMerchandisingCarouselComponent extends SimpleCMSComponent
Generated class for type MerchandisingCarouselComponent.
See Also:
  • Field Details

    • NUMBERTODISPLAY

      public static final String NUMBERTODISPLAY
      Qualifier of the MerchandisingCarouselComponent.numberToDisplay attribute
      See Also:
    • STRATEGY

      public static final String STRATEGY
      Qualifier of the MerchandisingCarouselComponent.strategy attribute
      See Also:
    • TITLE

      public static final String TITLE
      Qualifier of the MerchandisingCarouselComponent.title attribute
      See Also:
    • BACKGROUNDCOLOUR

      public static final String BACKGROUNDCOLOUR
      Qualifier of the MerchandisingCarouselComponent.backgroundColour attribute
      See Also:
    • TEXTCOLOUR

      public static final String TEXTCOLOUR
      Qualifier of the MerchandisingCarouselComponent.textColour attribute
      See Also:
    • SCROLL

      public static final String SCROLL
      Qualifier of the MerchandisingCarouselComponent.scroll attribute
      See Also:
    • VIEWPORTPERCENTAGE

      public static final String VIEWPORTPERCENTAGE
      Qualifier of the MerchandisingCarouselComponent.viewportPercentage attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedMerchandisingCarouselComponent

      public GeneratedMerchandisingCarouselComponent()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedSimpleCMSComponent
    • getBackgroundColour

      public String getBackgroundColour(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.backgroundColour attribute.
      Returns:
      the backgroundColour - Carousel background colour.
    • getBackgroundColour

      public String getBackgroundColour()
      Generated method - Getter of the MerchandisingCarouselComponent.backgroundColour attribute.
      Returns:
      the backgroundColour - Carousel background colour.
    • setBackgroundColour

      public void setBackgroundColour(SessionContext ctx, String value)
      Generated method - Setter of the MerchandisingCarouselComponent.backgroundColour attribute.
      Parameters:
      value - the backgroundColour - Carousel background colour.
    • setBackgroundColour

      public void setBackgroundColour(String value)
      Generated method - Setter of the MerchandisingCarouselComponent.backgroundColour attribute.
      Parameters:
      value - the backgroundColour - Carousel background colour.
    • getNumberToDisplay

      public Integer getNumberToDisplay(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.numberToDisplay attribute.
      Returns:
      the numberToDisplay - How many items to show in the carousel.
    • getNumberToDisplay

      public Integer getNumberToDisplay()
      Generated method - Getter of the MerchandisingCarouselComponent.numberToDisplay attribute.
      Returns:
      the numberToDisplay - How many items to show in the carousel.
    • getNumberToDisplayAsPrimitive

      public int getNumberToDisplayAsPrimitive(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.numberToDisplay attribute.
      Returns:
      the numberToDisplay - How many items to show in the carousel.
    • getNumberToDisplayAsPrimitive

      public int getNumberToDisplayAsPrimitive()
      Generated method - Getter of the MerchandisingCarouselComponent.numberToDisplay attribute.
      Returns:
      the numberToDisplay - How many items to show in the carousel.
    • setNumberToDisplay

      public void setNumberToDisplay(SessionContext ctx, Integer value)
      Generated method - Setter of the MerchandisingCarouselComponent.numberToDisplay attribute.
      Parameters:
      value - the numberToDisplay - How many items to show in the carousel.
    • setNumberToDisplay

      public void setNumberToDisplay(Integer value)
      Generated method - Setter of the MerchandisingCarouselComponent.numberToDisplay attribute.
      Parameters:
      value - the numberToDisplay - How many items to show in the carousel.
    • setNumberToDisplay

      public void setNumberToDisplay(SessionContext ctx, int value)
      Generated method - Setter of the MerchandisingCarouselComponent.numberToDisplay attribute.
      Parameters:
      value - the numberToDisplay - How many items to show in the carousel.
    • setNumberToDisplay

      public void setNumberToDisplay(int value)
      Generated method - Setter of the MerchandisingCarouselComponent.numberToDisplay attribute.
      Parameters:
      value - the numberToDisplay - How many items to show in the carousel.
    • getScroll

      public EnumerationValue getScroll(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.scroll attribute.
      Returns:
      the scroll - Scroll type
    • getScroll

      public EnumerationValue getScroll()
      Generated method - Getter of the MerchandisingCarouselComponent.scroll attribute.
      Returns:
      the scroll - Scroll type
    • setScroll

      public void setScroll(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the MerchandisingCarouselComponent.scroll attribute.
      Parameters:
      value - the scroll - Scroll type
    • setScroll

      public void setScroll(EnumerationValue value)
      Generated method - Setter of the MerchandisingCarouselComponent.scroll attribute.
      Parameters:
      value - the scroll - Scroll type
    • getStrategy

      public String getStrategy(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.strategy attribute.
      Returns:
      the strategy - Strategy to use for carousel.
    • getStrategy

      public String getStrategy()
      Generated method - Getter of the MerchandisingCarouselComponent.strategy attribute.
      Returns:
      the strategy - Strategy to use for carousel.
    • setStrategy

      public void setStrategy(SessionContext ctx, String value)
      Generated method - Setter of the MerchandisingCarouselComponent.strategy attribute.
      Parameters:
      value - the strategy - Strategy to use for carousel.
    • setStrategy

      public void setStrategy(String value)
      Generated method - Setter of the MerchandisingCarouselComponent.strategy attribute.
      Parameters:
      value - the strategy - Strategy to use for carousel.
    • getTextColour

      public String getTextColour(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.textColour attribute.
      Returns:
      the textColour - Carousel text colour.
    • getTextColour

      public String getTextColour()
      Generated method - Getter of the MerchandisingCarouselComponent.textColour attribute.
      Returns:
      the textColour - Carousel text colour.
    • setTextColour

      public void setTextColour(SessionContext ctx, String value)
      Generated method - Setter of the MerchandisingCarouselComponent.textColour attribute.
      Parameters:
      value - the textColour - Carousel text colour.
    • setTextColour

      public void setTextColour(String value)
      Generated method - Setter of the MerchandisingCarouselComponent.textColour attribute.
      Parameters:
      value - the textColour - Carousel text colour.
    • getTitle

      public String getTitle(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.title attribute.
      Returns:
      the title - Carousel title.
    • getTitle

      public String getTitle()
      Generated method - Getter of the MerchandisingCarouselComponent.title attribute.
      Returns:
      the title - Carousel title.
    • getAllTitle

      public Map<Language,String> getAllTitle(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.title attribute.
      Returns:
      the localized title - Carousel title.
    • getAllTitle

      public Map<Language,String> getAllTitle()
      Generated method - Getter of the MerchandisingCarouselComponent.title attribute.
      Returns:
      the localized title - Carousel title.
    • setTitle

      public void setTitle(SessionContext ctx, String value)
      Generated method - Setter of the MerchandisingCarouselComponent.title attribute.
      Parameters:
      value - the title - Carousel title.
    • setTitle

      public void setTitle(String value)
      Generated method - Setter of the MerchandisingCarouselComponent.title attribute.
      Parameters:
      value - the title - Carousel title.
    • setAllTitle

      public void setAllTitle(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the MerchandisingCarouselComponent.title attribute.
      Parameters:
      value - the title - Carousel title.
    • setAllTitle

      public void setAllTitle(Map<Language,String> value)
      Generated method - Setter of the MerchandisingCarouselComponent.title attribute.
      Parameters:
      value - the title - Carousel title.
    • getViewportPercentage

      public Integer getViewportPercentage(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.viewportPercentage attribute.
      Returns:
      the viewportPercentage - Viewport percentage to trigger carousel view event.
    • getViewportPercentage

      public Integer getViewportPercentage()
      Generated method - Getter of the MerchandisingCarouselComponent.viewportPercentage attribute.
      Returns:
      the viewportPercentage - Viewport percentage to trigger carousel view event.
    • getViewportPercentageAsPrimitive

      public int getViewportPercentageAsPrimitive(SessionContext ctx)
      Generated method - Getter of the MerchandisingCarouselComponent.viewportPercentage attribute.
      Returns:
      the viewportPercentage - Viewport percentage to trigger carousel view event.
    • getViewportPercentageAsPrimitive

      public int getViewportPercentageAsPrimitive()
      Generated method - Getter of the MerchandisingCarouselComponent.viewportPercentage attribute.
      Returns:
      the viewportPercentage - Viewport percentage to trigger carousel view event.
    • setViewportPercentage

      public void setViewportPercentage(SessionContext ctx, Integer value)
      Generated method - Setter of the MerchandisingCarouselComponent.viewportPercentage attribute.
      Parameters:
      value - the viewportPercentage - Viewport percentage to trigger carousel view event.
    • setViewportPercentage

      public void setViewportPercentage(Integer value)
      Generated method - Setter of the MerchandisingCarouselComponent.viewportPercentage attribute.
      Parameters:
      value - the viewportPercentage - Viewport percentage to trigger carousel view event.
    • setViewportPercentage

      public void setViewportPercentage(SessionContext ctx, int value)
      Generated method - Setter of the MerchandisingCarouselComponent.viewportPercentage attribute.
      Parameters:
      value - the viewportPercentage - Viewport percentage to trigger carousel view event.
    • setViewportPercentage

      public void setViewportPercentage(int value)
      Generated method - Setter of the MerchandisingCarouselComponent.viewportPercentage attribute.
      Parameters:
      value - the viewportPercentage - Viewport percentage to trigger carousel view event.