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
_ABSTRACTPAGE2USERRELATION
Generated relation code constant for relationAbstractPage2UserRelation
defining source attributelockedBy
in extensioncms2
.static java.lang.String
_LOCALIZEDPAGERELATION
Generated relation code constant for relationLocalizedPageRelation
defining source attributeoriginalPage
in extensioncms2
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
APPROVALSTATUS
Generated constant - Attribute key ofAbstractPage.approvalStatus
attribute defined at extensioncms2
.static java.lang.String
AVAILABLECONTENTSLOTS
Generated constant - Attribute key ofAbstractPage.availableContentSlots
attribute defined at extensioncms2
.static java.lang.String
CONTENTSLOTS
Generated constant - Attribute key ofAbstractPage.contentSlots
attribute defined at extensioncms2
.static java.lang.String
COPYTOCATALOGSDISABLED
Generated constant - Attribute key ofAbstractPage.copyToCatalogsDisabled
attribute defined at extensioncms2
.static java.lang.String
DEFAULTPAGE
Generated constant - Attribute key ofAbstractPage.defaultPage
attribute defined at extensioncms2
.static java.lang.String
DISPLAYSTATUS
Generated constant - Attribute key ofAbstractPage.displayStatus
attribute defined at extensioncms2
.static java.lang.String
LOCALIZEDPAGES
Generated constant - Attribute key ofAbstractPage.localizedPages
attribute defined at extensioncms2
.static java.lang.String
LOCKEDBY
Generated constant - Attribute key ofAbstractPage.lockedBy
attribute defined at extensioncms2
.static java.lang.String
MASTERTEMPLATE
Generated constant - Attribute key ofAbstractPage.masterTemplate
attribute defined at extensioncms2
.static java.lang.String
MISSINGCONTENTSLOTS
Generated constant - Attribute key ofAbstractPage.missingContentSlots
attribute defined at extensioncms2
.static java.lang.String
NAVIGATIONNODELIST
Generated constant - Attribute key ofAbstractPage.navigationNodeList
attribute defined at extensioncms2
.static java.lang.String
ONLYONERESTRICTIONMUSTAPPLY
Generated constant - Attribute key ofAbstractPage.onlyOneRestrictionMustApply
attribute defined at extensioncms2
.static java.lang.String
ORIGINALPAGE
Generated constant - Attribute key ofAbstractPage.originalPage
attribute defined at extensioncms2
.static java.lang.String
PAGESTATUS
Generated constant - Attribute key ofAbstractPage.pageStatus
attribute defined at extensioncms2
.static java.lang.String
PREVIEWIMAGE
Generated constant - Attribute key ofAbstractPage.previewImage
attribute defined at extensioncms2
.static java.lang.String
RESTRICTIONS
Generated constant - Attribute key ofAbstractPage.restrictions
attribute defined at extensioncms2
.static java.lang.String
TITLE
Generated constant - Attribute key ofAbstractPage.title
attribute defined at extensioncms2
.static java.lang.String
TYPE
Generated constant - Attribute key ofAbstractPage.type
attribute defined at extensioncms2
.static java.lang.String
TYPECODE
Generated constant - Attribute key ofAbstractPage.typeCode
attribute defined at extensioncms2
.static java.lang.String
VIEW
Generated constant - Attribute key ofAbstractPage.view
attribute 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 CmsApprovalStatus
getApprovalStatus()
Generated method - Getter of theAbstractPage.approvalStatus
attribute defined at extensioncms2
.java.lang.String
getAvailableContentSlots()
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.Boolean
getDefaultPage()
Generated method - Getter of theAbstractPage.defaultPage
attribute defined at extensioncms2
.CmsItemDisplayStatus
getDisplayStatus()
Generated method - Getter of theAbstractPage.displayStatus
dynamic attribute defined at extensioncms2
.java.util.Collection<AbstractPageModel>
getLocalizedPages()
Generated method - Getter of theAbstractPage.localizedPages
attribute defined at extensioncms2
.UserModel
getLockedBy()
Generated method - Getter of theAbstractPage.lockedBy
attribute defined at extensioncms2
.PageTemplateModel
getMasterTemplate()
Generated method - Getter of theAbstractPage.masterTemplate
attribute defined at extensioncms2
.java.lang.String
getMissingContentSlots()
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.navigationNodeList
dynamic attribute defined at extensioncms2
.AbstractPageModel
getOriginalPage()
Generated method - Getter of theAbstractPage.originalPage
attribute defined at extensioncms2
.CmsPageStatus
getPageStatus()
Generated method - Getter of theAbstractPage.pageStatus
attribute defined at extensioncms2
.MediaModel
getPreviewImage()
Generated method - Getter of theAbstractPage.previewImage
attribute defined at extensioncms2
.java.util.List<AbstractRestrictionModel>
getRestrictions()
Generated method - Getter of theAbstractPage.restrictions
attribute defined at extensioncms2
.java.lang.String
getTitle()
Generated method - Getter of theAbstractPage.title
attribute defined at extensioncms2
.java.lang.String
getTitle(java.util.Locale loc)
Generated method - Getter of theAbstractPage.title
attribute defined at extensioncms2
.java.lang.String
getType()
Deprecated, for removal: This API element is subject to removal in a future version.since 4.3java.lang.String
getType(java.util.Locale loc)
Deprecated, for removal: This API element is subject to removal in a future version.java.lang.String
getTypeCode()
Deprecated, for removal: This API element is subject to removal in a future version.since 4.3java.lang.String
getView()
Deprecated, for removal: This API element is subject to removal in a future version.since 4.3boolean
isCopyToCatalogsDisabled()
Generated method - Getter of theAbstractPage.copyToCatalogsDisabled
attribute defined at extensioncms2
.boolean
isOnlyOneRestrictionMustApply()
Generated method - Getter of theAbstractPage.onlyOneRestrictionMustApply
attribute defined at extensioncms2
.void
setApprovalStatus(CmsApprovalStatus value)
Generated method - Setter ofAbstractPage.approvalStatus
attribute defined at extensioncms2
.void
setCopyToCatalogsDisabled(boolean value)
Generated method - Setter ofAbstractPage.copyToCatalogsDisabled
attribute defined at extensioncms2
.void
setDefaultPage(java.lang.Boolean value)
Generated method - Setter ofAbstractPage.defaultPage
attribute defined at extensioncms2
.void
setLocalizedPages(java.util.Collection<AbstractPageModel> value)
Generated method - Setter ofAbstractPage.localizedPages
attribute defined at extensioncms2
.void
setLockedBy(UserModel value)
Generated method - Setter ofAbstractPage.lockedBy
attribute defined at extensioncms2
.void
setMasterTemplate(PageTemplateModel value)
Generated method - Setter ofAbstractPage.masterTemplate
attribute defined at extensioncms2
.void
setNavigationNodeList(java.util.List<CMSNavigationNodeModel> value)
Generated method - Setter ofAbstractPage.navigationNodeList
dynamic attribute defined at extensioncms2
.void
setOnlyOneRestrictionMustApply(boolean value)
Generated method - Setter ofAbstractPage.onlyOneRestrictionMustApply
attribute defined at extensioncms2
.void
setOriginalPage(AbstractPageModel value)
Generated method - Setter ofAbstractPage.originalPage
attribute defined at extensioncms2
.void
setPageStatus(CmsPageStatus value)
Generated method - Setter ofAbstractPage.pageStatus
attribute defined at extensioncms2
.void
setPreviewImage(MediaModel value)
Generated method - Setter ofAbstractPage.previewImage
attribute defined at extensioncms2
.void
setRestrictions(java.util.List<AbstractRestrictionModel> value)
Generated method - Setter ofAbstractPage.restrictions
attribute defined at extensioncms2
.void
setTitle(java.lang.String value)
Generated method - Setter ofAbstractPage.title
attribute defined at extensioncms2
.void
setTitle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractPage.title
attribute 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 relationAbstractPage2UserRelation
defining source attributelockedBy
in extensioncms2
.- See Also:
- Constant Field Values
-
_LOCALIZEDPAGERELATION
public static final java.lang.String _LOCALIZEDPAGERELATION
Generated relation code constant for relationLocalizedPageRelation
defining source attributeoriginalPage
in extensioncms2
.- See Also:
- Constant Field Values
-
APPROVALSTATUS
public static final java.lang.String APPROVALSTATUS
Generated constant - Attribute key ofAbstractPage.approvalStatus
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
DISPLAYSTATUS
public static final java.lang.String DISPLAYSTATUS
Generated constant - Attribute key ofAbstractPage.displayStatus
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
PAGESTATUS
public static final java.lang.String PAGESTATUS
Generated constant - Attribute key ofAbstractPage.pageStatus
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
TITLE
public static final java.lang.String TITLE
Generated constant - Attribute key ofAbstractPage.title
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
MASTERTEMPLATE
public static final java.lang.String MASTERTEMPLATE
Generated constant - Attribute key ofAbstractPage.masterTemplate
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
DEFAULTPAGE
public static final java.lang.String DEFAULTPAGE
Generated constant - Attribute key ofAbstractPage.defaultPage
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
ONLYONERESTRICTIONMUSTAPPLY
public static final java.lang.String ONLYONERESTRICTIONMUSTAPPLY
Generated constant - Attribute key ofAbstractPage.onlyOneRestrictionMustApply
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
PREVIEWIMAGE
public static final java.lang.String PREVIEWIMAGE
Generated constant - Attribute key ofAbstractPage.previewImage
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
CONTENTSLOTS
public static final java.lang.String CONTENTSLOTS
Generated constant - Attribute key ofAbstractPage.contentSlots
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Generated constant - Attribute key ofAbstractPage.type
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
TYPECODE
public static final java.lang.String TYPECODE
Generated constant - Attribute key ofAbstractPage.typeCode
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
MISSINGCONTENTSLOTS
public static final java.lang.String MISSINGCONTENTSLOTS
Generated constant - Attribute key ofAbstractPage.missingContentSlots
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
AVAILABLECONTENTSLOTS
public static final java.lang.String AVAILABLECONTENTSLOTS
Generated constant - Attribute key ofAbstractPage.availableContentSlots
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
VIEW
public static final java.lang.String VIEW
Generated constant - Attribute key ofAbstractPage.view
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
NAVIGATIONNODELIST
public static final java.lang.String NAVIGATIONNODELIST
Generated constant - Attribute key ofAbstractPage.navigationNodeList
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
COPYTOCATALOGSDISABLED
public static final java.lang.String COPYTOCATALOGSDISABLED
Generated constant - Attribute key ofAbstractPage.copyToCatalogsDisabled
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
RESTRICTIONS
public static final java.lang.String RESTRICTIONS
Generated constant - Attribute key ofAbstractPage.restrictions
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
LOCKEDBY
public static final java.lang.String LOCKEDBY
Generated constant - Attribute key ofAbstractPage.lockedBy
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
ORIGINALPAGE
public static final java.lang.String ORIGINALPAGE
Generated constant - Attribute key ofAbstractPage.originalPage
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
LOCALIZEDPAGES
public static final java.lang.String LOCALIZEDPAGES
Generated constant - Attribute key ofAbstractPage.localizedPages
attribute 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 typeCMSItem
at extensioncms2
_masterTemplate
- initial attribute declared by typeAbstractPage
at extensioncms2
_uid
- initial attribute declared by typeCMSItem
at 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 typeCMSItem
at extensioncms2
_masterTemplate
- initial attribute declared by typeAbstractPage
at extensioncms2
_owner
- initial attribute declared by typeItem
at extensioncore
_uid
- initial attribute declared by typeCMSItem
at extensioncms2
-
-
Method Detail
-
getApprovalStatus
@Accessor(qualifier="approvalStatus", type=GETTER) public CmsApprovalStatus getApprovalStatus()
Generated method - Getter of theAbstractPage.approvalStatus
attribute 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.availableContentSlots
attribute 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.contentSlots
attribute 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.defaultPage
attribute defined at extensioncms2
.- Returns:
- the defaultPage
-
getDisplayStatus
@Accessor(qualifier="displayStatus", type=GETTER) public CmsItemDisplayStatus getDisplayStatus()
Generated method - Getter of theAbstractPage.displayStatus
dynamic attribute defined at extensioncms2
.- Returns:
- the displayStatus
-
getLocalizedPages
@Accessor(qualifier="localizedPages", type=GETTER) public java.util.Collection<AbstractPageModel> getLocalizedPages()
Generated method - Getter of theAbstractPage.localizedPages
attribute 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.lockedBy
attribute defined at extensioncms2
.- Returns:
- the lockedBy
-
getMasterTemplate
@Accessor(qualifier="masterTemplate", type=GETTER) public PageTemplateModel getMasterTemplate()
Generated method - Getter of theAbstractPage.masterTemplate
attribute 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.missingContentSlots
attribute defined at extensioncms2
.- Returns:
- the missingContentSlots
-
getNavigationNodeList
@Accessor(qualifier="navigationNodeList", type=GETTER) public java.util.List<CMSNavigationNodeModel> getNavigationNodeList()
Generated method - Getter of theAbstractPage.navigationNodeList
dynamic 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.originalPage
attribute defined at extensioncms2
.- Returns:
- the originalPage
-
getPageStatus
@Accessor(qualifier="pageStatus", type=GETTER) public CmsPageStatus getPageStatus()
Generated method - Getter of theAbstractPage.pageStatus
attribute defined at extensioncms2
.- Returns:
- the pageStatus
-
getPreviewImage
@Accessor(qualifier="previewImage", type=GETTER) public MediaModel getPreviewImage()
Generated method - Getter of theAbstractPage.previewImage
attribute defined at extensioncms2
.- Returns:
- the previewImage
-
getRestrictions
@Accessor(qualifier="restrictions", type=GETTER) public java.util.List<AbstractRestrictionModel> getRestrictions()
Generated method - Getter of theAbstractPage.restrictions
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the restrictions
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle()
Generated method - Getter of theAbstractPage.title
attribute 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.title
attribute 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.type
attribute 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.type
attribute 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.typeCode
attribute 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.view
attribute defined at extensioncms2
.- Returns:
- the view
-
isCopyToCatalogsDisabled
@Accessor(qualifier="copyToCatalogsDisabled", type=GETTER) public boolean isCopyToCatalogsDisabled()
Generated method - Getter of theAbstractPage.copyToCatalogsDisabled
attribute 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.onlyOneRestrictionMustApply
attribute defined at extensioncms2
.- Returns:
- the onlyOneRestrictionMustApply
-
setApprovalStatus
@Accessor(qualifier="approvalStatus", type=SETTER) public void setApprovalStatus(CmsApprovalStatus value)
Generated method - Setter ofAbstractPage.approvalStatus
attribute defined at extensioncms2
.- Parameters:
value
- the approvalStatus
-
setCopyToCatalogsDisabled
@Accessor(qualifier="copyToCatalogsDisabled", type=SETTER) public void setCopyToCatalogsDisabled(boolean value)
Generated method - Setter ofAbstractPage.copyToCatalogsDisabled
attribute 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.defaultPage
attribute defined at extensioncms2
.- Parameters:
value
- the defaultPage
-
setLocalizedPages
@Accessor(qualifier="localizedPages", type=SETTER) public void setLocalizedPages(java.util.Collection<AbstractPageModel> value)
Generated method - Setter ofAbstractPage.localizedPages
attribute defined at extensioncms2
.- Parameters:
value
- the localizedPages
-
setLockedBy
@Accessor(qualifier="lockedBy", type=SETTER) public void setLockedBy(UserModel value)
Generated method - Setter ofAbstractPage.lockedBy
attribute defined at extensioncms2
.- Parameters:
value
- the lockedBy
-
setMasterTemplate
@Accessor(qualifier="masterTemplate", type=SETTER) public void setMasterTemplate(PageTemplateModel value)
Generated method - Setter ofAbstractPage.masterTemplate
attribute 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.navigationNodeList
dynamic attribute defined at extensioncms2
.- Parameters:
value
- the navigationNodeList
-
setOnlyOneRestrictionMustApply
@Accessor(qualifier="onlyOneRestrictionMustApply", type=SETTER) public void setOnlyOneRestrictionMustApply(boolean value)
Generated method - Setter ofAbstractPage.onlyOneRestrictionMustApply
attribute defined at extensioncms2
.- Parameters:
value
- the onlyOneRestrictionMustApply
-
setOriginalPage
@Accessor(qualifier="originalPage", type=SETTER) public void setOriginalPage(AbstractPageModel value)
Generated method - Setter ofAbstractPage.originalPage
attribute defined at extensioncms2
.- Parameters:
value
- the originalPage
-
setPageStatus
@Accessor(qualifier="pageStatus", type=SETTER) public void setPageStatus(CmsPageStatus value)
Generated method - Setter ofAbstractPage.pageStatus
attribute defined at extensioncms2
.- Parameters:
value
- the pageStatus
-
setPreviewImage
@Accessor(qualifier="previewImage", type=SETTER) public void setPreviewImage(MediaModel value)
Generated method - Setter ofAbstractPage.previewImage
attribute 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.restrictions
attribute defined at extensioncms2
.- Parameters:
value
- the restrictions
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value)
Generated method - Setter ofAbstractPage.title
attribute 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.title
attribute defined at extensioncms2
.- Parameters:
value
- the titleloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
-