org.odata4j.producer.resources
Class LinksRequestResource

java.lang.Object
  extended by org.odata4j.producer.resources.BaseResource
      extended by org.odata4j.producer.resources.LinksRequestResource

public class LinksRequestResource
extends BaseResource


Constructor Summary
LinksRequestResource(OEntityId sourceEntity, String targetNavProp, OEntityKey targetEntityKey)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.odata4j.producer.resources.BaseResource
createOrUpdateMediaLinkEntry, getMediaLinkExtension, getRequestEntity, getRequestEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinksRequestResource

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

createLink

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

deleteLink

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

getLinks

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

updateLink

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


http://odata4j.org