Class GeneratedAbstractPromotionRestriction

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

public abstract class GeneratedAbstractPromotionRestriction extends GenericItem
Generated class for type AbstractPromotionRestriction.
See Also:
  • Field Details

    • RESTRICTIONTYPE

      public static final String RESTRICTIONTYPE
      Qualifier of the AbstractPromotionRestriction.restrictionType attribute
      See Also:
    • DESCRIPTIONPATTERN

      public static final String DESCRIPTIONPATTERN
      Qualifier of the AbstractPromotionRestriction.descriptionPattern attribute
      See Also:
    • RENDEREDDESCRIPTION

      public static final String RENDEREDDESCRIPTION
      Qualifier of the AbstractPromotionRestriction.renderedDescription attribute
      See Also:
    • PROMOTION

      public static final String PROMOTION
      Qualifier of the AbstractPromotionRestriction.promotion attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedAbstractPromotionRestriction

      public GeneratedAbstractPromotionRestriction()
  • Method Details

    • getDefaultAttributeModes

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

      public String getDescriptionPattern(SessionContext ctx)
      Generated method - Getter of the AbstractPromotionRestriction.descriptionPattern attribute.
      Returns:
      the descriptionPattern - The description of the restriction (supports message pattern).
    • getDescriptionPattern

      public String getDescriptionPattern()
      Generated method - Getter of the AbstractPromotionRestriction.descriptionPattern attribute.
      Returns:
      the descriptionPattern - The description of the restriction (supports message pattern).
    • getAllDescriptionPattern

      public Map<Language,String> getAllDescriptionPattern(SessionContext ctx)
      Generated method - Getter of the AbstractPromotionRestriction.descriptionPattern attribute.
      Returns:
      the localized descriptionPattern - The description of the restriction (supports message pattern).
    • getAllDescriptionPattern

      public Map<Language,String> getAllDescriptionPattern()
      Generated method - Getter of the AbstractPromotionRestriction.descriptionPattern attribute.
      Returns:
      the localized descriptionPattern - The description of the restriction (supports message pattern).
    • setDescriptionPattern

      public void setDescriptionPattern(SessionContext ctx, String value)
      Generated method - Setter of the AbstractPromotionRestriction.descriptionPattern attribute.
      Parameters:
      value - the descriptionPattern - The description of the restriction (supports message pattern).
    • setDescriptionPattern

      public void setDescriptionPattern(String value)
      Generated method - Setter of the AbstractPromotionRestriction.descriptionPattern attribute.
      Parameters:
      value - the descriptionPattern - The description of the restriction (supports message pattern).
    • setAllDescriptionPattern

      public void setAllDescriptionPattern(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the AbstractPromotionRestriction.descriptionPattern attribute.
      Parameters:
      value - the descriptionPattern - The description of the restriction (supports message pattern).
    • setAllDescriptionPattern

      public void setAllDescriptionPattern(Map<Language,String> value)
      Generated method - Setter of the AbstractPromotionRestriction.descriptionPattern attribute.
      Parameters:
      value - the descriptionPattern - The description of the restriction (supports message pattern).
    • getPromotion

      public AbstractPromotion getPromotion(SessionContext ctx)
      Generated method - Getter of the AbstractPromotionRestriction.promotion attribute.
      Returns:
      the promotion - The promotion that this restriction is part of
    • getPromotion

      public AbstractPromotion getPromotion()
      Generated method - Getter of the AbstractPromotionRestriction.promotion attribute.
      Returns:
      the promotion - The promotion that this restriction is part of
    • setPromotion

      public void setPromotion(SessionContext ctx, AbstractPromotion value)
      Generated method - Setter of the AbstractPromotionRestriction.promotion attribute.
      Parameters:
      value - the promotion - The promotion that this restriction is part of
    • setPromotion

      public void setPromotion(AbstractPromotion value)
      Generated method - Setter of the AbstractPromotionRestriction.promotion attribute.
      Parameters:
      value - the promotion - The promotion that this restriction is part of
    • getRenderedDescription

      public abstract String getRenderedDescription(SessionContext ctx)
      Generated method - Getter of the AbstractPromotionRestriction.renderedDescription attribute.
      Returns:
      the renderedDescription - The readonly rendered description of this restriction.
    • getRenderedDescription

      public String getRenderedDescription()
      Generated method - Getter of the AbstractPromotionRestriction.renderedDescription attribute.
      Returns:
      the renderedDescription - The readonly rendered description of this restriction.
    • getRestrictionType

      public abstract String getRestrictionType(SessionContext ctx)
      Generated method - Getter of the AbstractPromotionRestriction.restrictionType attribute.
      Returns:
      the restrictionType - The type of this restriction.
    • getRestrictionType

      public String getRestrictionType()
      Generated method - Getter of the AbstractPromotionRestriction.restrictionType attribute.
      Returns:
      the restrictionType - The type of this restriction.
    • getAllRestrictionType

      public abstract Map<Language,String> getAllRestrictionType(SessionContext ctx)
      Generated method - Getter of the AbstractPromotionRestriction.restrictionType attribute.
      Returns:
      the localized restrictionType - The type of this restriction.
    • getAllRestrictionType

      public Map<Language,String> getAllRestrictionType()
      Generated method - Getter of the AbstractPromotionRestriction.restrictionType attribute.
      Returns:
      the localized restrictionType - The type of this restriction.