Class CrudRequest.DataRequestBuilder<T extends CrudRequest.DataRequestBuilder,R extends CrudRequest>

java.lang.Object
de.hybris.platform.odata2services.odata.persistence.AbstractRequest.AbstractRequestBuilder<T,R>
de.hybris.platform.odata2services.odata.persistence.CrudRequest.DataRequestBuilder<T,R>
Enclosing class:
CrudRequest

public static class CrudRequest.DataRequestBuilder<T extends CrudRequest.DataRequestBuilder,R extends CrudRequest> extends AbstractRequest.AbstractRequestBuilder<T,R>
  • Constructor Details

    • DataRequestBuilder

      protected DataRequestBuilder(R request)
  • Method Details

    • withIntegrationKey

      @Deprecated(since="2105", forRemoval=true) public T withIntegrationKey(String integrationKey)
      Deprecated, for removal: This API element is subject to removal in a future version.
      the method has no effect because the only way to specify an integration key is to specify the integration item, i.e. withIntegrationItem(IntegrationItem)
      Specifies integration key for the request to build
      Parameters:
      integrationKey - integration key value
      Returns:
      a builder with the integration key specified
    • withODataEntry

      @Deprecated(since="1905", forRemoval=true) public T withODataEntry(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905. Use withIntegrationItem(IntegrationItem) instead
      Specifies OData entry associated with the request
      Parameters:
      oDataEntry - an OData entry to be handled by the request
      Returns:
      a builder with the OData entry specified
    • withServiceRoot

      public T withServiceRoot(URI serviceRoot)
    • withContentType

      public T withContentType(String contentType)
    • withRequestUri

      public T withRequestUri(URI currentRequestUri)
    • withIntegrationItem

      public T withIntegrationItem(IntegrationItem item)
    • from

      public T from(R request)
      Overrides:
      from in class AbstractRequest.AbstractRequestBuilder<T extends CrudRequest.DataRequestBuilder,R extends CrudRequest>