Class ContentPageModel
- 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.pages.AbstractPageModel
-
- de.hybris.platform.cms2.model.pages.ContentPageModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ContentPageModel extends AbstractPageModel
Generated model class for type ContentPage 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_BANNERSFORCONTENTPAGEGenerated relation code constant for relationBannersForContentPagedefining source attributebannerComponetsin extensioncms2lib.static java.lang.String_FLASHCOMPONENTSFORCONTENTPAGEGenerated relation code constant for relationFlashComponentsForContentPagedefining source attributeflashComponentsin extensioncms2lib.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBANNERCOMPONETSGenerated constant - Attribute key ofContentPage.bannerComponetsattribute defined at extensioncms2lib.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofContentPage.descriptionattribute defined at extensionacceleratorcms.static java.lang.StringFLASHCOMPONENTSGenerated constant - Attribute key ofContentPage.flashComponentsattribute defined at extensioncms2lib.static java.lang.StringHOMEPAGEGenerated constant - Attribute key ofContentPage.homepageattribute defined at extensioncms2.static java.lang.StringKEYWORDSGenerated constant - Attribute key ofContentPage.keywordsattribute defined at extensionacceleratorcms.static java.lang.StringLABELGenerated constant - Attribute key ofContentPage.labelattribute defined at extensioncms2.static java.lang.StringLABELORIDGenerated constant - Attribute key ofContentPage.labelOrIdattribute defined at extensioncms2.static java.lang.StringLINKCOMPONENTSGenerated constant - Attribute key ofContentPage.linkComponentsattribute defined at extensioncms2.static java.lang.StringNAVIGATIONNODESGenerated constant - Attribute key ofContentPage.navigationNodesattribute defined at extensioncms2.-
Fields inherited from class de.hybris.platform.cms2.model.pages.AbstractPageModel
_ABSTRACTPAGE2USERRELATION, _LOCALIZEDPAGERELATION, APPROVALSTATUS, AVAILABLECONTENTSLOTS, CONTENTSLOTS, COPYTOCATALOGSDISABLED, DEFAULTPAGE, DISPLAYSTATUS, LOCALIZEDPAGES, LOCKEDBY, MASTERTEMPLATE, MISSINGCONTENTSLOTS, NAVIGATIONNODELIST, ONLYONERESTRICTIONMUSTAPPLY, ORIGINALPAGE, PAGESTATUS, PREVIEWIMAGE, RESTRICTIONS, TITLE, TYPE, TYPECODE, VIEW
-
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 ContentPageModel()Generated constructor - Default constructor for generic creation.ContentPageModel(CatalogVersionModel _catalogVersion, PageTemplateModel _masterTemplate, 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 parametersContentPageModel(CatalogVersionModel _catalogVersion, PageTemplateModel _masterTemplate, 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 parametersContentPageModel(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.util.List<BannerComponentModel>getBannerComponets()Generated method - Getter of theContentPage.bannerComponetsattribute defined at extensioncms2lib.java.lang.StringgetDescription()Generated method - Getter of theContentPage.descriptionattribute defined at extensionacceleratorcms.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theContentPage.descriptionattribute defined at extensionacceleratorcms.java.util.List<FlashComponentModel>getFlashComponents()Generated method - Getter of theContentPage.flashComponentsattribute defined at extensioncms2lib.java.lang.StringgetKeywords()Generated method - Getter of theContentPage.keywordsattribute defined at extensionacceleratorcms.java.lang.StringgetKeywords(java.util.Locale loc)Generated method - Getter of theContentPage.keywordsattribute defined at extensionacceleratorcms.java.lang.StringgetLabel()Generated method - Getter of theContentPage.labelattribute defined at extensioncms2.java.lang.StringgetLabelOrId()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3java.util.List<CMSLinkComponentModel>getLinkComponents()Generated method - Getter of theContentPage.linkComponentsattribute defined at extensioncms2.java.util.List<CMSNavigationNodeModel>getNavigationNodes()Deprecated, for removal: This API element is subject to removal in a future version.since 4.4booleanisHomepage()Generated method - Getter of theContentPage.homepageattribute defined at extensioncms2.voidsetBannerComponets(java.util.List<BannerComponentModel> value)Generated method - Setter ofContentPage.bannerComponetsattribute defined at extensioncms2lib.voidsetDescription(java.lang.String value)Generated method - Setter ofContentPage.descriptionattribute defined at extensionacceleratorcms.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofContentPage.descriptionattribute defined at extensionacceleratorcms.voidsetFlashComponents(java.util.List<FlashComponentModel> value)Generated method - Setter ofContentPage.flashComponentsattribute defined at extensioncms2lib.voidsetHomepage(boolean value)Generated method - Setter ofContentPage.homepageattribute defined at extensioncms2.voidsetKeywords(java.lang.String value)Generated method - Setter ofContentPage.keywordsattribute defined at extensionacceleratorcms.voidsetKeywords(java.lang.String value, java.util.Locale loc)Generated method - Setter ofContentPage.keywordsattribute defined at extensionacceleratorcms.voidsetLabel(java.lang.String value)Generated method - Setter ofContentPage.labelattribute defined at extensioncms2.voidsetLinkComponents(java.util.List<CMSLinkComponentModel> value)Generated method - Setter ofContentPage.linkComponentsattribute defined at extensioncms2.voidsetNavigationNodes(java.util.List<CMSNavigationNodeModel> value)Deprecated, for removal: This API element is subject to removal in a future version.since 4.4-
Methods inherited from class de.hybris.platform.cms2.model.pages.AbstractPageModel
getApprovalStatus, getAvailableContentSlots, getContentSlots, getDefaultPage, getDisplayStatus, getLocalizedPages, getLockedBy, getMasterTemplate, getMissingContentSlots, getNavigationNodeList, getOriginalPage, getPageStatus, getPreviewImage, getRestrictions, getTitle, getTitle, getType, getType, getTypeCode, getView, isCopyToCatalogsDisabled, isOnlyOneRestrictionMustApply, setApprovalStatus, setCopyToCatalogsDisabled, setDefaultPage, setLocalizedPages, setLockedBy, setMasterTemplate, setNavigationNodeList, setOnlyOneRestrictionMustApply, setOriginalPage, setPageStatus, setPreviewImage, setRestrictions, setTitle, setTitle
-
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
-
_BANNERSFORCONTENTPAGE
public static final java.lang.String _BANNERSFORCONTENTPAGE
Generated relation code constant for relationBannersForContentPagedefining source attributebannerComponetsin extensioncms2lib.- See Also:
- Constant Field Values
-
_FLASHCOMPONENTSFORCONTENTPAGE
public static final java.lang.String _FLASHCOMPONENTSFORCONTENTPAGE
Generated relation code constant for relationFlashComponentsForContentPagedefining source attributeflashComponentsin extensioncms2lib.- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
Generated constant - Attribute key ofContentPage.labelattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
HOMEPAGE
public static final java.lang.String HOMEPAGE
Generated constant - Attribute key ofContentPage.homepageattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
LABELORID
public static final java.lang.String LABELORID
Generated constant - Attribute key ofContentPage.labelOrIdattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
NAVIGATIONNODES
public static final java.lang.String NAVIGATIONNODES
Generated constant - Attribute key ofContentPage.navigationNodesattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
LINKCOMPONENTS
public static final java.lang.String LINKCOMPONENTS
Generated constant - Attribute key ofContentPage.linkComponentsattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
BANNERCOMPONETS
public static final java.lang.String BANNERCOMPONETS
Generated constant - Attribute key ofContentPage.bannerComponetsattribute defined at extensioncms2lib.- See Also:
- Constant Field Values
-
FLASHCOMPONENTS
public static final java.lang.String FLASHCOMPONENTS
Generated constant - Attribute key ofContentPage.flashComponentsattribute defined at extensioncms2lib.- See Also:
- Constant Field Values
-
KEYWORDS
public static final java.lang.String KEYWORDS
Generated constant - Attribute key ofContentPage.keywordsattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofContentPage.descriptionattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContentPageModel
public ContentPageModel()
Generated constructor - Default constructor for generic creation.
-
ContentPageModel
public ContentPageModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ContentPageModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentPageModel(CatalogVersionModel _catalogVersion, PageTemplateModel _masterTemplate, 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_masterTemplate- initial attribute declared by typeAbstractPageat extensioncms2_uid- initial attribute declared by typeCMSItemat extensioncms2
-
ContentPageModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentPageModel(CatalogVersionModel _catalogVersion, PageTemplateModel _masterTemplate, 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_masterTemplate- initial attribute declared by typeAbstractPageat extensioncms2_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Detail
-
getBannerComponets
@Accessor(qualifier="bannerComponets", type=GETTER) public java.util.List<BannerComponentModel> getBannerComponets()
Generated method - Getter of theContentPage.bannerComponetsattribute defined at extensioncms2lib. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the bannerComponets
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theContentPage.descriptionattribute defined at extensionacceleratorcms.- Returns:
- the description - Localized content page description.
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theContentPage.descriptionattribute defined at extensionacceleratorcms.- Parameters:
loc- the value localization key- Returns:
- the description - Localized content page description.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getFlashComponents
@Accessor(qualifier="flashComponents", type=GETTER) public java.util.List<FlashComponentModel> getFlashComponents()
Generated method - Getter of theContentPage.flashComponentsattribute defined at extensioncms2lib. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the flashComponents
-
getKeywords
@Accessor(qualifier="keywords", type=GETTER) public java.lang.String getKeywords()
Generated method - Getter of theContentPage.keywordsattribute defined at extensionacceleratorcms.- Returns:
- the keywords - Localized content page keywords.
-
getKeywords
@Accessor(qualifier="keywords", type=GETTER) public java.lang.String getKeywords(java.util.Locale loc)
Generated method - Getter of theContentPage.keywordsattribute defined at extensionacceleratorcms.- Parameters:
loc- the value localization key- Returns:
- the keywords - Localized content page keywords.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getLabel
@Accessor(qualifier="label", type=GETTER) public java.lang.String getLabel()
Generated method - Getter of theContentPage.labelattribute defined at extensioncms2.- Returns:
- the label
-
getLabelOrId
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="labelOrId", type=GETTER) public java.lang.String getLabelOrId()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theContentPage.labelOrIdattribute defined at extensioncms2.- Returns:
- the labelOrId
-
getLinkComponents
@Accessor(qualifier="linkComponents", type=GETTER) public java.util.List<CMSLinkComponentModel> getLinkComponents()
Generated method - Getter of theContentPage.linkComponentsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the linkComponents
-
getNavigationNodes
@Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="navigationNodes", type=GETTER) public java.util.List<CMSNavigationNodeModel> getNavigationNodes()Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Getter of theContentPage.navigationNodesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the navigationNodes
-
isHomepage
@Accessor(qualifier="homepage", type=GETTER) public boolean isHomepage()
Generated method - Getter of theContentPage.homepageattribute defined at extensioncms2.- Returns:
- the homepage
-
setBannerComponets
@Accessor(qualifier="bannerComponets", type=SETTER) public void setBannerComponets(java.util.List<BannerComponentModel> value)
Generated method - Setter ofContentPage.bannerComponetsattribute defined at extensioncms2lib.- Parameters:
value- the bannerComponets
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofContentPage.descriptionattribute defined at extensionacceleratorcms.- Parameters:
value- the description - Localized content page description.
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofContentPage.descriptionattribute defined at extensionacceleratorcms.- Parameters:
value- the description - Localized content page description.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setFlashComponents
@Accessor(qualifier="flashComponents", type=SETTER) public void setFlashComponents(java.util.List<FlashComponentModel> value)
Generated method - Setter ofContentPage.flashComponentsattribute defined at extensioncms2lib.- Parameters:
value- the flashComponents
-
setHomepage
@Accessor(qualifier="homepage", type=SETTER) public void setHomepage(boolean value)
Generated method - Setter ofContentPage.homepageattribute defined at extensioncms2.- Parameters:
value- the homepage
-
setKeywords
@Accessor(qualifier="keywords", type=SETTER) public void setKeywords(java.lang.String value)
Generated method - Setter ofContentPage.keywordsattribute defined at extensionacceleratorcms.- Parameters:
value- the keywords - Localized content page keywords.
-
setKeywords
@Accessor(qualifier="keywords", type=SETTER) public void setKeywords(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofContentPage.keywordsattribute defined at extensionacceleratorcms.- Parameters:
value- the keywords - Localized content page keywords.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setLabel
@Accessor(qualifier="label", type=SETTER) public void setLabel(java.lang.String value)
Generated method - Setter ofContentPage.labelattribute defined at extensioncms2.- Parameters:
value- the label
-
setLinkComponents
@Accessor(qualifier="linkComponents", type=SETTER) public void setLinkComponents(java.util.List<CMSLinkComponentModel> value)
Generated method - Setter ofContentPage.linkComponentsattribute defined at extensioncms2.- Parameters:
value- the linkComponents
-
setNavigationNodes
@Deprecated(since="4.4", forRemoval=true) @Accessor(qualifier="navigationNodes", type=SETTER) public void setNavigationNodes(java.util.List<CMSNavigationNodeModel> value)Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Setter ofContentPage.navigationNodesattribute defined at extensioncms2.- Parameters:
value- the navigationNodes
-
-