Package de.hybris.platform.cms2.model
Class CMSPageTypeModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.type.TypeManagerManagedModel
de.hybris.platform.core.model.type.TypeModel
de.hybris.platform.core.model.type.ComposedTypeModel
de.hybris.platform.cms2.model.CMSPageTypeModel
- All Implemented Interfaces:
Serializable
Generated model class for type CMSPageType first defined at extension cms2.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationApplicableRestrictionTypeForPageTypesdefining source attributerestrictionTypesin extensioncms2.static final StringGenerated model type code constant.static final StringGenerated relation code constant for relationValidPageTypesForTemplatesdefining source attributetemplatesin extensioncms2.static final StringGenerated constant - Attribute key ofCMSPageType.previewDisabledattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSPageType.restrictionTypesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSPageType.templatesattribute defined at extensioncms2.Fields inherited from class de.hybris.platform.core.model.type.ComposedTypeModel
_CONSTRAINTCOMPOSITETYPERELATION, _FORMAT2COMTYPREL, _SYNCJOB2TYPEREL, ABSTRACT, ALLSUBTYPES, ALLSUPERTYPES, ATTRIBUTEDESCRIPTORS, CATALOGITEMTYPE, CATALOGVERSIONATTRIBUTE, CATALOGVERSIONATTRIBUTEQUALIFIER, CONSTRAINTS, DECLAREDATTRIBUTEDESCRIPTORS, DUMPPROPERTYTABLE, DYNAMIC, FORMATS, INHERITANCEPATHSTRING, INHERITEDATTRIBUTEDESCRIPTORS, JALOCLASS, JALOONLY, JNDINAME, LEGACYPERSISTENCE, SINGLETON, SUBTYPES, SUPERTYPE, SYNCJOBS, SYSTEMTYPE, TABLE, UNIQUEKEYATTRIBUTEQUALIFIER, UNIQUEKEYATTRIBUTESFields inherited from class de.hybris.platform.core.model.type.TypeModel
CODE, DEFAULTVALUE, DESCRIPTION, XMLDEFINITIONFields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAMEFields 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.CMSPageTypeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextCMSPageTypeModel(Boolean _catalogItemType, String _code, Boolean _generate, ItemModel _owner, 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(Boolean _catalogItemType, String _code, Boolean _generate, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theCMSPageType.restrictionTypesattribute defined at extensioncms2.Generated method - Getter of theCMSPageType.templatesattribute defined at extensioncms2.booleanGenerated method - Getter of theCMSPageType.previewDisabledattribute defined at extensioncms2.voidsetPreviewDisabled(boolean value) Generated method - Setter ofCMSPageType.previewDisabledattribute defined at extensioncms2.voidGenerated method - Setter ofCMSPageType.restrictionTypesattribute defined at extensioncms2.voidsetTemplates(Set<PageTemplateModel> value) Generated method - Setter ofCMSPageType.templatesattribute defined at extensioncms2.Methods inherited from class de.hybris.platform.core.model.type.ComposedTypeModel
getAbstract, getAllSubTypes, getAllSuperTypes, getCatalogItemType, getCatalogVersionAttribute, getConstraints, getDeclaredattributedescriptors, getDumpPropertyTable, getDynamic, getFormats, getInheritedattributedescriptors, getJaloclass, getJaloonly, getJndiName, getLegacyPersistence, getSingleton, getSubtypes, getSuperType, getSystemType, getTable, getUniqueKeyAttributes, setCatalogItemType, setCatalogVersionAttribute, setConstraints, setDeclaredattributedescriptors, setFormats, setJaloclass, setJaloonly, setLegacyPersistence, setSingleton, setSuperType, setSystemType, setUniqueKeyAttributesMethods inherited from class de.hybris.platform.core.model.type.TypeModel
getCode, getDefaultValue, getDescription, getDescription, getXmldefinition, setCode, setDefaultValue, setDescription, setDescriptionMethods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setNameMethods 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:
-
_APPLICABLERESTRICTIONTYPEFORPAGETYPES
Generated relation code constant for relationApplicableRestrictionTypeForPageTypesdefining source attributerestrictionTypesin extensioncms2.- See Also:
-
_VALIDPAGETYPESFORTEMPLATES
Generated relation code constant for relationValidPageTypesForTemplatesdefining source attributetemplatesin extensioncms2.- See Also:
-
PREVIEWDISABLED
Generated constant - Attribute key ofCMSPageType.previewDisabledattribute defined at extensioncms2.- See Also:
-
RESTRICTIONTYPES
Generated constant - Attribute key ofCMSPageType.restrictionTypesattribute defined at extensioncms2.- See Also:
-
TEMPLATES
Generated constant - Attribute key ofCMSPageType.templatesattribute defined at extensioncms2.- See Also:
-
-
Constructor Details
-
CMSPageTypeModel
public CMSPageTypeModel()Generated constructor - Default constructor for generic creation. -
CMSPageTypeModel
public CMSPageTypeModel(de.hybris.platform.servicelayer.model.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(Boolean _catalogItemType, String _code, Boolean _generate, 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 typeComposedTypeat extensioncatalog_code- initial attribute declared by typeTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_singleton- initial attribute declared by typeComposedTypeat extensioncore_superType- initial attribute declared by typeComposedTypeat extensioncore
-
CMSPageTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSPageTypeModel(Boolean _catalogItemType, String _code, Boolean _generate, ItemModel _owner, 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 typeComposedTypeat extensioncatalog_code- initial attribute declared by typeTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_owner- initial attribute declared by typeItemat extensioncore_singleton- initial attribute declared by typeComposedTypeat extensioncore_superType- initial attribute declared by typeComposedTypeat extensioncore
-
-
Method Details
-
getRestrictionTypes
@Accessor(qualifier="restrictionTypes", type=GETTER) public Collection<RestrictionTypeModel> getRestrictionTypes()Generated method - Getter of theCMSPageType.restrictionTypesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the restrictionTypes
-
getTemplates
Generated method - Getter of theCMSPageType.templatesattribute 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.previewDisabledattribute defined at extensioncms2.- Returns:
- the previewDisabled
-
setPreviewDisabled
@Accessor(qualifier="previewDisabled", type=SETTER) public void setPreviewDisabled(boolean value) Generated method - Setter ofCMSPageType.previewDisabledattribute defined at extensioncms2.- Parameters:
value- the previewDisabled
-
setRestrictionTypes
@Accessor(qualifier="restrictionTypes", type=SETTER) public void setRestrictionTypes(Collection<RestrictionTypeModel> value) Generated method - Setter ofCMSPageType.restrictionTypesattribute defined at extensioncms2.- Parameters:
value- the restrictionTypes
-
setTemplates
@Accessor(qualifier="templates", type=SETTER) public void setTemplates(Set<PageTemplateModel> value) Generated method - Setter ofCMSPageType.templatesattribute defined at extensioncms2.- Parameters:
value- the templates
-