Interface CanonicalItemAttributesProvider
- All Known Implementing Classes:
RestrictedAttributesProvider,UnrestrictedCanonicalItemAttributesProvider
public interface CanonicalItemAttributesProvider
An abstraction of the process of retrieving attributes for a canonical item.
-
Method Summary
Modifier and TypeMethodDescriptionList<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Attribute>getAttributes(com.hybris.datahub.dto.item.ItemData item) Retrieves attributes of the given item.
-
Method Details
-
getAttributes
List<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Attribute> getAttributes(com.hybris.datahub.dto.item.ItemData item) Retrieves attributes of the given item.- Parameters:
item- a canonical item, whose attribute values need to be retrieved.- Returns:
- a list of attributes or an empty list, if the item does not have attributes.
-