Package de.hybris.platform.cms2.model
Class CMSPageTypeModel
- java.lang.Object
-
- All Implemented Interfaces:
java.io.Serializable
public class CMSPageTypeModel extends ComposedTypeModel
Generated model class for type CMSPageType 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
_APPLICABLERESTRICTIONTYPEFORPAGETYPES
Generated relation code constant for relationApplicableRestrictionTypeForPageTypes
defining source attributerestrictionTypes
in extensioncms2
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
_VALIDPAGETYPESFORTEMPLATES
Generated relation code constant for relationValidPageTypesForTemplates
defining source attributetemplates
in extensioncms2
.static java.lang.String
PREVIEWDISABLED
Generated constant - Attribute key ofCMSPageType.previewDisabled
attribute defined at extensioncms2
.static java.lang.String
RESTRICTIONTYPES
Generated constant - Attribute key ofCMSPageType.restrictionTypes
attribute defined at extensioncms2
.static java.lang.String
TEMPLATES
Generated constant - Attribute key ofCMSPageType.templates
attribute defined at extensioncms2
.-
Fields inherited from class de.hybris.platform.core.model.type.ComposedTypeModel
_COCKPITITEMTEMPLATE2COMPOSEDTYPERELATION, _CONSTRAINTCOMPOSITETYPERELATION, _FORMAT2COMTYPREL, _STREAMCONFIGURATIONEXCLUDEDSUBTYPES, _SYNCJOB2TYPEREL, ABSTRACT, ALLSUBTYPES, ALLSUPERTYPES, ATTRIBUTEDESCRIPTORS, CATALOGITEMTYPE, CATALOGVERSIONATTRIBUTE, CATALOGVERSIONATTRIBUTEQUALIFIER, COCKPITITEMTEMPLATES, CONSTRAINTS, DECLAREDATTRIBUTEDESCRIPTORS, DUMPPROPERTYTABLE, DYNAMIC, FORMATS, INHERITANCEPATHSTRING, INHERITEDATTRIBUTEDESCRIPTORS, JALOCLASS, JALOONLY, JNDINAME, LEGACYPERSISTENCE, SINGLETON, STREAMCONFIGURATIONS, SUBTYPES, SUPERTYPE, SYNCJOBS, SYSTEMTYPE, TABLE, UNIQUEKEYATTRIBUTEQUALIFIER, UNIQUEKEYATTRIBUTES
-
Fields inherited from class de.hybris.platform.core.model.type.TypeModel
CODE, DEFAULTVALUE, DESCRIPTION, XMLDEFINITION
-
Fields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAME
-
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 CMSPageTypeModel()
Generated constructor - Default constructor for generic creation.CMSPageTypeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextCMSPageTypeModel(java.lang.Boolean _catalogItemType, java.lang.String _code, java.lang.Boolean _generate, ItemModel _owner, java.lang.Boolean _singleton, ComposedTypeModel _superType)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCMSPageTypeModel(java.lang.Boolean _catalogItemType, java.lang.String _code, java.lang.Boolean _generate, java.lang.Boolean _singleton, ComposedTypeModel _superType)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<RestrictionTypeModel>
getRestrictionTypes()
Generated method - Getter of theCMSPageType.restrictionTypes
attribute defined at extensioncms2
.java.util.Set<PageTemplateModel>
getTemplates()
Generated method - Getter of theCMSPageType.templates
attribute defined at extensioncms2
.boolean
isPreviewDisabled()
Generated method - Getter of theCMSPageType.previewDisabled
attribute defined at extensioncms2
.void
setPreviewDisabled(boolean value)
Generated method - Setter ofCMSPageType.previewDisabled
attribute defined at extensioncms2
.void
setRestrictionTypes(java.util.Collection<RestrictionTypeModel> value)
Generated method - Setter ofCMSPageType.restrictionTypes
attribute defined at extensioncms2
.void
setTemplates(java.util.Set<PageTemplateModel> value)
Generated method - Setter ofCMSPageType.templates
attribute defined at extensioncms2
.-
Methods inherited from class de.hybris.platform.core.model.type.ComposedTypeModel
getAbstract, getAllSubTypes, getAllSuperTypes, getCatalogItemType, getCatalogVersionAttribute, getCockpitItemTemplates, getConstraints, getDeclaredattributedescriptors, getDumpPropertyTable, getDynamic, getFormats, getInheritedattributedescriptors, getJaloclass, getJaloonly, getJndiName, getLegacyPersistence, getSingleton, getStreamConfigurations, getSubtypes, getSuperType, getSystemType, getTable, getUniqueKeyAttributes, setCatalogItemType, setCatalogVersionAttribute, setCockpitItemTemplates, setConstraints, setDeclaredattributedescriptors, setFormats, setJaloclass, setJaloonly, setLegacyPersistence, setSingleton, setStreamConfigurations, setSuperType, setSystemType, setUniqueKeyAttributes
-
Methods inherited from class de.hybris.platform.core.model.type.TypeModel
getCode, getDefaultValue, getDescription, getDescription, getXmldefinition, setCode, setDefaultValue, setDescription, setDescription
-
Methods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setName
-
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
-
_APPLICABLERESTRICTIONTYPEFORPAGETYPES
public static final java.lang.String _APPLICABLERESTRICTIONTYPEFORPAGETYPES
Generated relation code constant for relationApplicableRestrictionTypeForPageTypes
defining source attributerestrictionTypes
in extensioncms2
.- See Also:
- Constant Field Values
-
_VALIDPAGETYPESFORTEMPLATES
public static final java.lang.String _VALIDPAGETYPESFORTEMPLATES
Generated relation code constant for relationValidPageTypesForTemplates
defining source attributetemplates
in extensioncms2
.- See Also:
- Constant Field Values
-
PREVIEWDISABLED
public static final java.lang.String PREVIEWDISABLED
Generated constant - Attribute key ofCMSPageType.previewDisabled
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
RESTRICTIONTYPES
public static final java.lang.String RESTRICTIONTYPES
Generated constant - Attribute key ofCMSPageType.restrictionTypes
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
TEMPLATES
public static final java.lang.String TEMPLATES
Generated constant - Attribute key ofCMSPageType.templates
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CMSPageTypeModel
public CMSPageTypeModel()
Generated constructor - Default constructor for generic creation.
-
CMSPageTypeModel
public CMSPageTypeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
CMSPageTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSPageTypeModel(java.lang.Boolean _catalogItemType, java.lang.String _code, java.lang.Boolean _generate, java.lang.Boolean _singleton, ComposedTypeModel _superType)
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:
_catalogItemType
- initial attribute declared by typeComposedType
at extensioncatalog
_code
- initial attribute declared by typeType
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
_singleton
- initial attribute declared by typeComposedType
at extensioncore
_superType
- initial attribute declared by typeComposedType
at extensioncore
-
CMSPageTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSPageTypeModel(java.lang.Boolean _catalogItemType, java.lang.String _code, java.lang.Boolean _generate, ItemModel _owner, java.lang.Boolean _singleton, ComposedTypeModel _superType)
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:
_catalogItemType
- initial attribute declared by typeComposedType
at extensioncatalog
_code
- initial attribute declared by typeType
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
_singleton
- initial attribute declared by typeComposedType
at extensioncore
_superType
- initial attribute declared by typeComposedType
at extensioncore
-
-
Method Detail
-
getRestrictionTypes
@Accessor(qualifier="restrictionTypes", type=GETTER) public java.util.Collection<RestrictionTypeModel> getRestrictionTypes()
Generated method - Getter of theCMSPageType.restrictionTypes
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the restrictionTypes
-
getTemplates
@Accessor(qualifier="templates", type=GETTER) public java.util.Set<PageTemplateModel> getTemplates()
Generated method - Getter of theCMSPageType.templates
attribute defined at extensioncms2
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the templates
-
isPreviewDisabled
@Accessor(qualifier="previewDisabled", type=GETTER) public boolean isPreviewDisabled()
Generated method - Getter of theCMSPageType.previewDisabled
attribute defined at extensioncms2
.- Returns:
- the previewDisabled
-
setPreviewDisabled
@Accessor(qualifier="previewDisabled", type=SETTER) public void setPreviewDisabled(boolean value)
Generated method - Setter ofCMSPageType.previewDisabled
attribute defined at extensioncms2
.- Parameters:
value
- the previewDisabled
-
setRestrictionTypes
@Accessor(qualifier="restrictionTypes", type=SETTER) public void setRestrictionTypes(java.util.Collection<RestrictionTypeModel> value)
Generated method - Setter ofCMSPageType.restrictionTypes
attribute defined at extensioncms2
.- Parameters:
value
- the restrictionTypes
-
setTemplates
@Accessor(qualifier="templates", type=SETTER) public void setTemplates(java.util.Set<PageTemplateModel> value)
Generated method - Setter ofCMSPageType.templates
attribute defined at extensioncms2
.- Parameters:
value
- the templates
-
-