|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityProcessor
Execute a OData entity request.
Method Summary | |
---|---|
ODataResponse |
deleteEntity(DeleteUriInfo uriInfo,
String contentType)
Deletes an entity. |
ODataResponse |
existsEntity(GetEntityCountUriInfo uriInfo,
String contentType)
Checks whether an entity exists. |
ODataResponse |
readEntity(GetEntityUriInfo uriInfo,
String contentType)
Reads an entity. |
ODataResponse |
updateEntity(PutMergePatchUriInfo uriInfo,
InputStream content,
String requestContentType,
boolean merge,
String contentType)
Updates an entity. |
Methods inherited from interface org.apache.olingo.odata2.api.processor.ODataProcessor |
---|
getContext, setContext |
Method Detail |
---|
ODataResponse readEntity(GetEntityUriInfo uriInfo, String contentType) throws ODataException
contentType
- the content type of the response
ODataResponse
object
ODataException
ODataResponse existsEntity(GetEntityCountUriInfo uriInfo, String contentType) throws ODataException
contentType
- the content type of the response
ODataResponse
object
ODataException
ODataResponse updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) throws ODataException
uriInfo
- information about the request URIcontent
- the content of the request, containing the updated entity datarequestContentType
- the content type of the request bodymerge
- if true
, properties not present in the data are left unchanged;
if false
, they are resetcontentType
- the content type of the response
ODataResponse
object
ODataException
ODataResponse deleteEntity(DeleteUriInfo uriInfo, String contentType) throws ODataException
uriInfo
- a DeleteUriInfo
object with information from the URI parsercontentType
- the content type of the response
ODataResponse
object
ODataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |