public interface ChangeSetHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
addResponse(Response response)
Appends the response to the changeset and returns true if successful.
|
Response |
handleRequest(Request request)
Executes the annotated method corresponding to the data modification operations.
|
boolean |
hasNextRequest()
Returns true, if the changeset has additional operations, otherwise, it returns false.
|
Request |
nextRequest()
Returns request information corresponding to the next operation in the changeset.
|
boolean hasNextRequest()
boolean indicating the presence of next requestRequest nextRequest() throws Exception
Request object corresponding to the next operationException - if either the replacement of the content ID or
the request deserialization failsExceptionResponse handleRequest(Request request) throws Exception
request - A Request object corresponding to an operationResponse object corresponding to the processed operationException - if the annotated method corresponding to the operation is not definedExceptionboolean addResponse(Response response) throws Exception
response - A Response object corresponding to an operationboolean indicating success or failureException - if the response object contains an exception,
response serialization fails, or the content ID mapping failsExceptionCopyright © 2020 SAP. All Rights Reserved.