Class CategoryFeatureComponentModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.cms2.model.contents.CMSItemModel
-
- de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
-
- de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
-
- de.hybris.platform.acceleratorcms.model.components.CategoryFeatureComponentModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CategoryFeatureComponentModel extends SimpleCMSComponentModel
Generated model class for type CategoryFeatureComponent first defined at extension acceleratorcms.Represents category feature component that displays some commercial information about the category.
- 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_TYPECODEGenerated model type code constant.static java.lang.StringCATEGORYGenerated constant - Attribute key ofCategoryFeatureComponent.categoryattribute defined at extensionacceleratorcms.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.static java.lang.StringMEDIAGenerated constant - Attribute key ofCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.static java.lang.StringTITLEGenerated constant - Attribute key ofCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
_ELEMENTSFORCONTAINER, CONTAINERS
-
Fields inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLE
-
Fields inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
CATALOGVERSION, NAME, UID
-
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 CategoryFeatureComponentModel()Generated constructor - Default constructor for generic creation.CategoryFeatureComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCategoryFeatureComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCategoryFeatureComponentModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CategoryModelgetCategory()Generated method - Getter of theCategoryFeatureComponent.categoryattribute defined at extensionacceleratorcms.java.lang.StringgetDescription()Generated method - Getter of theCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.MediaModelgetMedia()Generated method - Getter of theCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.MediaModelgetMedia(java.util.Locale loc)Generated method - Getter of theCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.java.lang.StringgetTitle()Generated method - Getter of theCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.java.lang.StringgetTitle(java.util.Locale loc)Generated method - Getter of theCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.voidsetCategory(CategoryModel value)Generated method - Setter ofCategoryFeatureComponent.categoryattribute defined at extensionacceleratorcms.voidsetDescription(java.lang.String value)Generated method - Setter ofCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.voidsetMedia(MediaModel value)Generated method - Setter ofCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.voidsetMedia(MediaModel value, java.util.Locale loc)Generated method - Setter ofCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.voidsetTitle(java.lang.String value)Generated method - Setter ofCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.voidsetTitle(java.lang.String value, java.util.Locale loc)Generated method - Setter ofCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.SimpleCMSComponentModel
getContainers, setContainers
-
Methods inherited from class de.hybris.platform.cms2.model.contents.components.AbstractCMSComponentModel
getActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisible
-
Methods inherited from class de.hybris.platform.cms2.model.contents.CMSItemModel
getCatalogVersion, getName, getUid, setCatalogVersion, setName, setUid
-
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
-
TITLE
public static final java.lang.String TITLE
Generated constant - Attribute key ofCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
MEDIA
public static final java.lang.String MEDIA
Generated constant - Attribute key ofCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
CATEGORY
public static final java.lang.String CATEGORY
Generated constant - Attribute key ofCategoryFeatureComponent.categoryattribute defined at extensionacceleratorcms.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CategoryFeatureComponentModel
public CategoryFeatureComponentModel()
Generated constructor - Default constructor for generic creation.
-
CategoryFeatureComponentModel
public CategoryFeatureComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CategoryFeatureComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public CategoryFeatureComponentModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)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:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_uid- initial attribute declared by typeCMSItemat extensioncms2
-
CategoryFeatureComponentModel
@Deprecated(since="4.1.1", forRemoval=true) public CategoryFeatureComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)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:
_catalogVersion- initial attribute declared by typeCMSItemat extensioncms2_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typeCMSItemat extensioncms2
-
-
Method Detail
-
getCategory
@Accessor(qualifier="category", type=GETTER) public CategoryModel getCategory()
Generated method - Getter of theCategoryFeatureComponent.categoryattribute defined at extensionacceleratorcms.- Returns:
- the category
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.- Returns:
- the description - Localized description of the component.
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.- Parameters:
loc- the value localization key- Returns:
- the description - Localized description of the component.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getMedia
@Accessor(qualifier="media", type=GETTER) public MediaModel getMedia()
Generated method - Getter of theCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.- Returns:
- the media - Localized media that is displayed in the component.
-
getMedia
@Accessor(qualifier="media", type=GETTER) public MediaModel getMedia(java.util.Locale loc)
Generated method - Getter of theCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.- Parameters:
loc- the value localization key- Returns:
- the media - Localized media that is displayed in the component.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle()
Generated method - Getter of theCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.- Returns:
- the title - Localized title of the component.
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle(java.util.Locale loc)
Generated method - Getter of theCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.- Parameters:
loc- the value localization key- Returns:
- the title - Localized title of the component.
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setCategory
@Accessor(qualifier="category", type=SETTER) public void setCategory(CategoryModel value)
Generated method - Setter ofCategoryFeatureComponent.categoryattribute defined at extensionacceleratorcms.- Parameters:
value- the category
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.- Parameters:
value- the description - Localized description of the component.
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCategoryFeatureComponent.descriptionattribute defined at extensionacceleratorcms.- Parameters:
value- the description - Localized description of the component.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setMedia
@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value)
Generated method - Setter ofCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.- Parameters:
value- the media - Localized media that is displayed in the component.
-
setMedia
@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value, java.util.Locale loc)
Generated method - Setter ofCategoryFeatureComponent.mediaattribute defined at extensionacceleratorcms.- Parameters:
value- the media - Localized media that is displayed in the component.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value)
Generated method - Setter ofCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.- Parameters:
value- the title - Localized title of the component.
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCategoryFeatureComponent.titleattribute defined at extensionacceleratorcms.- Parameters:
value- the title - Localized title of the component.loc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
-