public class

LinksRequestResource

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

Summary

Fields
private static final Logger log
private final OEntityId sourceEntity
private final OEntityKey targetEntityKey
private final String targetNavProp
Public Constructors
LinksRequestResource(OEntityId sourceEntity, String targetNavProp, OEntityKey targetEntityKey)
Public Methods
Response createLink(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String payload)
Response deleteLink(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver)
Response getLinks(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String format, String callback)
Response updateLink(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String payload)
[Expand]
Inherited Methods
From class org.odata4j.producer.resources.BaseResource
From class java.lang.Object

Fields

private static final Logger log

private final OEntityId sourceEntity

private final OEntityKey targetEntityKey

private final String targetNavProp

Public Constructors

public LinksRequestResource (OEntityId sourceEntity, String targetNavProp, OEntityKey targetEntityKey)

Parameters
sourceEntity
targetNavProp
targetEntityKey

Public Methods

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

Parameters
httpHeaders
uriInfo
producerResolver
payload

public Response deleteLink (HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver)

Parameters
httpHeaders
uriInfo
producerResolver

public Response getLinks (HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String format, String callback)

Parameters
httpHeaders
uriInfo
producerResolver
format
callback

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

Parameters
httpHeaders
uriInfo
producerResolver
payload