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:
Serializable
Generated model class for type ContentPage first defined at extension cms2.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationBannersForContentPagedefining source attributebannerComponetsin extensioncms2lib.static final StringGenerated relation code constant for relationFlashComponentsForContentPagedefining source attributeflashComponentsin extensioncms2lib.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofContentPage.bannerComponetsattribute defined at extensioncms2lib.static final StringGenerated constant - Attribute key ofContentPage.flashComponentsattribute defined at extensioncms2lib.static final StringGenerated constant - Attribute key ofContentPage.homepageattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentPage.keywordsattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofContentPage.labelattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentPage.labelOrIdattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentPage.linkComponentsattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentPage.navigationNodesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentPage.simpleBannerComponentsattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofContentPage.simpleResponsiveBannerComponentsattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofContentPage.videoComponentsattribute defined at extensioncms2.Fields inherited from class de.hybris.platform.cms2.model.pages.AbstractPageModel
_ABSTRACTPAGE2USERRELATION, _LOCALIZEDPAGERELATION, APPROVALSTATUS, AVAILABLECONTENTSLOTS, CONTENTSLOTS, COPYTOCATALOGSDISABLED, DEFAULTPAGE, DESCRIPTION, DISPLAYSTATUS, LOCALIZEDPAGES, LOCKEDBY, MASTERTEMPLATE, MISSINGCONTENTSLOTS, NAVIGATIONNODELIST, ONLYONERESTRICTIONMUSTAPPLY, ORIGINALPAGE, PAGESTATUS, PREVIEWIMAGE, RESTRICTIONS, ROBOTTAG, TITLE, TYPE, TYPECODE, VIEWFields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, SYNCHRONIZATIONBLOCKED, UIDFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.ContentPageModel(CatalogVersionModel _catalogVersion, PageTemplateModel _masterTemplate, 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 parametersContentPageModel(CatalogVersionModel _catalogVersion, PageTemplateModel _masterTemplate, 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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theContentPage.bannerComponetsattribute defined at extensioncms2lib.Generated method - Getter of theContentPage.flashComponentsattribute defined at extensioncms2lib.Generated method - Getter of theContentPage.keywordsattribute defined at extensionacceleratorcms.getKeywords(Locale loc) Generated method - Getter of theContentPage.keywordsattribute defined at extensionacceleratorcms.getLabel()Generated method - Getter of theContentPage.labelattribute defined at extensioncms2.Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theContentPage.linkComponentsattribute defined at extensioncms2.Deprecated, for removal: This API element is subject to removal in a future version.since 4.4Generated method - Getter of theContentPage.simpleBannerComponentsattribute defined at extensionacceleratorcms.Generated method - Getter of theContentPage.simpleResponsiveBannerComponentsattribute defined at extensionacceleratorcms.Generated method - Getter of theContentPage.videoComponentsattribute defined at extensioncms2.booleanGenerated method - Getter of theContentPage.homepageattribute defined at extensioncms2.voidGenerated method - Setter ofContentPage.bannerComponetsattribute defined at extensioncms2lib.voidGenerated method - Setter ofContentPage.flashComponentsattribute defined at extensioncms2lib.voidsetHomepage(boolean value) Generated method - Setter ofContentPage.homepageattribute defined at extensioncms2.voidsetKeywords(String value) Generated method - Setter ofContentPage.keywordsattribute defined at extensionacceleratorcms.voidsetKeywords(String value, Locale loc) Generated method - Setter ofContentPage.keywordsattribute defined at extensionacceleratorcms.voidGenerated method - Setter ofContentPage.labelattribute defined at extensioncms2.voidGenerated method - Setter ofContentPage.linkComponentsattribute defined at extensioncms2.voidDeprecated, for removal: This API element is subject to removal in a future version.since 4.4voidGenerated method - Setter ofContentPage.simpleBannerComponentsattribute defined at extensionacceleratorcms.voidGenerated method - Setter ofContentPage.simpleResponsiveBannerComponentsattribute defined at extensionacceleratorcms.voidGenerated method - Setter ofContentPage.videoComponentsattribute defined at extensioncms2.Methods inherited from class de.hybris.platform.cms2.model.pages.AbstractPageModel
getApprovalStatus, getAvailableContentSlots, getContentSlots, getDefaultPage, getDescription, getDescription, getDisplayStatus, getLocalizedPages, getLockedBy, getMasterTemplate, getMissingContentSlots, getNavigationNodeList, getOriginalPage, getPageStatus, getPreviewImage, getRestrictions, getRobotTag, getTitle, getTitle, getType, getType, getTypeCode, getView, isCopyToCatalogsDisabled, isOnlyOneRestrictionMustApply, setApprovalStatus, setCopyToCatalogsDisabled, setDefaultPage, setDescription, setDescription, setLocalizedPages, setLockedBy, setMasterTemplate, setNavigationNodeList, setOnlyOneRestrictionMustApply, setOriginalPage, setPageStatus, setPreviewImage, setRestrictions, setRobotTag, setTitle, setTitleMethods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, isSynchronizationBlocked, setCatalogVersion, setName, setSynchronizationBlocked, setUidMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_BANNERSFORCONTENTPAGE
Generated relation code constant for relationBannersForContentPagedefining source attributebannerComponetsin extensioncms2lib.- See Also:
-
_FLASHCOMPONENTSFORCONTENTPAGE
Generated relation code constant for relationFlashComponentsForContentPagedefining source attributeflashComponentsin extensioncms2lib.- See Also:
-
LABEL
Generated constant - Attribute key ofContentPage.labelattribute defined at extensioncms2.- See Also:
-
HOMEPAGE
Generated constant - Attribute key ofContentPage.homepageattribute defined at extensioncms2.- See Also:
-
LABELORID
Generated constant - Attribute key ofContentPage.labelOrIdattribute defined at extensioncms2.- See Also:
-
NAVIGATIONNODES
Generated constant - Attribute key ofContentPage.navigationNodesattribute defined at extensioncms2.- See Also:
-
LINKCOMPONENTS
Generated constant - Attribute key ofContentPage.linkComponentsattribute defined at extensioncms2.- See Also:
-
VIDEOCOMPONENTS
Generated constant - Attribute key ofContentPage.videoComponentsattribute defined at extensioncms2.- See Also:
-
BANNERCOMPONETS
Generated constant - Attribute key ofContentPage.bannerComponetsattribute defined at extensioncms2lib.- See Also:
-
FLASHCOMPONENTS
Generated constant - Attribute key ofContentPage.flashComponentsattribute defined at extensioncms2lib.- See Also:
-
KEYWORDS
Generated constant - Attribute key ofContentPage.keywordsattribute defined at extensionacceleratorcms.- See Also:
-
SIMPLEBANNERCOMPONENTS
Generated constant - Attribute key ofContentPage.simpleBannerComponentsattribute defined at extensionacceleratorcms.- See Also:
-
SIMPLERESPONSIVEBANNERCOMPONENTS
Generated constant - Attribute key ofContentPage.simpleResponsiveBannerComponentsattribute defined at extensionacceleratorcms.- See Also:
-
-
Constructor Details
-
ContentPageModel
public ContentPageModel()Generated constructor - Default constructor for generic creation. -
ContentPageModel
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, 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, 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 Details
-
getBannerComponets
@Accessor(qualifier="bannerComponets", type=GETTER) public 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
-
getFlashComponents
@Accessor(qualifier="flashComponents", type=GETTER) public 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
Generated method - Getter of theContentPage.keywordsattribute defined at extensionacceleratorcms.- Returns:
- the keywords - Localized content page keywords.
-
getKeywords
Generated method - Getter of theContentPage.keywordsattribute defined at extensionacceleratorcms.- Parameters:
loc- the value localization key- Returns:
- the keywords - Localized content page keywords.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
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 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 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
-
getSimpleBannerComponents
@Accessor(qualifier="simpleBannerComponents", type=GETTER) public List<SimpleBannerComponentModel> getSimpleBannerComponents()Generated method - Getter of theContentPage.simpleBannerComponentsattribute defined at extensionacceleratorcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the simpleBannerComponents
-
getSimpleResponsiveBannerComponents
@Accessor(qualifier="simpleResponsiveBannerComponents", type=GETTER) public List<SimpleResponsiveBannerComponentModel> getSimpleResponsiveBannerComponents()Generated method - Getter of theContentPage.simpleResponsiveBannerComponentsattribute defined at extensionacceleratorcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the simpleResponsiveBannerComponents
-
getVideoComponents
@Accessor(qualifier="videoComponents", type=GETTER) public List<VideoComponentModel> getVideoComponents()Generated method - Getter of theContentPage.videoComponentsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the videoComponents
-
isHomepage
Generated method - Getter of theContentPage.homepageattribute defined at extensioncms2.- Returns:
- the homepage
-
setBannerComponets
@Accessor(qualifier="bannerComponets", type=SETTER) public void setBannerComponets(List<BannerComponentModel> value) Generated method - Setter ofContentPage.bannerComponetsattribute defined at extensioncms2lib.- Parameters:
value- the bannerComponets
-
setFlashComponents
@Accessor(qualifier="flashComponents", type=SETTER) public void setFlashComponents(List<FlashComponentModel> value) Generated method - Setter ofContentPage.flashComponentsattribute defined at extensioncms2lib.- Parameters:
value- the flashComponents
-
setHomepage
Generated method - Setter ofContentPage.homepageattribute defined at extensioncms2.- Parameters:
value- the homepage
-
setKeywords
Generated method - Setter ofContentPage.keywordsattribute defined at extensionacceleratorcms.- Parameters:
value- the keywords - Localized content page keywords.
-
setKeywords
Generated method - Setter ofContentPage.keywordsattribute defined at extensionacceleratorcms.- Parameters:
value- the keywords - Localized content page keywords.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setLabel
Generated method - Setter ofContentPage.labelattribute defined at extensioncms2.- Parameters:
value- the label
-
setLinkComponents
@Accessor(qualifier="linkComponents", type=SETTER) public void setLinkComponents(List<CMSLinkComponentModel> value) Generated method - Setter ofContentPage.linkComponentsattribute defined at extensioncms2.- Parameters:
value- the linkComponents
-
setSimpleBannerComponents
@Accessor(qualifier="simpleBannerComponents", type=SETTER) public void setSimpleBannerComponents(List<SimpleBannerComponentModel> value) Generated method - Setter ofContentPage.simpleBannerComponentsattribute defined at extensionacceleratorcms.- Parameters:
value- the simpleBannerComponents
-
setSimpleResponsiveBannerComponents
@Accessor(qualifier="simpleResponsiveBannerComponents", type=SETTER) public void setSimpleResponsiveBannerComponents(List<SimpleResponsiveBannerComponentModel> value) Generated method - Setter ofContentPage.simpleResponsiveBannerComponentsattribute defined at extensionacceleratorcms.- Parameters:
value- the simpleResponsiveBannerComponents
-
setVideoComponents
@Accessor(qualifier="videoComponents", type=SETTER) public void setVideoComponents(List<VideoComponentModel> value) Generated method - Setter ofContentPage.videoComponentsattribute defined at extensioncms2.- Parameters:
value- the videoComponents
-