Class CMSPageTypeModel

All Implemented Interfaces:
Serializable

public class CMSPageTypeModel extends ComposedTypeModel
Generated model class for type CMSPageType first defined at extension cms2.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _APPLICABLERESTRICTIONTYPEFORPAGETYPES

      public static final String _APPLICABLERESTRICTIONTYPEFORPAGETYPES
      Generated relation code constant for relation ApplicableRestrictionTypeForPageTypes defining source attribute restrictionTypes in extension cms2.
      See Also:
    • _VALIDPAGETYPESFORTEMPLATES

      public static final String _VALIDPAGETYPESFORTEMPLATES
      Generated relation code constant for relation ValidPageTypesForTemplates defining source attribute templates in extension cms2.
      See Also:
    • PREVIEWDISABLED

      public static final String PREVIEWDISABLED
      Generated constant - Attribute key of CMSPageType.previewDisabled attribute defined at extension cms2.
      See Also:
    • RESTRICTIONTYPES

      public static final String RESTRICTIONTYPES
      Generated constant - Attribute key of CMSPageType.restrictionTypes attribute defined at extension cms2.
      See Also:
    • TEMPLATES

      public static final String TEMPLATES
      Generated constant - Attribute key of CMSPageType.templates attribute defined at extension cms2.
      See Also:
  • Constructor Details

    • CMSPageTypeModel

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

      public CMSPageTypeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • CMSPageTypeModel

      @Deprecated(since="4.1.1", forRemoval=true) public CMSPageTypeModel(Boolean _catalogItemType, String _code, Boolean _generate, 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
    • CMSPageTypeModel

      @Deprecated(since="4.1.1", forRemoval=true) public CMSPageTypeModel(Boolean _catalogItemType, String _code, Boolean _generate, ItemModel _owner, 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 Details

    • getRestrictionTypes

      @Accessor(qualifier="restrictionTypes", type=GETTER) public Collection<RestrictionTypeModel> getRestrictionTypes()
      Generated method - Getter of the CMSPageType.restrictionTypes attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the restrictionTypes
    • getTemplates

      @Accessor(qualifier="templates", type=GETTER) public Set<PageTemplateModel> getTemplates()
      Generated method - Getter of the CMSPageType.templates attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the templates
    • isPreviewDisabled

      @Accessor(qualifier="previewDisabled", type=GETTER) public boolean isPreviewDisabled()
      Generated method - Getter of the CMSPageType.previewDisabled attribute defined at extension cms2.
      Returns:
      the previewDisabled
    • setPreviewDisabled

      @Accessor(qualifier="previewDisabled", type=SETTER) public void setPreviewDisabled(boolean value)
      Generated method - Setter of CMSPageType.previewDisabled attribute defined at extension cms2.
      Parameters:
      value - the previewDisabled
    • setRestrictionTypes

      @Accessor(qualifier="restrictionTypes", type=SETTER) public void setRestrictionTypes(Collection<RestrictionTypeModel> value)
      Generated method - Setter of CMSPageType.restrictionTypes attribute defined at extension cms2.
      Parameters:
      value - the restrictionTypes
    • setTemplates

      @Accessor(qualifier="templates", type=SETTER) public void setTemplates(Set<PageTemplateModel> value)
      Generated method - Setter of CMSPageType.templates attribute defined at extension cms2.
      Parameters:
      value - the templates