Interface ServiceInvocationResultResponse
- All Known Implementing Classes:
ServiceInvocationResultResponseImpl
public interface ServiceInvocationResultResponse
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionThe type of the returned result response.longReturns the total count, when only return a subset of the results.default ObjectThe value for the given name.default booleanWhether the result response has a value with the given name.
-
Method Details
-
getResultType
ResultType getResultType()The type of the returned result response. -
hasValue
Whether the result response has a value with the given name. The value can also benull.- Parameters:
name- the name of the value- Returns:
trueif the result has such a value,falseotherwise
-
getValue
The value for the given name.nulldoes not mean that there is no value, it can mean that the value that was present isnull. UsehasValue(String)to check if the result has a certain value or not.- Parameters:
name- the name of the value- Returns:
- the value
-
getProcessedResult
ServiceInvocationResult getProcessedResult() -
getTotalCount
long getTotalCount()Returns the total count, when only return a subset of the results. Will only be set if: - The service invoker supports it - The operation supports it, e.g. search operations might do it, but a create, update, delete, ... operation wouldn't. In those cases, the returned value will be a negative number. -
getMetadata
-