Class ContentSlotNameModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cms2.model.contents.ContentSlotNameModel
All Implemented Interfaces:
Serializable

public class ContentSlotNameModel extends ItemModel
Generated model class for type ContentSlotName first defined at extension cms2.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation AvailableSlotsForTemplate defining source attribute template in extension cms2.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of ContentSlotName.compTypeGroup attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of ContentSlotName.name attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of ContentSlotName.template attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of ContentSlotName.templatePOS attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of ContentSlotName.validComponentTypes attribute defined at extension cms2.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    ContentSlotNameModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the ContentSlotName.compTypeGroup attribute defined at extension cms2.
    Generated method - Getter of the ContentSlotName.name attribute defined at extension cms2.
    Generated method - Getter of the ContentSlotName.template attribute defined at extension cms2.
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 5.0
    void
    Generated method - Setter of ContentSlotName.compTypeGroup attribute defined at extension cms2.
    void
    setName(String value)
    Generated method - Setter of ContentSlotName.name attribute defined at extension cms2.
    void
    Generated method - Initial setter of ContentSlotName.template attribute defined at extension cms2.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 5.0

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String _AVAILABLESLOTSFORTEMPLATE
      Generated relation code constant for relation AvailableSlotsForTemplate defining source attribute template in extension cms2.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of ContentSlotName.name attribute defined at extension cms2.
      See Also:
    • COMPTYPEGROUP

      public static final String COMPTYPEGROUP
      Generated constant - Attribute key of ContentSlotName.compTypeGroup attribute defined at extension cms2.
      See Also:
    • TEMPLATEPOS

      public static final String TEMPLATEPOS
      Generated constant - Attribute key of ContentSlotName.templatePOS attribute defined at extension cms2.
      See Also:
    • TEMPLATE

      public static final String TEMPLATE
      Generated constant - Attribute key of ContentSlotName.template attribute defined at extension cms2.
      See Also:
    • VALIDCOMPONENTTYPES

      public static final String VALIDCOMPONENTTYPES
      Generated constant - Attribute key of ContentSlotName.validComponentTypes attribute defined at extension cms2.
      See Also:
  • Constructor Details

    • ContentSlotNameModel

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

      public ContentSlotNameModel(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
    • ContentSlotNameModel

      @Deprecated(since="4.1.1", forRemoval=true) public ContentSlotNameModel(String _name, PageTemplateModel _template)
      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:
      _name - initial attribute declared by type ContentSlotName at extension cms2
      _template - initial attribute declared by type ContentSlotName at extension cms2
    • ContentSlotNameModel

      @Deprecated(since="4.1.1", forRemoval=true) public ContentSlotNameModel(String _name, ItemModel _owner, PageTemplateModel _template)
      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:
      _name - initial attribute declared by type ContentSlotName at extension cms2
      _owner - initial attribute declared by type Item at extension core
      _template - initial attribute declared by type ContentSlotName at extension cms2
  • Method Details

    • getCompTypeGroup

      @Accessor(qualifier="compTypeGroup", type=GETTER) public ComponentTypeGroupModel getCompTypeGroup()
      Generated method - Getter of the ContentSlotName.compTypeGroup attribute defined at extension cms2.
      Returns:
      the compTypeGroup
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the ContentSlotName.name attribute defined at extension cms2.
      Returns:
      the name
    • getTemplate

      @Accessor(qualifier="template", type=GETTER) public PageTemplateModel getTemplate()
      Generated method - Getter of the ContentSlotName.template attribute defined at extension cms2.
      Returns:
      the template
    • getValidComponentTypes

      @Deprecated(since="5.0", forRemoval=true) @Accessor(qualifier="validComponentTypes", type=GETTER) public Set<CMSComponentTypeModel> getValidComponentTypes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 5.0
      Generated method - Getter of the ContentSlotName.validComponentTypes attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the validComponentTypes
    • setCompTypeGroup

      @Accessor(qualifier="compTypeGroup", type=SETTER) public void setCompTypeGroup(ComponentTypeGroupModel value)
      Generated method - Setter of ContentSlotName.compTypeGroup attribute defined at extension cms2.
      Parameters:
      value - the compTypeGroup
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of ContentSlotName.name attribute defined at extension cms2.
      Parameters:
      value - the name
    • setTemplate

      @Accessor(qualifier="template", type=SETTER) public void setTemplate(PageTemplateModel value)
      Generated method - Initial setter of ContentSlotName.template attribute defined at extension cms2. Can only be used at creation of model - before first save.
      Parameters:
      value - the template
    • setValidComponentTypes

      @Deprecated(since="5.0", forRemoval=true) @Accessor(qualifier="validComponentTypes", type=SETTER) public void setValidComponentTypes(Set<CMSComponentTypeModel> value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 5.0
      Generated method - Setter of ContentSlotName.validComponentTypes attribute defined at extension cms2.
      Parameters:
      value - the validComponentTypes