Package de.hybris.platform.cms2.model
Class CMSComponentTypeModel
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.CMSComponentTypeModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CMSActionTypeModel
Generated model class for type CMSComponentType 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 relation code constant for relationApplicableCmsActionsTypeForCmsComponentdefining source attributeactionTypesin extensionacceleratorcms.static final StringGenerated relation code constant for relationComponentTypeGroups2ComponentTypedefining source attributecomponentTypeGroupsin extensioncms2.static final StringGenerated model type code constant.static final StringGenerated relation code constant for relationValidComponentTypesForContentSlotsdefining source attributecontentSlotNamesin extensioncms2.static final StringGenerated relation code constant for relationValidComponentTypesForSitedefining source attributecmsSitesin extensioncms2.static final StringGenerated constant - Attribute key ofCMSComponentType.actionTypesattribute defined at extensionacceleratorcms.static final StringGenerated constant - Attribute key ofCMSComponentType.cmsSitesattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSComponentType.componentTypeGroupsattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofCMSComponentType.contentSlotNamesattribute 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, 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.Generated constructor - Default constructor for creation with existing contextCMSComponentTypeModel(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 parametersCMSComponentTypeModel(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 theCMSComponentType.actionTypesattribute defined at extensionacceleratorcms.Generated method - Getter of theCMSComponentType.cmsSitesattribute defined at extensioncms2.Generated method - Getter of theCMSComponentType.componentTypeGroupsattribute defined at extensioncms2.Generated method - Getter of theCMSComponentType.contentSlotNamesattribute defined at extensioncms2.voidGenerated method - Setter ofCMSComponentType.actionTypesattribute defined at extensionacceleratorcms.voidsetCmsSites(Set<CMSSiteModel> value) Generated method - Setter ofCMSComponentType.cmsSitesattribute defined at extensioncms2.voidGenerated method - Setter ofCMSComponentType.componentTypeGroupsattribute defined at extensioncms2.voidGenerated method - Setter ofCMSComponentType.contentSlotNamesattribute 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, 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:
-
_VALIDCOMPONENTTYPESFORSITE
Generated relation code constant for relationValidComponentTypesForSitedefining source attributecmsSitesin extensioncms2.- See Also:
-
_VALIDCOMPONENTTYPESFORCONTENTSLOTS
Generated relation code constant for relationValidComponentTypesForContentSlotsdefining source attributecontentSlotNamesin extensioncms2.- See Also:
-
_COMPONENTTYPEGROUPS2COMPONENTTYPE
Generated relation code constant for relationComponentTypeGroups2ComponentTypedefining source attributecomponentTypeGroupsin extensioncms2.- See Also:
-
_APPLICABLECMSACTIONSTYPEFORCMSCOMPONENT
Generated relation code constant for relationApplicableCmsActionsTypeForCmsComponentdefining source attributeactionTypesin extensionacceleratorcms.- See Also:
-
CMSSITES
Generated constant - Attribute key ofCMSComponentType.cmsSitesattribute defined at extensioncms2.- See Also:
-
CONTENTSLOTNAMES
Generated constant - Attribute key ofCMSComponentType.contentSlotNamesattribute defined at extensioncms2.- See Also:
-
COMPONENTTYPEGROUPS
Generated constant - Attribute key ofCMSComponentType.componentTypeGroupsattribute defined at extensioncms2.- See Also:
-
ACTIONTYPES
Generated constant - Attribute key ofCMSComponentType.actionTypesattribute defined at extensionacceleratorcms.- See Also:
-
-
Constructor Details
-
CMSComponentTypeModel
public CMSComponentTypeModel()Generated constructor - Default constructor for generic creation. -
CMSComponentTypeModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CMSComponentTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSComponentTypeModel(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
-
CMSComponentTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSComponentTypeModel(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
-
getActionTypes
@Accessor(qualifier="actionTypes", type=GETTER) public Collection<CMSActionTypeModel> getActionTypes()Generated method - Getter of theCMSComponentType.actionTypesattribute defined at extensionacceleratorcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the actionTypes
-
getCmsSites
Generated method - Getter of theCMSComponentType.cmsSitesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cmsSites
-
getComponentTypeGroups
@Accessor(qualifier="componentTypeGroups", type=GETTER) public Set<ComponentTypeGroupModel> getComponentTypeGroups()Generated method - Getter of theCMSComponentType.componentTypeGroupsattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the componentTypeGroups
-
getContentSlotNames
@Accessor(qualifier="contentSlotNames", type=GETTER) public Set<ContentSlotNameModel> getContentSlotNames()Generated method - Getter of theCMSComponentType.contentSlotNamesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the contentSlotNames
-
setActionTypes
@Accessor(qualifier="actionTypes", type=SETTER) public void setActionTypes(Collection<CMSActionTypeModel> value) Generated method - Setter ofCMSComponentType.actionTypesattribute defined at extensionacceleratorcms.- Parameters:
value- the actionTypes
-
setCmsSites
Generated method - Setter ofCMSComponentType.cmsSitesattribute defined at extensioncms2.- Parameters:
value- the cmsSites
-
setComponentTypeGroups
@Accessor(qualifier="componentTypeGroups", type=SETTER) public void setComponentTypeGroups(Set<ComponentTypeGroupModel> value) Generated method - Setter ofCMSComponentType.componentTypeGroupsattribute defined at extensioncms2.- Parameters:
value- the componentTypeGroups
-
setContentSlotNames
@Accessor(qualifier="contentSlotNames", type=SETTER) public void setContentSlotNames(Set<ContentSlotNameModel> value) Generated method - Setter ofCMSComponentType.contentSlotNamesattribute defined at extensioncms2.- Parameters:
value- the contentSlotNames
-