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_APPLICABLERESTRICTIONTYPEFORPAGETYPESGenerated relation code constant for relationApplicableRestrictionTypeForPageTypesdefining source attributerestrictionTypesin extensioncms2.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.String_VALIDPAGETYPESFORTEMPLATESGenerated relation code constant for relationValidPageTypesForTemplatesdefining source attributetemplatesin extensioncms2.static java.lang.StringPREVIEWDISABLEDGenerated constant - Attribute key ofCMSPageType.previewDisabledattribute defined at extensioncms2.static java.lang.StringRESTRICTIONTYPESGenerated constant - Attribute key ofCMSPageType.restrictionTypesattribute defined at extensioncms2.static java.lang.StringTEMPLATESGenerated constant - Attribute key ofCMSPageType.templatesattribute 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.restrictionTypesattribute defined at extensioncms2.java.util.Set<PageTemplateModel>getTemplates()Generated method - Getter of theCMSPageType.templatesattribute defined at extensioncms2.booleanisPreviewDisabled()Generated method - Getter of theCMSPageType.previewDisabledattribute defined at extensioncms2.voidsetPreviewDisabled(boolean value)Generated method - Setter ofCMSPageType.previewDisabledattribute defined at extensioncms2.voidsetRestrictionTypes(java.util.Collection<RestrictionTypeModel> value)Generated method - Setter ofCMSPageType.restrictionTypesattribute defined at extensioncms2.voidsetTemplates(java.util.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, 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 relationApplicableRestrictionTypeForPageTypesdefining source attributerestrictionTypesin extensioncms2.- See Also:
- Constant Field Values
-
_VALIDPAGETYPESFORTEMPLATES
public static final java.lang.String _VALIDPAGETYPESFORTEMPLATES
Generated relation code constant for relationValidPageTypesForTemplatesdefining source attributetemplatesin extensioncms2.- See Also:
- Constant Field Values
-
PREVIEWDISABLED
public static final java.lang.String PREVIEWDISABLED
Generated constant - Attribute key ofCMSPageType.previewDisabledattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
RESTRICTIONTYPES
public static final java.lang.String RESTRICTIONTYPES
Generated constant - Attribute key ofCMSPageType.restrictionTypesattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
TEMPLATES
public static final java.lang.String TEMPLATES
Generated constant - Attribute key ofCMSPageType.templatesattribute 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 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(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 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 Detail
-
getRestrictionTypes
@Accessor(qualifier="restrictionTypes", type=GETTER) public java.util.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
@Accessor(qualifier="templates", type=GETTER) public java.util.Set<PageTemplateModel> 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(java.util.Collection<RestrictionTypeModel> value)
Generated method - Setter ofCMSPageType.restrictionTypesattribute 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.templatesattribute defined at extensioncms2.- Parameters:
value- the templates
-
-