Class GeneratedTimeRestriction

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

public abstract class GeneratedTimeRestriction extends AbstractRestriction
Generated class for type CMSTimeRestriction.
See Also:
  • Field Details

    • ACTIVEFROM

      public static final String ACTIVEFROM
      Qualifier of the CMSTimeRestriction.activeFrom attribute
      See Also:
    • ACTIVEUNTIL

      public static final String ACTIVEUNTIL
      Qualifier of the CMSTimeRestriction.activeUntil attribute
      See Also:
    • USESTORETIMEZONE

      public static final String USESTORETIMEZONE
      Qualifier of the CMSTimeRestriction.useStoreTimeZone attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedTimeRestriction

      public GeneratedTimeRestriction()
  • Method Details

    • getDefaultAttributeModes

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

      public Date getActiveFrom(SessionContext ctx)
      Generated method - Getter of the CMSTimeRestriction.activeFrom attribute.
      Returns:
      the activeFrom
    • getActiveFrom

      public Date getActiveFrom()
      Generated method - Getter of the CMSTimeRestriction.activeFrom attribute.
      Returns:
      the activeFrom
    • setActiveFrom

      public void setActiveFrom(SessionContext ctx, Date value)
      Generated method - Setter of the CMSTimeRestriction.activeFrom attribute.
      Parameters:
      value - the activeFrom
    • setActiveFrom

      public void setActiveFrom(Date value)
      Generated method - Setter of the CMSTimeRestriction.activeFrom attribute.
      Parameters:
      value - the activeFrom
    • getActiveUntil

      public Date getActiveUntil(SessionContext ctx)
      Generated method - Getter of the CMSTimeRestriction.activeUntil attribute.
      Returns:
      the activeUntil
    • getActiveUntil

      public Date getActiveUntil()
      Generated method - Getter of the CMSTimeRestriction.activeUntil attribute.
      Returns:
      the activeUntil
    • setActiveUntil

      public void setActiveUntil(SessionContext ctx, Date value)
      Generated method - Setter of the CMSTimeRestriction.activeUntil attribute.
      Parameters:
      value - the activeUntil
    • setActiveUntil

      public void setActiveUntil(Date value)
      Generated method - Setter of the CMSTimeRestriction.activeUntil attribute.
      Parameters:
      value - the activeUntil
    • isUseStoreTimeZone

      public Boolean isUseStoreTimeZone(SessionContext ctx)
      Generated method - Getter of the CMSTimeRestriction.useStoreTimeZone attribute.
      Returns:
      the useStoreTimeZone - If true then use the dates relative to the store time zone
    • isUseStoreTimeZone

      public Boolean isUseStoreTimeZone()
      Generated method - Getter of the CMSTimeRestriction.useStoreTimeZone attribute.
      Returns:
      the useStoreTimeZone - If true then use the dates relative to the store time zone
    • isUseStoreTimeZoneAsPrimitive

      public boolean isUseStoreTimeZoneAsPrimitive(SessionContext ctx)
      Generated method - Getter of the CMSTimeRestriction.useStoreTimeZone attribute.
      Returns:
      the useStoreTimeZone - If true then use the dates relative to the store time zone
    • isUseStoreTimeZoneAsPrimitive

      public boolean isUseStoreTimeZoneAsPrimitive()
      Generated method - Getter of the CMSTimeRestriction.useStoreTimeZone attribute.
      Returns:
      the useStoreTimeZone - If true then use the dates relative to the store time zone
    • setUseStoreTimeZone

      public void setUseStoreTimeZone(SessionContext ctx, Boolean value)
      Generated method - Setter of the CMSTimeRestriction.useStoreTimeZone attribute.
      Parameters:
      value - the useStoreTimeZone - If true then use the dates relative to the store time zone
    • setUseStoreTimeZone

      public void setUseStoreTimeZone(Boolean value)
      Generated method - Setter of the CMSTimeRestriction.useStoreTimeZone attribute.
      Parameters:
      value - the useStoreTimeZone - If true then use the dates relative to the store time zone
    • setUseStoreTimeZone

      public void setUseStoreTimeZone(SessionContext ctx, boolean value)
      Generated method - Setter of the CMSTimeRestriction.useStoreTimeZone attribute.
      Parameters:
      value - the useStoreTimeZone - If true then use the dates relative to the store time zone
    • setUseStoreTimeZone

      public void setUseStoreTimeZone(boolean value)
      Generated method - Setter of the CMSTimeRestriction.useStoreTimeZone attribute.
      Parameters:
      value - the useStoreTimeZone - If true then use the dates relative to the store time zone