Class ContentSlotModel

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

public class ContentSlotModel extends CMSItemModel
Generated model class for type ContentSlot 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 model type code constant.
    static final String
    Generated constant - Attribute key of ContentSlot.active attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of ContentSlot.activeFrom attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of ContentSlot.activeUntil attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of ContentSlot.cmsComponents attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of ContentSlot.currentPosition attribute defined at extension cms2.
    static final String
    Generated constant - Attribute key of ContentSlot.originalSlot attribute defined at extension cms2.

    Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel

    CATALOGVERSION, NAME, SYNCHRONIZATIONBLOCKED, UID

    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.
    ContentSlotModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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
    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
    ContentSlotModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the ContentSlot.active attribute defined at extension cms2.
    Generated method - Getter of the ContentSlot.activeFrom attribute defined at extension cms2.
    Generated method - Getter of the ContentSlot.activeUntil attribute defined at extension cms2.
    Generated method - Getter of the ContentSlot.cmsComponents attribute defined at extension cms2.
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.3
    Generated method - Getter of the ContentSlot.originalSlot attribute defined at extension cms2.
    void
    Generated method - Setter of ContentSlot.active attribute defined at extension cms2.
    void
    Generated method - Setter of ContentSlot.activeFrom attribute defined at extension cms2.
    void
    Generated method - Setter of ContentSlot.activeUntil attribute defined at extension cms2.
    void
    Generated method - Setter of ContentSlot.cmsComponents attribute defined at extension cms2.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.3
    void
    Generated method - Setter of ContentSlot.originalSlot attribute defined at extension cms2.

    Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel

    getCatalogVersion, getName, getUid, isSynchronizationBlocked, setCatalogVersion, setName, setSynchronizationBlocked, setUid

    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:
    • ACTIVE

      public static final String ACTIVE
      Generated constant - Attribute key of ContentSlot.active attribute defined at extension cms2.
      See Also:
    • ACTIVEFROM

      public static final String ACTIVEFROM
      Generated constant - Attribute key of ContentSlot.activeFrom attribute defined at extension cms2.
      See Also:
    • ACTIVEUNTIL

      public static final String ACTIVEUNTIL
      Generated constant - Attribute key of ContentSlot.activeUntil attribute defined at extension cms2.
      See Also:
    • CURRENTPOSITION

      public static final String CURRENTPOSITION
      Generated constant - Attribute key of ContentSlot.currentPosition attribute defined at extension cms2.
      See Also:
    • ORIGINALSLOT

      public static final String ORIGINALSLOT
      Generated constant - Attribute key of ContentSlot.originalSlot attribute defined at extension cms2.
      See Also:
    • CMSCOMPONENTS

      public static final String CMSCOMPONENTS
      Generated constant - Attribute key of ContentSlot.cmsComponents attribute defined at extension cms2.
      See Also:
  • Constructor Details

    • ContentSlotModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ContentSlotModel(CatalogVersionModel _catalogVersion, 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:
      _catalogVersion - initial attribute declared by type CMSItem at extension cms2
      _uid - initial attribute declared by type CMSItem at extension cms2
    • ContentSlotModel

      @Deprecated(since="4.1.1", forRemoval=true) public ContentSlotModel(CatalogVersionModel _catalogVersion, ItemModel _owner, 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:
      _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 Details

    • getActive

      @Accessor(qualifier="active", type=GETTER) public Boolean getActive()
      Generated method - Getter of the ContentSlot.active attribute defined at extension cms2.
      Returns:
      the active
    • getActiveFrom

      @Accessor(qualifier="activeFrom", type=GETTER) public Date getActiveFrom()
      Generated method - Getter of the ContentSlot.activeFrom attribute defined at extension cms2.
      Returns:
      the activeFrom
    • getActiveUntil

      @Accessor(qualifier="activeUntil", type=GETTER) public Date getActiveUntil()
      Generated method - Getter of the ContentSlot.activeUntil attribute defined at extension cms2.
      Returns:
      the activeUntil
    • getCmsComponents

      @Accessor(qualifier="cmsComponents", type=GETTER) public List<AbstractCMSComponentModel> getCmsComponents()
      Generated method - Getter of the ContentSlot.cmsComponents attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the cmsComponents
    • getCurrentPosition

      @Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="currentPosition", type=GETTER) public String getCurrentPosition()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.3
      Generated method - Getter of the ContentSlot.currentPosition attribute defined at extension cms2.
      Returns:
      the currentPosition
    • getOriginalSlot

      @Accessor(qualifier="originalSlot", type=GETTER) public ContentSlotModel getOriginalSlot()
      Generated method - Getter of the ContentSlot.originalSlot attribute defined at extension cms2.
      Returns:
      the originalSlot - The slot to override.
    • setActive

      @Accessor(qualifier="active", type=SETTER) public void setActive(Boolean value)
      Generated method - Setter of ContentSlot.active attribute defined at extension cms2.
      Parameters:
      value - the active
    • setActiveFrom

      @Accessor(qualifier="activeFrom", type=SETTER) public void setActiveFrom(Date value)
      Generated method - Setter of ContentSlot.activeFrom attribute defined at extension cms2.
      Parameters:
      value - the activeFrom
    • setActiveUntil

      @Accessor(qualifier="activeUntil", type=SETTER) public void setActiveUntil(Date value)
      Generated method - Setter of ContentSlot.activeUntil attribute defined at extension cms2.
      Parameters:
      value - the activeUntil
    • setCmsComponents

      @Accessor(qualifier="cmsComponents", type=SETTER) public void setCmsComponents(List<AbstractCMSComponentModel> value)
      Generated method - Setter of ContentSlot.cmsComponents attribute defined at extension cms2.
      Parameters:
      value - the cmsComponents
    • setCurrentPosition

      @Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="currentPosition", type=SETTER) public void setCurrentPosition(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.3
      Generated method - Setter of ContentSlot.currentPosition attribute defined at extension cms2.
      Parameters:
      value - the currentPosition
    • setOriginalSlot

      @Accessor(qualifier="originalSlot", type=SETTER) public void setOriginalSlot(ContentSlotModel value)
      Generated method - Setter of ContentSlot.originalSlot attribute defined at extension cms2.
      Parameters:
      value - the originalSlot - The slot to override.