Class CMSBaseStoreTimeRestrictionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CMSBaseStoreTimeRestrictionModel
    extends CMSTimeRestrictionModel
    Generated model class for type CMSBaseStoreTimeRestriction first defined at extension cms2.

    Extension of the CMSTimeRestriction to restrict for a specific set of BaseStores.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String PASSIFSTOREDOESNTMATCH
        Generated constant - Attribute key of CMSBaseStoreTimeRestriction.passIfStoreDoesntMatch attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • BASESTORES

        public static final java.lang.String BASESTORES
        Generated constant - Attribute key of CMSBaseStoreTimeRestriction.baseStores attribute defined at extension cms2.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CMSBaseStoreTimeRestrictionModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSBaseStoreTimeRestrictionModel​(java.util.Collection<BaseStoreModel> _baseStores,
                                                CatalogVersionModel _catalogVersion,
                                                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:
        _baseStores - initial attribute declared by type CMSBaseStoreTimeRestriction at extension cms2
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _uid - initial attribute declared by type CMSItem at extension cms2
      • CMSBaseStoreTimeRestrictionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSBaseStoreTimeRestrictionModel​(java.util.Collection<BaseStoreModel> _baseStores,
                                                CatalogVersionModel _catalogVersion,
                                                ItemModel _owner,
                                                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:
        _baseStores - initial attribute declared by type CMSBaseStoreTimeRestriction at extension cms2
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type CMSItem at extension cms2
    • Method Detail

      • getBaseStores

        @Accessor(qualifier="baseStores",
                  type=GETTER)
        public java.util.Collection<BaseStoreModel> getBaseStores()
        Generated method - Getter of the CMSBaseStoreTimeRestriction.baseStores attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the baseStores
      • getPassIfStoreDoesntMatch

        @Accessor(qualifier="passIfStoreDoesntMatch",
                  type=GETTER)
        public java.lang.Boolean getPassIfStoreDoesntMatch()
        Generated method - Getter of the CMSBaseStoreTimeRestriction.passIfStoreDoesntMatch attribute defined at extension cms2.
        Returns:
        the passIfStoreDoesntMatch - If session store doesn't match store of the restriction then allow a pass
      • setBaseStores

        @Accessor(qualifier="baseStores",
                  type=SETTER)
        public void setBaseStores​(java.util.Collection<BaseStoreModel> value)
        Generated method - Setter of CMSBaseStoreTimeRestriction.baseStores attribute defined at extension cms2.
        Parameters:
        value - the baseStores
      • setPassIfStoreDoesntMatch

        @Accessor(qualifier="passIfStoreDoesntMatch",
                  type=SETTER)
        public void setPassIfStoreDoesntMatch​(java.lang.Boolean value)
        Generated method - Setter of CMSBaseStoreTimeRestriction.passIfStoreDoesntMatch attribute defined at extension cms2.
        Parameters:
        value - the passIfStoreDoesntMatch - If session store doesn't match store of the restriction then allow a pass