public class

ConsumerDeleteEntityRequest

extends Object
implements OEntityRequest<T>
java.lang.Object
   ↳ org.odata4j.jersey.consumer.ConsumerDeleteEntityRequest

Summary

Public Methods
Void execute(String serviceUri)
Void execute()
Sends the entity-request to the OData service and returns the response.
ODataClientRequest getRawRequest()
Returns the low level, not yet executed OData request
ODataClientRequest getRawRequest(String serviceUri)
OEntityRequest<T> nav(String navProperty, OEntityKey key)
Navigates to a related entity using a collection navigation property.
OEntityRequest<T> nav(String navProperty)
Navigates to a related entity using a single-valued navigation property.
Protected Methods
ODataJerseyClient getClient()
EdmDataServices getMetadata()
List<EntitySegment> getSegments()
String getServiceRootUri()
SingleLink toSingleLink(OEntityId entity)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.odata4j.core.OEntityRequest

Public Methods

public Void execute (String serviceUri)

Parameters
serviceUri

public Void execute ()

Sends the entity-request to the OData service and returns the response.

Returns
  • the operation response

public ODataClientRequest getRawRequest ()

Returns the low level, not yet executed OData request

public ODataClientRequest getRawRequest (String serviceUri)

Parameters
serviceUri

public OEntityRequest<T> nav (String navProperty, OEntityKey key)

Navigates to a related entity using a collection navigation property.

Parameters
navProperty The collection navigation property
key The entity-key within the collection
Returns
  • the entity-request builder

public OEntityRequest<T> nav (String navProperty)

Navigates to a related entity using a single-valued navigation property.

Parameters
navProperty The single-valued collection navigation property.
Returns
  • the entity-request builder

Protected Methods

protected ODataJerseyClient getClient ()

protected EdmDataServices getMetadata ()

protected List<EntitySegment> getSegments ()

protected String getServiceRootUri ()

protected SingleLink toSingleLink (OEntityId entity)

Parameters
entity