public interface DataProviderResult
DataProviderResult contains the result from a com.sap.gateway.v4.rt.api.DataProvider
method.
For accessing the exists several typed methods which return NULL if the type does not fit the method,
a common method to get the result as object and a isResultAvailable method for explicit null check.| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
com.sap.gateway.core.api.provider.data.IDataProviderResponse |
getFunctionResponse(org.apache.olingo.odata2.api.uri.info.GetFunctionImportUriInfo uriInfo) |
int |
getInlineCount() |
Map<String,String> |
getKeys() |
com.sap.gateway.core.api.provider.data.IDataProviderResponse |
getReadEntityResult()
Converts data and headers stored in this object to IDataProviderResponse
This method internally takes care of single entity or a list of entities.
|
Map<String,Object> |
getRequestEntity() |
Object |
getResult() |
boolean |
isEntityAvailable() |
boolean |
isResultAvailable() |
void |
setKeys(Map<String,String> keys) |
void |
setResult(Object result) |
boolean isResultAvailable()
boolean isEntityAvailable()
Object getResult()
com.sap.gateway.core.api.provider.data.IDataProviderResponse getReadEntityResult()
int getInlineCount()
com.sap.gateway.core.api.provider.data.IDataProviderResponse getFunctionResponse(org.apache.olingo.odata2.api.uri.info.GetFunctionImportUriInfo uriInfo)
void setResult(Object result)
int getCount()
Copyright © 2020 SAP. All Rights Reserved.