Class GeneratedTimeRestriction

    • Field Detail

      • ACTIVEFROM

        public static final java.lang.String ACTIVEFROM
        Qualifier of the CMSTimeRestriction.activeFrom attribute
        See Also:
        Constant Field Values
      • ACTIVEUNTIL

        public static final java.lang.String ACTIVEUNTIL
        Qualifier of the CMSTimeRestriction.activeUntil attribute
        See Also:
        Constant Field Values
      • USESTORETIMEZONE

        public static final java.lang.String USESTORETIMEZONE
        Qualifier of the CMSTimeRestriction.useStoreTimeZone attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedTimeRestriction

        public GeneratedTimeRestriction()
    • Method Detail

      • getActiveFrom

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

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

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

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

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

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

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

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

        public java.lang.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 java.lang.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,
                                        java.lang.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​(java.lang.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