Class RestrictionTypeModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class RestrictionTypeModel
    extends ComposedTypeModel
    Generated model class for type RestrictionType first defined at extension cms2.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

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

      • RestrictionTypeModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RestrictionTypeModel​(java.lang.Boolean _catalogItemType,
                                    java.lang.String _code,
                                    java.lang.Boolean _generate,
                                    java.lang.Boolean _singleton,
                                    ComposedTypeModel _superType)
        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:
        _catalogItemType - initial attribute declared by type ComposedType at extension catalog
        _code - initial attribute declared by type Type at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _singleton - initial attribute declared by type ComposedType at extension core
        _superType - initial attribute declared by type ComposedType at extension core
      • RestrictionTypeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RestrictionTypeModel​(java.lang.Boolean _catalogItemType,
                                    java.lang.String _code,
                                    java.lang.Boolean _generate,
                                    ItemModel _owner,
                                    java.lang.Boolean _singleton,
                                    ComposedTypeModel _superType)
        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:
        _catalogItemType - initial attribute declared by type ComposedType at extension catalog
        _code - initial attribute declared by type Type at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _owner - initial attribute declared by type Item at extension core
        _singleton - initial attribute declared by type ComposedType at extension core
        _superType - initial attribute declared by type ComposedType at extension core
    • Method Detail

      • getPageTypes

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

        @Accessor(qualifier="pageTypes",
                  type=SETTER)
        public void setPageTypes​(java.util.Collection<CMSPageTypeModel> value)
        Generated method - Setter of RestrictionType.pageTypes attribute defined at extension cms2.
        Parameters:
        value - the pageTypes