Class PageTemplateModel
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.PageTemplateModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DocumentPageTemplateModel
Generated model class for type PageTemplate 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 model type code constant.static final StringGenerated constant - Attribute key ofPageTemplate.activeattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofPageTemplate.availableContentSlotsattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofPageTemplate.contentSlotsattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofPageTemplate.frontendTemplateNameattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofPageTemplate.previewIconattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofPageTemplate.restrictedPageTypesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofPageTemplate.velocityTemplateattribute defined at extensioncms2.Fields 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.PageTemplateModel(CatalogVersionModel _catalogVersion, 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 parametersPageTemplateModel(CatalogVersionModel _catalogVersion, 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 thePageTemplate.activeattribute defined at extensioncms2.Generated method - Getter of thePageTemplate.availableContentSlotsattribute defined at extensioncms2.Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of thePageTemplate.frontendTemplateNameattribute defined at extensioncms2.Generated method - Getter of thePageTemplate.previewIconattribute defined at extensioncms2.Generated method - Getter of thePageTemplate.restrictedPageTypesattribute defined at extensioncms2.Generated method - Getter of thePageTemplate.velocityTemplateattribute defined at extensioncms2.voidGenerated method - Setter ofPageTemplate.activeattribute defined at extensioncms2.voidGenerated method - Setter ofPageTemplate.availableContentSlotsattribute defined at extensioncms2.voidsetFrontendTemplateName(String value) Generated method - Setter ofPageTemplate.frontendTemplateNameattribute defined at extensioncms2.voidsetPreviewIcon(MediaModel value) Generated method - Setter ofPageTemplate.previewIconattribute defined at extensioncms2.voidGenerated method - Setter ofPageTemplate.restrictedPageTypesattribute defined at extensioncms2.voidsetVelocityTemplate(String value) Generated method - Setter ofPageTemplate.velocityTemplateattribute defined at extensioncms2.Methods 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:
-
ACTIVE
Generated constant - Attribute key ofPageTemplate.activeattribute defined at extensioncms2.- See Also:
-
VELOCITYTEMPLATE
Generated constant - Attribute key ofPageTemplate.velocityTemplateattribute defined at extensioncms2.- See Also:
-
FRONTENDTEMPLATENAME
Generated constant - Attribute key ofPageTemplate.frontendTemplateNameattribute defined at extensioncms2.- See Also:
-
CONTENTSLOTS
Generated constant - Attribute key ofPageTemplate.contentSlotsattribute defined at extensioncms2.- See Also:
-
PREVIEWICON
Generated constant - Attribute key ofPageTemplate.previewIconattribute defined at extensioncms2.- See Also:
-
AVAILABLECONTENTSLOTS
Generated constant - Attribute key ofPageTemplate.availableContentSlotsattribute defined at extensioncms2.- See Also:
-
RESTRICTEDPAGETYPES
Generated constant - Attribute key ofPageTemplate.restrictedPageTypesattribute defined at extensioncms2.- See Also:
-
-
Constructor Details
-
PageTemplateModel
public PageTemplateModel()Generated constructor - Default constructor for generic creation. -
PageTemplateModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PageTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public PageTemplateModel(CatalogVersionModel _catalogVersion, 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_uid- initial attribute declared by typeCMSItemat extensioncms2
-
PageTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public PageTemplateModel(CatalogVersionModel _catalogVersion, 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_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Details
-
getActive
Generated method - Getter of thePageTemplate.activeattribute defined at extensioncms2.- Returns:
- the active
-
getAvailableContentSlots
@Accessor(qualifier="availableContentSlots", type=GETTER) public List<ContentSlotNameModel> getAvailableContentSlots()Generated method - Getter of thePageTemplate.availableContentSlotsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the availableContentSlots
-
getContentSlots
@Deprecated(since="4.3", forRemoval=true) @Accessor(qualifier="contentSlots", type=GETTER) public List<ContentSlotForTemplateModel> getContentSlots()Deprecated, for removal: This API element is subject to removal in a future version.since 4.3Generated method - Getter of thePageTemplate.contentSlotsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the contentSlots
-
getFrontendTemplateName
Generated method - Getter of thePageTemplate.frontendTemplateNameattribute defined at extensioncms2.- Returns:
- the frontendTemplateName
-
getPreviewIcon
Generated method - Getter of thePageTemplate.previewIconattribute defined at extensioncms2.- Returns:
- the previewIcon
-
getRestrictedPageTypes
@Accessor(qualifier="restrictedPageTypes", type=GETTER) public Set<CMSPageTypeModel> getRestrictedPageTypes()Generated method - Getter of thePageTemplate.restrictedPageTypesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the restrictedPageTypes
-
getVelocityTemplate
Generated method - Getter of thePageTemplate.velocityTemplateattribute defined at extensioncms2.- Returns:
- the velocityTemplate
-
setActive
Generated method - Setter ofPageTemplate.activeattribute defined at extensioncms2.- Parameters:
value- the active
-
setAvailableContentSlots
@Accessor(qualifier="availableContentSlots", type=SETTER) public void setAvailableContentSlots(List<ContentSlotNameModel> value) Generated method - Setter ofPageTemplate.availableContentSlotsattribute defined at extensioncms2.- Parameters:
value- the availableContentSlots
-
setFrontendTemplateName
@Accessor(qualifier="frontendTemplateName", type=SETTER) public void setFrontendTemplateName(String value) Generated method - Setter ofPageTemplate.frontendTemplateNameattribute defined at extensioncms2.- Parameters:
value- the frontendTemplateName
-
setPreviewIcon
Generated method - Setter ofPageTemplate.previewIconattribute defined at extensioncms2.- Parameters:
value- the previewIcon
-
setRestrictedPageTypes
@Accessor(qualifier="restrictedPageTypes", type=SETTER) public void setRestrictedPageTypes(Set<CMSPageTypeModel> value) Generated method - Setter ofPageTemplate.restrictedPageTypesattribute defined at extensioncms2.- Parameters:
value- the restrictedPageTypes
-
setVelocityTemplate
Generated method - Setter ofPageTemplate.velocityTemplateattribute defined at extensioncms2.- Parameters:
value- the velocityTemplate
-