Class RestrictedAttributesProvider

java.lang.Object
de.hybris.platform.datahubbackoffice.presentation.renderer.RestrictedAttributesProvider
All Implemented Interfaces:
CanonicalItemAttributesProvider

public class RestrictedAttributesProvider extends 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 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: CanonicalItemAttributesProvider
      Retrieves attributes of the given item.
      Specified by:
      getAttributes in interface CanonicalItemAttributesProvider
      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.