Interface EntitySimplePropertyValueProcessor
- All Superinterfaces:
ODataProcessor
- All Known Implementing Classes:
ODataSingleProcessor
Execute a OData entity simple property value request.
-
Method Summary
Modifier and TypeMethodDescriptiondeleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType) Deletes the value of a simple property of an entity.readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) Reads the unformatted value of a simple property of an entity.updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates a simple property of an entity with an unformatted value.Methods inherited from interface org.apache.olingo.odata2.api.processor.ODataProcessor
getContext, setContext
-
Method Details
-
readEntitySimplePropertyValue
ODataResponse readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) throws ODataException Reads the unformatted value of a simple property of an entity.- Parameters:
uriInfo- information about the request URIcontentType- the content type of the response- Returns:
- an
ODataResponseobject - Throws:
ODataException
-
updateEntitySimplePropertyValue
ODataResponse updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) throws ODataException Updates a simple property of an entity with an unformatted value.- Parameters:
uriInfo- information about the request URIcontent- the content of the request, containing the new valuerequestContentType- the content type of the request body (important for a binary property)contentType- the content type of the response- Returns:
- an
ODataResponseobject - Throws:
ODataException
-
deleteEntitySimplePropertyValue
ODataResponse deleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType) throws ODataException Deletes the value of a simple property of an entity.- Parameters:
uriInfo- information about the request URIcontentType- the content type of the response- Returns:
- a
ODataResponseobject - Throws:
ODataException
-