Interface EntitySimplePropertyValueProcessor
-
- All Superinterfaces:
ODataProcessor
- All Known Implementing Classes:
ODataSingleProcessor
public interface EntitySimplePropertyValueProcessor extends ODataProcessor
Execute a OData entity simple property value request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ODataResponsedeleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType)Deletes the value of a simple property of an entity.ODataResponsereadEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType)Reads the unformatted value of a simple property of an entity.ODataResponseupdateEntitySimplePropertyValue(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 Detail
-
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- Caso ocorra exceção OData
-
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- Caso ocorra exceção OData
-
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- Caso ocorra exceção OData
-
-