public class CategoryFeatureComponentModel extends SimpleCMSComponentModel
Represents category feature component that displays some commercial information about the category.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CATEGORY
Generated constant - Attribute key of
CategoryFeatureComponent.category attribute defined at extension acceleratorcms. |
static String |
DESCRIPTION
Generated constant - Attribute key of
CategoryFeatureComponent.description attribute defined at extension acceleratorcms. |
static String |
MEDIA
Generated constant - Attribute key of
CategoryFeatureComponent.media attribute defined at extension acceleratorcms. |
static String |
TITLE
Generated constant - Attribute key of
CategoryFeatureComponent.title attribute defined at extension acceleratorcms. |
_ELEMENTSFORCONTAINER, CONTAINERS_ELEMENTSFORSLOT, ACTIONS, CONTAINER, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, SLOTS, TYPE, TYPECODE, VISIBLECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CategoryFeatureComponentModel()
Generated constructor - Default constructor for generic creation.
|
CategoryFeatureComponentModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CategoryFeatureComponentModel(CatalogVersionModel _catalogVersion,
String _uid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CategoryFeatureComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CategoryModel |
getCategory()
Generated method - Getter of the
CategoryFeatureComponent.category attribute defined at extension acceleratorcms. |
String |
getDescription()
Generated method - Getter of the
CategoryFeatureComponent.description attribute defined at extension acceleratorcms. |
String |
getDescription(Locale loc)
Generated method - Getter of the
CategoryFeatureComponent.description attribute defined at extension acceleratorcms. |
MediaModel |
getMedia()
Generated method - Getter of the
CategoryFeatureComponent.media attribute defined at extension acceleratorcms. |
MediaModel |
getMedia(Locale loc)
Generated method - Getter of the
CategoryFeatureComponent.media attribute defined at extension acceleratorcms. |
String |
getTitle()
Generated method - Getter of the
CategoryFeatureComponent.title attribute defined at extension acceleratorcms. |
String |
getTitle(Locale loc)
Generated method - Getter of the
CategoryFeatureComponent.title attribute defined at extension acceleratorcms. |
void |
setCategory(CategoryModel value)
Generated method - Setter of
CategoryFeatureComponent.category attribute defined at extension acceleratorcms. |
void |
setDescription(String value)
Generated method - Setter of
CategoryFeatureComponent.description attribute defined at extension acceleratorcms. |
void |
setDescription(String value,
Locale loc)
Generated method - Setter of
CategoryFeatureComponent.description attribute defined at extension acceleratorcms. |
void |
setMedia(MediaModel value)
Generated method - Setter of
CategoryFeatureComponent.media attribute defined at extension acceleratorcms. |
void |
setMedia(MediaModel value,
Locale loc)
Generated method - Setter of
CategoryFeatureComponent.media attribute defined at extension acceleratorcms. |
void |
setTitle(String value)
Generated method - Setter of
CategoryFeatureComponent.title attribute defined at extension acceleratorcms. |
void |
setTitle(String value,
Locale loc)
Generated method - Setter of
CategoryFeatureComponent.title attribute defined at extension acceleratorcms. |
getContainers, setContainersgetActions, getRestrictions, getSlots, getType, getType, getTypeCode, getVisible, isContainer, isOnlyOneRestrictionMustApply, isRestricted, setActions, setOnlyOneRestrictionMustApply, setRestrictions, setSlots, setVisiblegetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String TITLE
CategoryFeatureComponent.title attribute defined at extension acceleratorcms.public static final String DESCRIPTION
CategoryFeatureComponent.description attribute defined at extension acceleratorcms.public static final String MEDIA
CategoryFeatureComponent.media attribute defined at extension acceleratorcms.public static final String CATEGORY
CategoryFeatureComponent.category attribute defined at extension acceleratorcms.public CategoryFeatureComponentModel()
public CategoryFeatureComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CategoryFeatureComponentModel(CatalogVersionModel _catalogVersion, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public CategoryFeatureComponentModel(CatalogVersionModel _catalogVersion, ItemModel _owner, String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="category", type=GETTER) public CategoryModel getCategory()
CategoryFeatureComponent.category attribute defined at extension acceleratorcms.@Accessor(qualifier="description", type=GETTER) public String getDescription()
CategoryFeatureComponent.description attribute defined at extension acceleratorcms.@Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
CategoryFeatureComponent.description attribute defined at extension acceleratorcms.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="media", type=GETTER) public MediaModel getMedia()
CategoryFeatureComponent.media attribute defined at extension acceleratorcms.@Accessor(qualifier="media", type=GETTER) public MediaModel getMedia(Locale loc)
CategoryFeatureComponent.media attribute defined at extension acceleratorcms.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="title", type=GETTER) public String getTitle()
CategoryFeatureComponent.title attribute defined at extension acceleratorcms.@Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
CategoryFeatureComponent.title attribute defined at extension acceleratorcms.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="category", type=SETTER) public void setCategory(CategoryModel value)
CategoryFeatureComponent.category attribute defined at extension acceleratorcms.value - the category@Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
CategoryFeatureComponent.description attribute defined at extension acceleratorcms.value - the description - Localized description of the component.@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
CategoryFeatureComponent.description attribute defined at extension acceleratorcms.value - the description - Localized description of the component.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value)
CategoryFeatureComponent.media attribute defined at extension acceleratorcms.value - the media - Localized media that is displayed in the component.@Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value, Locale loc)
CategoryFeatureComponent.media attribute defined at extension acceleratorcms.value - the media - Localized media that is displayed in the component.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
CategoryFeatureComponent.title attribute defined at extension acceleratorcms.value - the title - Localized title of the component.@Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
CategoryFeatureComponent.title attribute defined at extension acceleratorcms.value - the title - Localized title of the component.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.