Class ExpandPropertyPopulator

java.lang.Object
de.hybris.platform.odata2services.odata.processor.writer.ExpandPropertyPopulator
All Implemented Interfaces:
ResponseWriterPropertyPopulator

public class ExpandPropertyPopulator extends Object implements ResponseWriterPropertyPopulator
Populates the $expand system property
  • Constructor Details

    • ExpandPropertyPopulator

      public ExpandPropertyPopulator()
  • Method Details

    • isApplicable

      public boolean isApplicable(ItemLookupRequest itemLookupRequest)
      Specified by:
      isApplicable in interface ResponseWriterPropertyPopulator
    • populate

      public org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder populate(org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties properties, ItemLookupRequest itemLookupRequest, ItemLookupResult result)
      Description copied from interface: ResponseWriterPropertyPopulator

      This method generates a builder with a specific property populated.

      Specified by:
      populate in interface ResponseWriterPropertyPopulator
      Parameters:
      properties - existing properties object already populated by previous builders
      Returns:
      a builder containing the populated property for a specific implementation of the interface
    • setTypePermissionService

      public void setTypePermissionService(TypePermissionService typePermissionService)