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:
java.io.Serializable
public class ContentSlotModel extends CMSItemModel
Generated model class for type ContentSlot first defined at extension cms2.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTIVEGenerated constant - Attribute key ofContentSlot.activeattribute defined at extensioncms2.static java.lang.StringACTIVEFROMGenerated constant - Attribute key ofContentSlot.activeFromattribute defined at extensioncms2.static java.lang.StringACTIVEUNTILGenerated constant - Attribute key ofContentSlot.activeUntilattribute defined at extensioncms2.static java.lang.StringCMSCOMPONENTSGenerated constant - Attribute key ofContentSlot.cmsComponentsattribute defined at extensioncms2.static java.lang.StringCURRENTPOSITIONGenerated constant - Attribute key ofContentSlot.currentPositionattribute defined at extensioncms2.static java.lang.StringORIGINALSLOTGenerated constant - Attribute key ofContentSlot.originalSlotattribute defined at extensioncms2.-
Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, 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 ContentSlotModel()Generated constructor - Default constructor for generic creation.ContentSlotModel(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 parametersContentSlotModel(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 parametersContentSlotModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.BooleangetActive()Generated method - Getter of theContentSlot.activeattribute defined at extensioncms2.java.util.DategetActiveFrom()Generated method - Getter of theContentSlot.activeFromattribute defined at extensioncms2.java.util.DategetActiveUntil()Generated method - Getter of theContentSlot.activeUntilattribute defined at extensioncms2.java.util.List<AbstractCMSComponentModel>getCmsComponents()Generated method - Getter of theContentSlot.cmsComponentsattribute defined at extensioncms2.java.lang.StringgetCurrentPosition()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3ContentSlotModelgetOriginalSlot()Generated method - Getter of theContentSlot.originalSlotattribute defined at extensioncms2.voidsetActive(java.lang.Boolean value)Generated method - Setter ofContentSlot.activeattribute defined at extensioncms2.voidsetActiveFrom(java.util.Date value)Generated method - Setter ofContentSlot.activeFromattribute defined at extensioncms2.voidsetActiveUntil(java.util.Date value)Generated method - Setter ofContentSlot.activeUntilattribute defined at extensioncms2.voidsetCmsComponents(java.util.List<AbstractCMSComponentModel> value)Generated method - Setter ofContentSlot.cmsComponentsattribute defined at extensioncms2.voidsetCurrentPosition(java.lang.String value)Deprecated, for removal: This API element is subject to removal in a future version.since 4.3voidsetOriginalSlot(ContentSlotModel value)Generated method - Setter ofContentSlot.originalSlotattribute defined at extensioncms2.-
Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, setCatalogVersion, setName, 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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
ACTIVE
public static final java.lang.String ACTIVE
Generated constant - Attribute key ofContentSlot.activeattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
ACTIVEFROM
public static final java.lang.String ACTIVEFROM
Generated constant - Attribute key ofContentSlot.activeFromattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
ACTIVEUNTIL
public static final java.lang.String ACTIVEUNTIL
Generated constant - Attribute key ofContentSlot.activeUntilattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
CURRENTPOSITION
public static final java.lang.String CURRENTPOSITION
Generated constant - Attribute key ofContentSlot.currentPositionattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
ORIGINALSLOT
public static final java.lang.String ORIGINALSLOT
Generated constant - Attribute key ofContentSlot.originalSlotattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
CMSCOMPONENTS
public static final java.lang.String CMSCOMPONENTS
Generated constant - Attribute key ofContentSlot.cmsComponentsattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContentSlotModel
public ContentSlotModel()
Generated constructor - Default constructor for generic creation.
-
ContentSlotModel
public ContentSlotModel(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, 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_uid- initial attribute declared by typeCMSItemat extensioncms2
-
ContentSlotModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentSlotModel(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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Detail
-
getActive
@Accessor(qualifier="active", type=GETTER) public java.lang.Boolean getActive()
Generated method - Getter of theContentSlot.activeattribute defined at extensioncms2.- Returns:
- the active
-
getActiveFrom
@Accessor(qualifier="activeFrom", type=GETTER) public java.util.Date getActiveFrom()
Generated method - Getter of theContentSlot.activeFromattribute defined at extensioncms2.- Returns:
- the activeFrom
-
getActiveUntil
@Accessor(qualifier="activeUntil", type=GETTER) public java.util.Date getActiveUntil()
Generated method - Getter of theContentSlot.activeUntilattribute defined at extensioncms2.- Returns:
- the activeUntil
-
getCmsComponents
@Accessor(qualifier="cmsComponents", type=GETTER) public java.util.List<AbstractCMSComponentModel> getCmsComponents()
Generated method - Getter of theContentSlot.cmsComponentsattribute defined at extensioncms2. 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 java.lang.String getCurrentPosition()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theContentSlot.currentPositionattribute defined at extensioncms2.- Returns:
- the currentPosition
-
getOriginalSlot
@Accessor(qualifier="originalSlot", type=GETTER) public ContentSlotModel getOriginalSlot()
Generated method - Getter of theContentSlot.originalSlotattribute defined at extensioncms2.- Returns:
- the originalSlot - The slot to override.
-
setActive
@Accessor(qualifier="active", type=SETTER) public void setActive(java.lang.Boolean value)
Generated method - Setter ofContentSlot.activeattribute defined at extensioncms2.- Parameters:
value- the active
-
setActiveFrom
@Accessor(qualifier="activeFrom", type=SETTER) public void setActiveFrom(java.util.Date value)
Generated method - Setter ofContentSlot.activeFromattribute defined at extensioncms2.- Parameters:
value- the activeFrom
-
setActiveUntil
@Accessor(qualifier="activeUntil", type=SETTER) public void setActiveUntil(java.util.Date value)
Generated method - Setter ofContentSlot.activeUntilattribute defined at extensioncms2.- Parameters:
value- the activeUntil
-
setCmsComponents
@Accessor(qualifier="cmsComponents", type=SETTER) public void setCmsComponents(java.util.List<AbstractCMSComponentModel> value)
Generated method - Setter ofContentSlot.cmsComponentsattribute defined at extensioncms2.- Parameters:
value- the cmsComponents
-
setCurrentPosition
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="currentPosition", type=SETTER) public void setCurrentPosition(java.lang.String value)Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Setter ofContentSlot.currentPositionattribute defined at extensioncms2.- Parameters:
value- the currentPosition
-
setOriginalSlot
@Accessor(qualifier="originalSlot", type=SETTER) public void setOriginalSlot(ContentSlotModel value)
Generated method - Setter ofContentSlot.originalSlotattribute defined at extensioncms2.- Parameters:
value- the originalSlot - The slot to override.
-
-