org.odata4j.producer.resources
Class EntitiesRequestResource

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

public class EntitiesRequestResource
extends BaseResource


Constructor Summary
EntitiesRequestResource()
           
 
Method Summary
 Response createEntity(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String format, String callback, String entitySetName, InputStream payload)
           
protected  Response createEntity(HttpHeaders httpHeaders, UriInfo uriInfo, ODataProducer producer, String entitySetName, OEntity entity)
           
protected  Response createMediaLinkEntry(HttpHeaders httpHeaders, UriInfo uriInfo, ODataProducer producer, EdmEntitySet entitySet, InputStream payload)
           
 Response functionCallDelete(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String format, String callback, String functionName, InputStream payload)
           
 Response functionCallPut(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String format, String callback, String functionName, InputStream payload)
           
 Response getEntities(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String entitySetName, String inlineCount, String top, String skip, String filter, String orderBy, String format, String callback, String skipToken, String expand, String select)
           
 Response getEntitiesCount(HttpHeaders httpHeaders, UriInfo uriInfo, ContextResolver<ODataProducer> producerResolver, String entitySetName, String count, String inlineCount, String top, String skip, String filter, String orderBy, String format, String callback, String skipToken, String expand, String select)
           
protected  Response getEntitiesImpl(HttpHeaders httpHeaders, UriInfo uriInfo, ODataProducer producer, String entitySetName, boolean isCount, String inlineCount, String top, String skip, String filter, String orderBy, String format, String callback, String skipToken, String expand, String select)
           
 Response processBatch(ContextResolver<ODataProducer> producerResolver, HttpHeaders headers, Request request, String format, String callback, List<BatchBodyPart> bodyParts)
           
 
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

EntitiesRequestResource

public EntitiesRequestResource()
Method Detail

createEntity

public Response createEntity(@Context
                             HttpHeaders httpHeaders,
                             @Context
                             UriInfo uriInfo,
                             @Context
                             ContextResolver<ODataProducer> producerResolver,
                             String format,
                             String callback,
                             String entitySetName,
                             InputStream payload)
                      throws Exception
Throws:
Exception

createEntity

protected Response createEntity(HttpHeaders httpHeaders,
                                UriInfo uriInfo,
                                ODataProducer producer,
                                String entitySetName,
                                OEntity entity)
                         throws Exception
Throws:
Exception

createMediaLinkEntry

protected Response createMediaLinkEntry(HttpHeaders httpHeaders,
                                        UriInfo uriInfo,
                                        ODataProducer producer,
                                        EdmEntitySet entitySet,
                                        InputStream payload)
                                 throws Exception
Throws:
Exception

functionCallDelete

public Response functionCallDelete(@Context
                                   HttpHeaders httpHeaders,
                                   @Context
                                   UriInfo uriInfo,
                                   @Context
                                   ContextResolver<ODataProducer> producerResolver,
                                   String format,
                                   String callback,
                                   String functionName,
                                   InputStream payload)
                            throws Exception
Throws:
Exception

functionCallPut

public Response functionCallPut(@Context
                                HttpHeaders httpHeaders,
                                @Context
                                UriInfo uriInfo,
                                @Context
                                ContextResolver<ODataProducer> producerResolver,
                                String format,
                                String callback,
                                String functionName,
                                InputStream payload)
                         throws Exception
Throws:
Exception

getEntities

public Response getEntities(@Context
                            HttpHeaders httpHeaders,
                            @Context
                            UriInfo uriInfo,
                            @Context
                            ContextResolver<ODataProducer> producerResolver,
                            String entitySetName,
                            String inlineCount,
                            String top,
                            String skip,
                            String filter,
                            String orderBy,
                            String format,
                            String callback,
                            String skipToken,
                            String expand,
                            String select)
                     throws Exception
Throws:
Exception

getEntitiesCount

public Response getEntitiesCount(@Context
                                 HttpHeaders httpHeaders,
                                 @Context
                                 UriInfo uriInfo,
                                 @Context
                                 ContextResolver<ODataProducer> producerResolver,
                                 String entitySetName,
                                 String count,
                                 String inlineCount,
                                 String top,
                                 String skip,
                                 String filter,
                                 String orderBy,
                                 String format,
                                 String callback,
                                 String skipToken,
                                 String expand,
                                 String select)
                          throws Exception
Throws:
Exception

getEntitiesImpl

protected Response getEntitiesImpl(HttpHeaders httpHeaders,
                                   UriInfo uriInfo,
                                   ODataProducer producer,
                                   String entitySetName,
                                   boolean isCount,
                                   String inlineCount,
                                   String top,
                                   String skip,
                                   String filter,
                                   String orderBy,
                                   String format,
                                   String callback,
                                   String skipToken,
                                   String expand,
                                   String select)
                            throws Exception
Throws:
Exception

processBatch

public Response processBatch(@Context
                             ContextResolver<ODataProducer> producerResolver,
                             @Context
                             HttpHeaders headers,
                             @Context
                             Request request,
                             String format,
                             String callback,
                             List<BatchBodyPart> bodyParts)
                      throws Exception
Throws:
Exception


http://odata4j.org