Class CountPropertyPopulator

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

public class CountPropertyPopulator extends Object implements ResponseWriterPropertyPopulator
  • Constructor Details

    • CountPropertyPopulator

      public CountPropertyPopulator()
  • 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