Interface EntityComplexPropertyProcessor
-
- All Superinterfaces:
ODataProcessor
- All Known Implementing Classes:
ODataSingleProcessor
public interface EntityComplexPropertyProcessor extends ODataProcessor
Execute a OData complex property request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ODataResponsereadEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType)Reads a complex property of an entity.ODataResponseupdateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType)Updates a complex property of an entity.-
Methods inherited from interface org.apache.olingo.odata2.api.processor.ODataProcessor
getContext, setContext
-
-
-
-
Method Detail
-
readEntityComplexProperty
ODataResponse readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType) throws ODataException
Reads a complex 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
-
updateEntityComplexProperty
ODataResponse updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) throws ODataException
Updates a complex property of an entity.- Parameters:
uriInfo- information about the request URIcontent- the content of the request, containing the updated property datarequestContentType- the content type of the request bodymerge- iftrue, properties not present in the data are left unchanged; iffalse, they are resetcontentType- the content type of the response- Returns:
- a
ODataResponseobject - Throws:
ODataException- Caso ocorra exceção OData
-
-