public interface JPAProcessor
Modifier and Type | Method and Description |
---|---|
Object |
process(DeleteUriInfo deleteuriInfo,
String contentType)
Processes OData request for deleting Entity.
|
long |
process(GetEntityCountUriInfo resultsView)
Processes OData request for fetching Entity count.
|
Object |
process(GetEntityLinkUriInfo uriParserResultView)
Processes OData request for executing $links OData command for N:1 relation.
|
long |
process(GetEntitySetCountUriInfo requestView)
Processes OData request for fetching Entity count.
|
<T> List<T> |
process(GetEntitySetLinksUriInfo uriParserResultView)
Processes OData request for executing $links OData command for N:1 relation.
|
<T> List<T> |
process(GetEntitySetUriInfo requestView)
Processes OData request for querying an Entity Set.
|
<T> Object |
process(GetEntityUriInfo requestView)
Processes OData request for reading an Entity.
|
List<Object> |
process(GetFunctionImportUriInfo requestView)
Processes OData request for executing custom operations.
|
Object |
process(PostUriInfo createView,
InputStream content,
String requestContentType)
Processes OData request for creating Entity.
|
void |
process(PostUriInfo uriParserResultView,
InputStream content,
String requestContentType,
String contentType)
Process OData request for creating Links.
|
Object |
process(PostUriInfo createView,
Map<String,Object> content)
Processes OData request for creating Entity.
|
Object |
process(PutMergePatchUriInfo updateView,
InputStream content,
String requestContentType)
Processes OData request for updating Entity.
|
void |
process(PutMergePatchUriInfo uriParserResultView,
InputStream content,
String requestContentType,
String contentType)
Process OData request for updating Links.
|
Object |
process(PutMergePatchUriInfo updateView,
Map<String,Object> content)
Processes OData request for updating Entity.
|
<T> List<T> process(GetEntitySetUriInfo requestView) throws ODataJPAModelException, ODataJPARuntimeException
T
- Template parameter representing Java Persistence Entity Type.
Note:- Default parameter is Object.
requestView
- is an OData request for querying an entity set
ODataJPAModelException
ODataJPARuntimeException
<T> Object process(GetEntityUriInfo requestView) throws ODataJPAModelException, ODataJPARuntimeException
T
- Template parameter representing Java Persistence Entity Type.
Note:- Default parameter is Object.
requestView
- OData request for reading an entity
ODataJPAModelException
ODataJPARuntimeException
long process(GetEntitySetCountUriInfo requestView) throws ODataJPAModelException, ODataJPARuntimeException
requestView
- OData request for counting an entity setODataJPAModelException
ODataJPARuntimeException
long process(GetEntityCountUriInfo resultsView) throws ODataJPAModelException, ODataJPARuntimeException
resultsView
- OData request for counting target entity.ODataJPAModelException
ODataJPARuntimeException
List<Object> process(GetFunctionImportUriInfo requestView) throws ODataJPAModelException, ODataJPARuntimeException
requestView
- OData request for executing function importODataJPAModelException
ODataJPARuntimeException
Object process(GetEntityLinkUriInfo uriParserResultView) throws ODataJPAModelException, ODataJPARuntimeException
uriParserResultView
- OData request for Entity Link URIODataJPAModelException
ODataJPARuntimeException
<T> List<T> process(GetEntitySetLinksUriInfo uriParserResultView) throws ODataJPAModelException, ODataJPARuntimeException
uriParserResultView
- OData request for Entity Set Link URIODataJPAModelException
ODataJPARuntimeException
Object process(PostUriInfo createView, InputStream content, String requestContentType) throws ODataJPAModelException, ODataJPARuntimeException
createView
- content
- requestContentType
- ODataJPAModelException
ODataJPARuntimeException
Object process(PostUriInfo createView, Map<String,Object> content) throws ODataJPAModelException, ODataJPARuntimeException
createView
- content
- ODataJPAModelException
ODataJPARuntimeException
Object process(PutMergePatchUriInfo updateView, InputStream content, String requestContentType) throws ODataJPAModelException, ODataJPARuntimeException
updateView
- content
- requestContentType
- ODataJPAModelException
ODataJPARuntimeException
Object process(PutMergePatchUriInfo updateView, Map<String,Object> content) throws ODataJPAModelException, ODataJPARuntimeException
updateView
- content
- ODataJPAModelException
ODataJPARuntimeException
Object process(DeleteUriInfo deleteuriInfo, String contentType) throws ODataJPAModelException, ODataJPARuntimeException
deleteuriInfo
- contentType
- ODataJPAModelException
ODataJPARuntimeException
void process(PostUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) throws ODataJPARuntimeException, ODataJPAModelException
uriParserResultView
- OData request for creating Linkscontent
- requestContentType
- contentType
- ODataJPARuntimeException
ODataJPAModelException
void process(PutMergePatchUriInfo uriParserResultView, InputStream content, String requestContentType, String contentType) throws ODataJPARuntimeException, ODataJPAModelException
uriParserResultView
- OData request for updating Linkscontent
- requestContentType
- contentType
- ODataJPARuntimeException
ODataJPAModelException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.