Class FeaturedCategoryListItemImpl
- java.lang.Object
-
- com.adobe.cq.commerce.core.components.internal.models.v1.categorylist.FeaturedCategoryListItemImpl
-
- All Implemented Interfaces:
FeaturedCategoryListItem
public class FeaturedCategoryListItemImpl extends Object implements FeaturedCategoryListItem
-
-
Constructor Summary
Constructors Constructor Description FeaturedCategoryListItemImpl(CommerceIdentifier categoryId, String assetPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAssetPath()
The path to the asset which overrides the default asset.CommerceIdentifier
getCategoryIdentifier()
The identifier of this category.
-
-
-
Constructor Detail
-
FeaturedCategoryListItemImpl
public FeaturedCategoryListItemImpl(CommerceIdentifier categoryId, String assetPath)
-
-
Method Detail
-
getCategoryIdentifier
public CommerceIdentifier getCategoryIdentifier()
Description copied from interface:FeaturedCategoryListItem
The identifier of this category.- Specified by:
getCategoryIdentifier
in interfaceFeaturedCategoryListItem
- Returns:
- a
CommerceIdentifier
object to idenfity this category
-
getAssetPath
public String getAssetPath()
Description copied from interface:FeaturedCategoryListItem
The path to the asset which overrides the default asset.- Specified by:
getAssetPath
in interfaceFeaturedCategoryListItem
- Returns:
- a String representing the AEM path to the asset, or
null
if there's no such asset set.
-
-