Class RestrictedAttributesProvider
java.lang.Object
de.hybris.platform.datahubbackoffice.presentation.renderer.RestrictedAttributesProvider
- All Implemented Interfaces:
CanonicalItemAttributesProvider
An attributes retrieval strategy, which does not provide attributes for an item. It's good to use for users who do not have access to attributes.
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
RestrictedAttributesProvider
public RestrictedAttributesProvider()
-
-
Method Details
-
getAttributes
public List<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Attribute> getAttributes(com.hybris.datahub.dto.item.ItemData item) Description copied from interface:CanonicalItemAttributesProviderRetrieves attributes of the given item.- Specified by:
getAttributesin interfaceCanonicalItemAttributesProvider- 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.
-