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:
java.io.Serializable
public class ContentSlotNameModel extends ItemModel
Generated model class for type ContentSlotName 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
_AVAILABLESLOTSFORTEMPLATE
Generated relation code constant for relationAvailableSlotsForTemplate
defining source attributetemplate
in extensioncms2
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
COMPTYPEGROUP
Generated constant - Attribute key ofContentSlotName.compTypeGroup
attribute defined at extensioncms2
.static java.lang.String
NAME
Generated constant - Attribute key ofContentSlotName.name
attribute defined at extensioncms2
.static java.lang.String
TEMPLATE
Generated constant - Attribute key ofContentSlotName.template
attribute defined at extensioncms2
.static java.lang.String
TEMPLATEPOS
Generated constant - Attribute key ofContentSlotName.templatePOS
attribute defined at extensioncms2
.static java.lang.String
VALIDCOMPONENTTYPES
Generated constant - Attribute key ofContentSlotName.validComponentTypes
attribute defined at extensioncms2
.-
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 ContentSlotNameModel()
Generated constructor - Default constructor for generic creation.ContentSlotNameModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextContentSlotNameModel(java.lang.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(java.lang.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ComponentTypeGroupModel
getCompTypeGroup()
Generated method - Getter of theContentSlotName.compTypeGroup
attribute defined at extensioncms2
.java.lang.String
getName()
Generated method - Getter of theContentSlotName.name
attribute defined at extensioncms2
.PageTemplateModel
getTemplate()
Generated method - Getter of theContentSlotName.template
attribute defined at extensioncms2
.java.util.Set<CMSComponentTypeModel>
getValidComponentTypes()
Deprecated, for removal: This API element is subject to removal in a future version.since 5.0void
setCompTypeGroup(ComponentTypeGroupModel value)
Generated method - Setter ofContentSlotName.compTypeGroup
attribute defined at extensioncms2
.void
setName(java.lang.String value)
Generated method - Setter ofContentSlotName.name
attribute defined at extensioncms2
.void
setTemplate(PageTemplateModel value)
Generated method - Initial setter ofContentSlotName.template
attribute defined at extensioncms2
.void
setValidComponentTypes(java.util.Set<CMSComponentTypeModel> value)
Deprecated, for removal: This API element is subject to removal in a future version.since 5.0-
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
-
_AVAILABLESLOTSFORTEMPLATE
public static final java.lang.String _AVAILABLESLOTSFORTEMPLATE
Generated relation code constant for relationAvailableSlotsForTemplate
defining source attributetemplate
in extensioncms2
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofContentSlotName.name
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
COMPTYPEGROUP
public static final java.lang.String COMPTYPEGROUP
Generated constant - Attribute key ofContentSlotName.compTypeGroup
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
TEMPLATEPOS
public static final java.lang.String TEMPLATEPOS
Generated constant - Attribute key ofContentSlotName.templatePOS
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
TEMPLATE
public static final java.lang.String TEMPLATE
Generated constant - Attribute key ofContentSlotName.template
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
VALIDCOMPONENTTYPES
public static final java.lang.String VALIDCOMPONENTTYPES
Generated constant - Attribute key ofContentSlotName.validComponentTypes
attribute defined at extensioncms2
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContentSlotNameModel
public ContentSlotNameModel()
Generated constructor - Default constructor for generic creation.
-
ContentSlotNameModel
public ContentSlotNameModel(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(java.lang.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 typeContentSlotName
at extensioncms2
_template
- initial attribute declared by typeContentSlotName
at extensioncms2
-
ContentSlotNameModel
@Deprecated(since="4.1.1", forRemoval=true) public ContentSlotNameModel(java.lang.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 typeContentSlotName
at extensioncms2
_owner
- initial attribute declared by typeItem
at extensioncore
_template
- initial attribute declared by typeContentSlotName
at extensioncms2
-
-
Method Detail
-
getCompTypeGroup
@Accessor(qualifier="compTypeGroup", type=GETTER) public ComponentTypeGroupModel getCompTypeGroup()
Generated method - Getter of theContentSlotName.compTypeGroup
attribute defined at extensioncms2
.- Returns:
- the compTypeGroup
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theContentSlotName.name
attribute defined at extensioncms2
.- Returns:
- the name
-
getTemplate
@Accessor(qualifier="template", type=GETTER) public PageTemplateModel getTemplate()
Generated method - Getter of theContentSlotName.template
attribute defined at extensioncms2
.- Returns:
- the template
-
getValidComponentTypes
@Deprecated(since="5.0", forRemoval=true) @Accessor(qualifier="validComponentTypes", type=GETTER) public java.util.Set<CMSComponentTypeModel> getValidComponentTypes()
Deprecated, for removal: This API element is subject to removal in a future version.since 5.0Generated method - Getter of theContentSlotName.validComponentTypes
attribute 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.compTypeGroup
attribute defined at extensioncms2
.- Parameters:
value
- the compTypeGroup
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofContentSlotName.name
attribute defined at extensioncms2
.- Parameters:
value
- the name
-
setTemplate
@Accessor(qualifier="template", type=SETTER) public void setTemplate(PageTemplateModel value)
Generated method - Initial setter ofContentSlotName.template
attribute 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(java.util.Set<CMSComponentTypeModel> value)
Deprecated, for removal: This API element is subject to removal in a future version.since 5.0Generated method - Setter ofContentSlotName.validComponentTypes
attribute defined at extensioncms2
.- Parameters:
value
- the validComponentTypes
-
-