Class AbstractPageModel
- 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
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CatalogPageModel,CategoryPageModel,ContentPageModel,DefaultCMSPageServiceTest.SomePageModel,DocumentPageModel,ProductConfigOverviewPageModel,ProductConfigPageModel,ProductPageModel,VendorPageModel
public class AbstractPageModel extends CMSItemModel
Generated model class for type AbstractPage 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_ABSTRACTPAGE2USERRELATIONGenerated relation code constant for relationAbstractPage2UserRelationdefining source attributelockedByin extensioncms2.static java.lang.String_LOCALIZEDPAGERELATIONGenerated relation code constant for relationLocalizedPageRelationdefining source attributeoriginalPagein extensioncms2.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringAPPROVALSTATUSGenerated constant - Attribute key ofAbstractPage.approvalStatusattribute defined at extensioncms2.static java.lang.StringAVAILABLECONTENTSLOTSGenerated constant - Attribute key ofAbstractPage.availableContentSlotsattribute defined at extensioncms2.static java.lang.StringCONTENTSLOTSGenerated constant - Attribute key ofAbstractPage.contentSlotsattribute defined at extensioncms2.static java.lang.StringCOPYTOCATALOGSDISABLEDGenerated constant - Attribute key ofAbstractPage.copyToCatalogsDisabledattribute defined at extensioncms2.static java.lang.StringDEFAULTPAGEGenerated constant - Attribute key ofAbstractPage.defaultPageattribute defined at extensioncms2.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofAbstractPage.descriptionattribute defined at extensioncms2.static java.lang.StringDISPLAYSTATUSGenerated constant - Attribute key ofAbstractPage.displayStatusattribute defined at extensioncms2.static java.lang.StringLOCALIZEDPAGESGenerated constant - Attribute key ofAbstractPage.localizedPagesattribute defined at extensioncms2.static java.lang.StringLOCKEDBYGenerated constant - Attribute key ofAbstractPage.lockedByattribute defined at extensioncms2.static java.lang.StringMASTERTEMPLATEGenerated constant - Attribute key ofAbstractPage.masterTemplateattribute defined at extensioncms2.static java.lang.StringMISSINGCONTENTSLOTSGenerated constant - Attribute key ofAbstractPage.missingContentSlotsattribute defined at extensioncms2.static java.lang.StringNAVIGATIONNODELISTGenerated constant - Attribute key ofAbstractPage.navigationNodeListattribute defined at extensioncms2.static java.lang.StringONLYONERESTRICTIONMUSTAPPLYGenerated constant - Attribute key ofAbstractPage.onlyOneRestrictionMustApplyattribute defined at extensioncms2.static java.lang.StringORIGINALPAGEGenerated constant - Attribute key ofAbstractPage.originalPageattribute defined at extensioncms2.static java.lang.StringPAGESTATUSGenerated constant - Attribute key ofAbstractPage.pageStatusattribute defined at extensioncms2.static java.lang.StringPREVIEWIMAGEGenerated constant - Attribute key ofAbstractPage.previewImageattribute defined at extensioncms2.static java.lang.StringRESTRICTIONSGenerated constant - Attribute key ofAbstractPage.restrictionsattribute defined at extensioncms2.static java.lang.StringROBOTTAGGenerated constant - Attribute key ofAbstractPage.robotTagattribute defined at extensioncms2.static java.lang.StringTITLEGenerated constant - Attribute key ofAbstractPage.titleattribute defined at extensioncms2.static java.lang.StringTYPEGenerated constant - Attribute key ofAbstractPage.typeattribute defined at extensioncms2.static java.lang.StringTYPECODEGenerated constant - Attribute key ofAbstractPage.typeCodeattribute defined at extensioncms2.static java.lang.StringVIEWGenerated constant - Attribute key ofAbstractPage.viewattribute 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 AbstractPageModel()Generated constructor - Default constructor for generic creation.AbstractPageModel(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 parametersAbstractPageModel(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 parametersAbstractPageModel(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 CmsApprovalStatusgetApprovalStatus()Generated method - Getter of theAbstractPage.approvalStatusattribute defined at extensioncms2.java.lang.StringgetAvailableContentSlots()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3java.util.List<ContentSlotForPageModel>getContentSlots()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3java.lang.BooleangetDefaultPage()Generated method - Getter of theAbstractPage.defaultPageattribute defined at extensioncms2.java.lang.StringgetDescription()Generated method - Getter of theAbstractPage.descriptionattribute defined at extensioncms2.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theAbstractPage.descriptionattribute defined at extensioncms2.CmsItemDisplayStatusgetDisplayStatus()Generated method - Getter of theAbstractPage.displayStatusdynamic attribute defined at extensioncms2.java.util.Collection<AbstractPageModel>getLocalizedPages()Generated method - Getter of theAbstractPage.localizedPagesattribute defined at extensioncms2.UserModelgetLockedBy()Generated method - Getter of theAbstractPage.lockedByattribute defined at extensioncms2.PageTemplateModelgetMasterTemplate()Generated method - Getter of theAbstractPage.masterTemplateattribute defined at extensioncms2.java.lang.StringgetMissingContentSlots()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3java.util.List<CMSNavigationNodeModel>getNavigationNodeList()Generated method - Getter of theAbstractPage.navigationNodeListdynamic attribute defined at extensioncms2.AbstractPageModelgetOriginalPage()Generated method - Getter of theAbstractPage.originalPageattribute defined at extensioncms2.CmsPageStatusgetPageStatus()Generated method - Getter of theAbstractPage.pageStatusattribute defined at extensioncms2.MediaModelgetPreviewImage()Generated method - Getter of theAbstractPage.previewImageattribute defined at extensioncms2.java.util.List<AbstractRestrictionModel>getRestrictions()Generated method - Getter of theAbstractPage.restrictionsattribute defined at extensioncms2.CmsRobotTaggetRobotTag()Generated method - Getter of theAbstractPage.robotTagattribute defined at extensioncms2.java.lang.StringgetTitle()Generated method - Getter of theAbstractPage.titleattribute defined at extensioncms2.java.lang.StringgetTitle(java.util.Locale loc)Generated method - Getter of theAbstractPage.titleattribute defined at extensioncms2.java.lang.StringgetType()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3java.lang.StringgetType(java.util.Locale loc)Deprecated, for removal: This API element is subject to removal in a future version.java.lang.StringgetTypeCode()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3java.lang.StringgetView()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3booleanisCopyToCatalogsDisabled()Generated method - Getter of theAbstractPage.copyToCatalogsDisabledattribute defined at extensioncms2.booleanisOnlyOneRestrictionMustApply()Generated method - Getter of theAbstractPage.onlyOneRestrictionMustApplyattribute defined at extensioncms2.voidsetApprovalStatus(CmsApprovalStatus value)Generated method - Setter ofAbstractPage.approvalStatusattribute defined at extensioncms2.voidsetCopyToCatalogsDisabled(boolean value)Generated method - Setter ofAbstractPage.copyToCatalogsDisabledattribute defined at extensioncms2.voidsetDefaultPage(java.lang.Boolean value)Generated method - Setter ofAbstractPage.defaultPageattribute defined at extensioncms2.voidsetDescription(java.lang.String value)Generated method - Setter ofAbstractPage.descriptionattribute defined at extensioncms2.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofAbstractPage.descriptionattribute defined at extensioncms2.voidsetLocalizedPages(java.util.Collection<AbstractPageModel> value)Generated method - Setter ofAbstractPage.localizedPagesattribute defined at extensioncms2.voidsetLockedBy(UserModel value)Generated method - Setter ofAbstractPage.lockedByattribute defined at extensioncms2.voidsetMasterTemplate(PageTemplateModel value)Generated method - Setter ofAbstractPage.masterTemplateattribute defined at extensioncms2.voidsetNavigationNodeList(java.util.List<CMSNavigationNodeModel> value)Generated method - Setter ofAbstractPage.navigationNodeListdynamic attribute defined at extensioncms2.voidsetOnlyOneRestrictionMustApply(boolean value)Generated method - Setter ofAbstractPage.onlyOneRestrictionMustApplyattribute defined at extensioncms2.voidsetOriginalPage(AbstractPageModel value)Generated method - Setter ofAbstractPage.originalPageattribute defined at extensioncms2.voidsetPageStatus(CmsPageStatus value)Generated method - Setter ofAbstractPage.pageStatusattribute defined at extensioncms2.voidsetPreviewImage(MediaModel value)Generated method - Setter ofAbstractPage.previewImageattribute defined at extensioncms2.voidsetRestrictions(java.util.List<AbstractRestrictionModel> value)Generated method - Setter ofAbstractPage.restrictionsattribute defined at extensioncms2.voidsetRobotTag(CmsRobotTag value)Generated method - Setter ofAbstractPage.robotTagattribute defined at extensioncms2.voidsetTitle(java.lang.String value)Generated method - Setter ofAbstractPage.titleattribute defined at extensioncms2.voidsetTitle(java.lang.String value, java.util.Locale loc)Generated method - Setter ofAbstractPage.titleattribute 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
-
_ABSTRACTPAGE2USERRELATION
public static final java.lang.String _ABSTRACTPAGE2USERRELATION
Generated relation code constant for relationAbstractPage2UserRelationdefining source attributelockedByin extensioncms2.- See Also:
- Constant Field Values
-
_LOCALIZEDPAGERELATION
public static final java.lang.String _LOCALIZEDPAGERELATION
Generated relation code constant for relationLocalizedPageRelationdefining source attributeoriginalPagein extensioncms2.- See Also:
- Constant Field Values
-
APPROVALSTATUS
public static final java.lang.String APPROVALSTATUS
Generated constant - Attribute key ofAbstractPage.approvalStatusattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
DISPLAYSTATUS
public static final java.lang.String DISPLAYSTATUS
Generated constant - Attribute key ofAbstractPage.displayStatusattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
PAGESTATUS
public static final java.lang.String PAGESTATUS
Generated constant - Attribute key ofAbstractPage.pageStatusattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
TITLE
public static final java.lang.String TITLE
Generated constant - Attribute key ofAbstractPage.titleattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofAbstractPage.descriptionattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
MASTERTEMPLATE
public static final java.lang.String MASTERTEMPLATE
Generated constant - Attribute key ofAbstractPage.masterTemplateattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
DEFAULTPAGE
public static final java.lang.String DEFAULTPAGE
Generated constant - Attribute key ofAbstractPage.defaultPageattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
ONLYONERESTRICTIONMUSTAPPLY
public static final java.lang.String ONLYONERESTRICTIONMUSTAPPLY
Generated constant - Attribute key ofAbstractPage.onlyOneRestrictionMustApplyattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
PREVIEWIMAGE
public static final java.lang.String PREVIEWIMAGE
Generated constant - Attribute key ofAbstractPage.previewImageattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
CONTENTSLOTS
public static final java.lang.String CONTENTSLOTS
Generated constant - Attribute key ofAbstractPage.contentSlotsattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Generated constant - Attribute key ofAbstractPage.typeattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
TYPECODE
public static final java.lang.String TYPECODE
Generated constant - Attribute key ofAbstractPage.typeCodeattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
MISSINGCONTENTSLOTS
public static final java.lang.String MISSINGCONTENTSLOTS
Generated constant - Attribute key ofAbstractPage.missingContentSlotsattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
AVAILABLECONTENTSLOTS
public static final java.lang.String AVAILABLECONTENTSLOTS
Generated constant - Attribute key ofAbstractPage.availableContentSlotsattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
VIEW
public static final java.lang.String VIEW
Generated constant - Attribute key ofAbstractPage.viewattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
NAVIGATIONNODELIST
public static final java.lang.String NAVIGATIONNODELIST
Generated constant - Attribute key ofAbstractPage.navigationNodeListattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
COPYTOCATALOGSDISABLED
public static final java.lang.String COPYTOCATALOGSDISABLED
Generated constant - Attribute key ofAbstractPage.copyToCatalogsDisabledattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
ROBOTTAG
public static final java.lang.String ROBOTTAG
Generated constant - Attribute key ofAbstractPage.robotTagattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
RESTRICTIONS
public static final java.lang.String RESTRICTIONS
Generated constant - Attribute key ofAbstractPage.restrictionsattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
LOCKEDBY
public static final java.lang.String LOCKEDBY
Generated constant - Attribute key ofAbstractPage.lockedByattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
ORIGINALPAGE
public static final java.lang.String ORIGINALPAGE
Generated constant - Attribute key ofAbstractPage.originalPageattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
LOCALIZEDPAGES
public static final java.lang.String LOCALIZEDPAGES
Generated constant - Attribute key ofAbstractPage.localizedPagesattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractPageModel
public AbstractPageModel()
Generated constructor - Default constructor for generic creation.
-
AbstractPageModel
public AbstractPageModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AbstractPageModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractPageModel(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
-
AbstractPageModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractPageModel(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
-
getApprovalStatus
@Accessor(qualifier="approvalStatus", type=GETTER) public CmsApprovalStatus getApprovalStatus()
Generated method - Getter of theAbstractPage.approvalStatusattribute defined at extensioncms2.- Returns:
- the approvalStatus
-
getAvailableContentSlots
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="availableContentSlots", type=GETTER) public java.lang.String getAvailableContentSlots()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractPage.availableContentSlotsattribute defined at extensioncms2.- Returns:
- the availableContentSlots
-
getContentSlots
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="contentSlots", type=GETTER) public java.util.List<ContentSlotForPageModel> getContentSlots()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractPage.contentSlotsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the contentSlots
-
getDefaultPage
@Accessor(qualifier="defaultPage", type=GETTER) public java.lang.Boolean getDefaultPage()
Generated method - Getter of theAbstractPage.defaultPageattribute defined at extensioncms2.- Returns:
- the defaultPage
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theAbstractPage.descriptionattribute defined at extensioncms2.- Returns:
- the description - Localized page description.
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theAbstractPage.descriptionattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the description - Localized page description.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getDisplayStatus
@Accessor(qualifier="displayStatus", type=GETTER) public CmsItemDisplayStatus getDisplayStatus()
Generated method - Getter of theAbstractPage.displayStatusdynamic attribute defined at extensioncms2.- Returns:
- the displayStatus
-
getLocalizedPages
@Accessor(qualifier="localizedPages", type=GETTER) public java.util.Collection<AbstractPageModel> getLocalizedPages()
Generated method - Getter of theAbstractPage.localizedPagesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the localizedPages
-
getLockedBy
@Accessor(qualifier="lockedBy", type=GETTER) public UserModel getLockedBy()
Generated method - Getter of theAbstractPage.lockedByattribute defined at extensioncms2.- Returns:
- the lockedBy
-
getMasterTemplate
@Accessor(qualifier="masterTemplate", type=GETTER) public PageTemplateModel getMasterTemplate()
Generated method - Getter of theAbstractPage.masterTemplateattribute defined at extensioncms2.- Returns:
- the masterTemplate
-
getMissingContentSlots
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="missingContentSlots", type=GETTER) public java.lang.String getMissingContentSlots()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractPage.missingContentSlotsattribute defined at extensioncms2.- Returns:
- the missingContentSlots
-
getNavigationNodeList
@Accessor(qualifier="navigationNodeList", type=GETTER) public java.util.List<CMSNavigationNodeModel> getNavigationNodeList()
Generated method - Getter of theAbstractPage.navigationNodeListdynamic attribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the navigationNodeList
-
getOriginalPage
@Accessor(qualifier="originalPage", type=GETTER) public AbstractPageModel getOriginalPage()
Generated method - Getter of theAbstractPage.originalPageattribute defined at extensioncms2.- Returns:
- the originalPage
-
getPageStatus
@Accessor(qualifier="pageStatus", type=GETTER) public CmsPageStatus getPageStatus()
Generated method - Getter of theAbstractPage.pageStatusattribute defined at extensioncms2.- Returns:
- the pageStatus
-
getPreviewImage
@Accessor(qualifier="previewImage", type=GETTER) public MediaModel getPreviewImage()
Generated method - Getter of theAbstractPage.previewImageattribute defined at extensioncms2.- Returns:
- the previewImage
-
getRestrictions
@Accessor(qualifier="restrictions", type=GETTER) public java.util.List<AbstractRestrictionModel> getRestrictions()
Generated method - Getter of theAbstractPage.restrictionsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the restrictions
-
getRobotTag
@Accessor(qualifier="robotTag", type=GETTER) public CmsRobotTag getRobotTag()
Generated method - Getter of theAbstractPage.robotTagattribute defined at extensioncms2.- Returns:
- the robotTag - Options for indexing and following any links on the page.
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle()
Generated method - Getter of theAbstractPage.titleattribute defined at extensioncms2.- Returns:
- the title
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle(java.util.Locale loc)
Generated method - Getter of theAbstractPage.titleattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the title
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getType
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="type", type=GETTER) public java.lang.String getType()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractPage.typeattribute defined at extensioncms2.- Returns:
- the type
-
getType
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="type", type=GETTER) public java.lang.String getType(java.util.Locale loc)Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAbstractPage.typeattribute defined at extensioncms2.- Parameters:
loc- the value localization key- Returns:
- the type
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getTypeCode
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="typeCode", type=GETTER) public java.lang.String getTypeCode()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractPage.typeCodeattribute defined at extensioncms2.- Returns:
- the typeCode
-
getView
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="view", type=GETTER) public java.lang.String getView()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of theAbstractPage.viewattribute defined at extensioncms2.- Returns:
- the view
-
isCopyToCatalogsDisabled
@Accessor(qualifier="copyToCatalogsDisabled", type=GETTER) public boolean isCopyToCatalogsDisabled()
Generated method - Getter of theAbstractPage.copyToCatalogsDisabledattribute defined at extensioncms2.- Returns:
- the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
-
isOnlyOneRestrictionMustApply
@Accessor(qualifier="onlyOneRestrictionMustApply", type=GETTER) public boolean isOnlyOneRestrictionMustApply()
Generated method - Getter of theAbstractPage.onlyOneRestrictionMustApplyattribute defined at extensioncms2.- Returns:
- the onlyOneRestrictionMustApply
-
setApprovalStatus
@Accessor(qualifier="approvalStatus", type=SETTER) public void setApprovalStatus(CmsApprovalStatus value)
Generated method - Setter ofAbstractPage.approvalStatusattribute defined at extensioncms2.- Parameters:
value- the approvalStatus
-
setCopyToCatalogsDisabled
@Accessor(qualifier="copyToCatalogsDisabled", type=SETTER) public void setCopyToCatalogsDisabled(boolean value)
Generated method - Setter ofAbstractPage.copyToCatalogsDisabledattribute defined at extensioncms2.- Parameters:
value- the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
-
setDefaultPage
@Accessor(qualifier="defaultPage", type=SETTER) public void setDefaultPage(java.lang.Boolean value)
Generated method - Setter ofAbstractPage.defaultPageattribute defined at extensioncms2.- Parameters:
value- the defaultPage
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofAbstractPage.descriptionattribute defined at extensioncms2.- Parameters:
value- the description - Localized page description.
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractPage.descriptionattribute defined at extensioncms2.- Parameters:
value- the description - Localized page description.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setLocalizedPages
@Accessor(qualifier="localizedPages", type=SETTER) public void setLocalizedPages(java.util.Collection<AbstractPageModel> value)
Generated method - Setter ofAbstractPage.localizedPagesattribute defined at extensioncms2.- Parameters:
value- the localizedPages
-
setLockedBy
@Accessor(qualifier="lockedBy", type=SETTER) public void setLockedBy(UserModel value)
Generated method - Setter ofAbstractPage.lockedByattribute defined at extensioncms2.- Parameters:
value- the lockedBy
-
setMasterTemplate
@Accessor(qualifier="masterTemplate", type=SETTER) public void setMasterTemplate(PageTemplateModel value)
Generated method - Setter ofAbstractPage.masterTemplateattribute defined at extensioncms2.- Parameters:
value- the masterTemplate
-
setNavigationNodeList
@Accessor(qualifier="navigationNodeList", type=SETTER) public void setNavigationNodeList(java.util.List<CMSNavigationNodeModel> value)
Generated method - Setter ofAbstractPage.navigationNodeListdynamic attribute defined at extensioncms2.- Parameters:
value- the navigationNodeList
-
setOnlyOneRestrictionMustApply
@Accessor(qualifier="onlyOneRestrictionMustApply", type=SETTER) public void setOnlyOneRestrictionMustApply(boolean value)
Generated method - Setter ofAbstractPage.onlyOneRestrictionMustApplyattribute defined at extensioncms2.- Parameters:
value- the onlyOneRestrictionMustApply
-
setOriginalPage
@Accessor(qualifier="originalPage", type=SETTER) public void setOriginalPage(AbstractPageModel value)
Generated method - Setter ofAbstractPage.originalPageattribute defined at extensioncms2.- Parameters:
value- the originalPage
-
setPageStatus
@Accessor(qualifier="pageStatus", type=SETTER) public void setPageStatus(CmsPageStatus value)
Generated method - Setter ofAbstractPage.pageStatusattribute defined at extensioncms2.- Parameters:
value- the pageStatus
-
setPreviewImage
@Accessor(qualifier="previewImage", type=SETTER) public void setPreviewImage(MediaModel value)
Generated method - Setter ofAbstractPage.previewImageattribute defined at extensioncms2.- Parameters:
value- the previewImage
-
setRestrictions
@Accessor(qualifier="restrictions", type=SETTER) public void setRestrictions(java.util.List<AbstractRestrictionModel> value)
Generated method - Setter ofAbstractPage.restrictionsattribute defined at extensioncms2.- Parameters:
value- the restrictions
-
setRobotTag
@Accessor(qualifier="robotTag", type=SETTER) public void setRobotTag(CmsRobotTag value)
Generated method - Setter ofAbstractPage.robotTagattribute defined at extensioncms2.- Parameters:
value- the robotTag - Options for indexing and following any links on the page.
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value)
Generated method - Setter ofAbstractPage.titleattribute defined at extensioncms2.- Parameters:
value- the title
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractPage.titleattribute defined at extensioncms2.- Parameters:
value- the titleloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
-