Class RestrictedAttributesProvider
- java.lang.Object
-
- de.hybris.platform.datahubbackoffice.presentation.renderer.RestrictedAttributesProvider
-
- All Implemented Interfaces:
CanonicalItemAttributesProvider
public class RestrictedAttributesProvider extends java.lang.Object implements 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 Constructor Description RestrictedAttributesProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.hybris.cockpitng.core.config.impl.jaxb.editorarea.Attribute>getAttributes(com.hybris.datahub.dto.item.ItemData item)Retrieves attributes of the given item.
-
-
-
Method Detail
-
getAttributes
public java.util.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.
-
-