Class ContentSlotForPageModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.cms2.model.relations.CMSRelationModel
-
- de.hybris.platform.cms2.model.relations.ContentSlotForPageModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ContentSlotForPageModel extends CMSRelationModel
Generated model class for type ContentSlotForPage 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.StringCONTENTSLOTGenerated constant - Attribute key ofContentSlotForPage.contentSlotattribute defined at extensioncms2.static java.lang.StringPAGEGenerated constant - Attribute key ofContentSlotForPage.pageattribute defined at extensioncms2.static java.lang.StringPOSITIONGenerated constant - Attribute key ofContentSlotForPage.positionattribute defined at extensioncms2.-
Fields inherited from class de.hybris.platform.cms2.model.relations.CMSRelationModel
CATALOGVERSION, 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 ContentSlotForPageModel()Generated constructor - Default constructor for generic creation.ContentSlotForPageModel(CatalogVersionModel _catalogVersion, ContentSlotModel _contentSlot, AbstractPageModel _page, java.lang.String _position, 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 parametersContentSlotForPageModel(CatalogVersionModel _catalogVersion, ContentSlotModel _contentSlot, ItemModel _owner, AbstractPageModel _page, java.lang.String _position, 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 parametersContentSlotForPageModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentSlotModelgetContentSlot()Generated method - Getter of theContentSlotForPage.contentSlotattribute defined at extensioncms2.AbstractPageModelgetPage()Generated method - Getter of theContentSlotForPage.pageattribute defined at extensioncms2.java.lang.StringgetPosition()Generated method - Getter of theContentSlotForPage.positionattribute defined at extensioncms2.voidsetContentSlot(ContentSlotModel value)Generated method - Setter ofContentSlotForPage.contentSlotattribute defined at extensioncms2.voidsetPage(AbstractPageModel value)Generated method - Setter ofContentSlotForPage.pageattribute defined at extensioncms2.voidsetPosition(java.lang.String value)Generated method - Setter ofContentSlotForPage.positionattribute defined at extensioncms2.-
Methods inherited from class de.hybris.platform.cms2.model.relations.CMSRelationModel
getCatalogVersion, getUid, setCatalogVersion, 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
-
POSITION
public static final java.lang.String POSITION
Generated constant - Attribute key ofContentSlotForPage.positionattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
PAGE
public static final java.lang.String PAGE
Generated constant - Attribute key ofContentSlotForPage.pageattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
CONTENTSLOT
public static final java.lang.String CONTENTSLOT
Generated constant - Attribute key ofContentSlotForPage.contentSlotattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContentSlotForPageModel
public ContentSlotForPageModel()
Generated constructor - Default constructor for generic creation.
-
ContentSlotForPageModel
public ContentSlotForPageModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ContentSlotForPageModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentSlotForPageModel(CatalogVersionModel _catalogVersion, ContentSlotModel _contentSlot, AbstractPageModel _page, java.lang.String _position, 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 typeCMSRelationat extensioncms2_contentSlot- initial attribute declared by typeContentSlotForPageat extensioncms2_page- initial attribute declared by typeContentSlotForPageat extensioncms2_position- initial attribute declared by typeContentSlotForPageat extensioncms2_uid- initial attribute declared by typeCMSRelationat extensioncms2
-
ContentSlotForPageModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentSlotForPageModel(CatalogVersionModel _catalogVersion, ContentSlotModel _contentSlot, ItemModel _owner, AbstractPageModel _page, java.lang.String _position, 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 typeCMSRelationat extensioncms2_contentSlot- initial attribute declared by typeContentSlotForPageat extensioncms2_owner- initial attribute declared by typeItemat extensioncore_page- initial attribute declared by typeContentSlotForPageat extensioncms2_position- initial attribute declared by typeContentSlotForPageat extensioncms2_uid- initial attribute declared by typeCMSRelationat extensioncms2
-
-
Method Detail
-
getContentSlot
@Accessor(qualifier="contentSlot", type=GETTER) public ContentSlotModel getContentSlot()
Generated method - Getter of theContentSlotForPage.contentSlotattribute defined at extensioncms2.- Returns:
- the contentSlot
-
getPage
@Accessor(qualifier="page", type=GETTER) public AbstractPageModel getPage()
Generated method - Getter of theContentSlotForPage.pageattribute defined at extensioncms2.- Returns:
- the page
-
getPosition
@Accessor(qualifier="position", type=GETTER) public java.lang.String getPosition()
Generated method - Getter of theContentSlotForPage.positionattribute defined at extensioncms2.- Returns:
- the position
-
setContentSlot
@Accessor(qualifier="contentSlot", type=SETTER) public void setContentSlot(ContentSlotModel value)
Generated method - Setter ofContentSlotForPage.contentSlotattribute defined at extensioncms2.- Parameters:
value- the contentSlot
-
setPage
@Accessor(qualifier="page", type=SETTER) public void setPage(AbstractPageModel value)
Generated method - Setter ofContentSlotForPage.pageattribute defined at extensioncms2.- Parameters:
value- the page
-
-