public class

EntityRequestResource

extends BaseResource
java.lang.Object
   ↳ org.odata4j.producer.resources.BaseResource
     ↳ org.odata4j.producer.resources.EntityRequestResource

Summary

Fields
private static final Logger log
Public Constructors
EntityRequestResource()
Public Methods
Response deleteEntity(ContextResolver<ODataProducer> producerResolver, HttpHeaders httpHeaders, String entitySetName, String id)
Response getEntity(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String entitySetName, String id, String format, String callback, String expand, String select)
LinksRequestResource getLinks(String entitySetName, String id, String targetNavProp, String targetId)
PropertyRequestResource getNavProperty()
PropertyRequestResource getSimpleNavProperty()
Response mergeEntity(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String entitySetName, String id, String payload)
Response updateEntity(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String entitySetName, String id, String payload)
Protected Methods
Response getEntityImpl(HttpHeaders httpHeaders, UriInfo uriInfo, ODataProducer producer, String entitySetName, String id, String format, String callback, String expand, String select)
[Expand]
Inherited Methods
From class org.odata4j.producer.resources.BaseResource
From class java.lang.Object

Fields

private static final Logger log

Public Constructors

public EntityRequestResource ()

Public Methods

public Response deleteEntity (ContextResolver<ODataProducer> producerResolver, HttpHeaders httpHeaders, String entitySetName, String id)

Parameters
producerResolver
httpHeaders
entitySetName
id

public Response getEntity (HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String entitySetName, String id, String format, String callback, String expand, String select)

Parameters
httpHeaders
uriInfo
producerResolver
entitySetName
id
format
callback
expand
select

public LinksRequestResource getLinks (String entitySetName, String id, String targetNavProp, String targetId)

Parameters
entitySetName
id
targetNavProp
targetId

public PropertyRequestResource getNavProperty ()

public PropertyRequestResource getSimpleNavProperty ()

public Response mergeEntity (HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String entitySetName, String id, String payload)

Parameters
httpHeaders
uriInfo
producerResolver
entitySetName
id
payload

public Response updateEntity (HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String entitySetName, String id, String payload)

Parameters
httpHeaders
uriInfo
producerResolver
entitySetName
id
payload

Protected Methods

protected Response getEntityImpl (HttpHeaders httpHeaders, UriInfo uriInfo, ODataProducer producer, String entitySetName, String id, String format, String callback, String expand, String select)

Parameters
httpHeaders
uriInfo
producer
entitySetName
id
format
callback
expand
select