java.lang.Object
de.hybris.platform.odata2services.odata.processor.handler.persistence.batch.BatchPersistenceHandler
All Implemented Interfaces:
ODataProcessorHandler<BatchParam,org.apache.olingo.odata2.api.processor.ODataResponse>

public class BatchPersistenceHandler extends Object implements ODataProcessorHandler<BatchParam,org.apache.olingo.odata2.api.processor.ODataResponse>
ODataProcessor handler that persists a batch request
  • Constructor Details

    • BatchPersistenceHandler

      public BatchPersistenceHandler()
  • Method Details

    • handle

      public org.apache.olingo.odata2.api.processor.ODataResponse handle(BatchParam param) throws org.apache.olingo.odata2.api.exception.ODataException
      Specified by:
      handle in interface ODataProcessorHandler<BatchParam,org.apache.olingo.odata2.api.processor.ODataResponse>
      Throws:
      org.apache.olingo.odata2.api.exception.ODataException
    • writeBatchResponse

      protected org.apache.olingo.odata2.api.processor.ODataResponse writeBatchResponse(List<org.apache.olingo.odata2.api.batch.BatchResponsePart> responseParts) throws org.apache.olingo.odata2.api.batch.BatchException
      Writes the list BatchResponsePart in a ODataResponse
      Parameters:
      responseParts - Responses
      Returns:
      an ODataResponse
      Throws:
      org.apache.olingo.odata2.api.batch.BatchException - is thrown if writing has a failure
    • getODataServicesConfiguration

      protected ODataServicesConfiguration getODataServicesConfiguration()
    • setODataServicesConfiguration

      public void setODataServicesConfiguration(ODataServicesConfiguration oDataServicesConfiguration)