Class ContentSlotNameModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cms2.model.contents.ContentSlotNameModel
- All Implemented Interfaces:
Serializable
Generated model class for type ContentSlotName 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 relationAvailableSlotsForTemplatedefining source attributetemplatein extensioncms2.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofContentSlotName.compTypeGroupattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentSlotName.nameattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentSlotName.templateattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentSlotName.templatePOSattribute defined at extensioncms2.static final StringGenerated constant - Attribute key ofContentSlotName.validComponentTypesattribute defined at extensioncms2.Fields 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.ContentSlotNameModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextContentSlotNameModel(String _name, PageTemplateModel _template) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersContentSlotNameModel(String _name, ItemModel _owner, PageTemplateModel _template) 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 theContentSlotName.compTypeGroupattribute defined at extensioncms2.getName()Generated method - Getter of theContentSlotName.nameattribute defined at extensioncms2.Generated method - Getter of theContentSlotName.templateattribute defined at extensioncms2.Deprecated, for removal: This API element is subject to removal in a future version.since 5.0voidGenerated method - Setter ofContentSlotName.compTypeGroupattribute defined at extensioncms2.voidGenerated method - Setter ofContentSlotName.nameattribute defined at extensioncms2.voidsetTemplate(PageTemplateModel value) Generated method - Initial setter ofContentSlotName.templateattribute defined at extensioncms2.voidDeprecated, for removal: This API element is subject to removal in a future version.since 5.0Methods 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:
-
_AVAILABLESLOTSFORTEMPLATE
Generated relation code constant for relationAvailableSlotsForTemplatedefining source attributetemplatein extensioncms2.- See Also:
-
NAME
Generated constant - Attribute key ofContentSlotName.nameattribute defined at extensioncms2.- See Also:
-
COMPTYPEGROUP
Generated constant - Attribute key ofContentSlotName.compTypeGroupattribute defined at extensioncms2.- See Also:
-
TEMPLATEPOS
Generated constant - Attribute key ofContentSlotName.templatePOSattribute defined at extensioncms2.- See Also:
-
TEMPLATE
Generated constant - Attribute key ofContentSlotName.templateattribute defined at extensioncms2.- See Also:
-
VALIDCOMPONENTTYPES
Generated constant - Attribute key ofContentSlotName.validComponentTypesattribute defined at extensioncms2.- See Also:
-
-
Constructor Details
-
ContentSlotNameModel
public ContentSlotNameModel()Generated constructor - Default constructor for generic creation. -
ContentSlotNameModel
public ContentSlotNameModel(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
-
ContentSlotNameModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentSlotNameModel(String _name, PageTemplateModel _template) 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:
_name- initial attribute declared by typeContentSlotNameat extensioncms2_template- initial attribute declared by typeContentSlotNameat extensioncms2
-
ContentSlotNameModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentSlotNameModel(String _name, ItemModel _owner, PageTemplateModel _template) 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:
_name- initial attribute declared by typeContentSlotNameat extensioncms2_owner- initial attribute declared by typeItemat extensioncore_template- initial attribute declared by typeContentSlotNameat extensioncms2
-
-
Method Details
-
getCompTypeGroup
Generated method - Getter of theContentSlotName.compTypeGroupattribute defined at extensioncms2.- Returns:
- the compTypeGroup
-
getName
Generated method - Getter of theContentSlotName.nameattribute defined at extensioncms2.- Returns:
- the name
-
getTemplate
Generated method - Getter of theContentSlotName.templateattribute defined at extensioncms2.- Returns:
- the template
-
getValidComponentTypes
@Deprecated(since="5.0", forRemoval=true) @Accessor(qualifier="validComponentTypes", type=GETTER) public Set<CMSComponentTypeModel> getValidComponentTypes()Deprecated, for removal: This API element is subject to removal in a future version.since 5.0Generated method - Getter of theContentSlotName.validComponentTypesattribute defined at extensioncms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the validComponentTypes
-
setCompTypeGroup
@Accessor(qualifier="compTypeGroup", type=SETTER) public void setCompTypeGroup(ComponentTypeGroupModel value) Generated method - Setter ofContentSlotName.compTypeGroupattribute defined at extensioncms2.- Parameters:
value- the compTypeGroup
-
setName
Generated method - Setter ofContentSlotName.nameattribute defined at extensioncms2.- Parameters:
value- the name
-
setTemplate
Generated method - Initial setter ofContentSlotName.templateattribute defined at extensioncms2. Can only be used at creation of model - before first save.- Parameters:
value- the template
-
setValidComponentTypes
@Deprecated(since="5.0", forRemoval=true) @Accessor(qualifier="validComponentTypes", type=SETTER) public void setValidComponentTypes(Set<CMSComponentTypeModel> value) Deprecated, for removal: This API element is subject to removal in a future version.since 5.0Generated method - Setter ofContentSlotName.validComponentTypesattribute defined at extensioncms2.- Parameters:
value- the validComponentTypes
-