public class DefaultReservationDocumentServiceBatch extends BatchFluentHelperBasic<ReservationDocumentServiceBatch,ReservationDocumentServiceBatchChangeSet> implements ReservationDocumentServiceBatch
ReservationDocumentServiceBatch
interface exposed in the
ReservationDocumentService
,
allowing you to create multiple changesets and finally execute the batch request.Constructor and Description |
---|
DefaultReservationDocumentServiceBatch(ReservationDocumentService service)
Creates a new instance of this DefaultReservationDocumentServiceBatch.
|
Modifier and Type | Method and Description |
---|---|
ReservationDocumentServiceBatchChangeSet |
beginChangeSet()
Method to define a new OData batch changeset.
|
protected String |
getServicePathForBatchRequest()
Get the OData service endpoint path for the current OData batch request.
|
protected DefaultReservationDocumentServiceBatch |
getThis()
Method to safely return the current fluent helper instance upon public method calls.
|
addReadOperations, addReadOperations, cachingMetadata, execute, executeRequest, toRequest, withoutCachingMetadata, withoutCsrfToken
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addReadOperations, addReadOperations, cachingMetadata, withoutCachingMetadata
execute, executeRequest
public DefaultReservationDocumentServiceBatch(@Nonnull ReservationDocumentService service)
service
- The service to execute all operations in this changeset on.@Nonnull protected String getServicePathForBatchRequest()
DEFAULT_SERVICE_PATH
in the service class.getServicePathForBatchRequest
in class BatchFluentHelperBasic<ReservationDocumentServiceBatch,ReservationDocumentServiceBatchChangeSet>
@Nonnull protected DefaultReservationDocumentServiceBatch getThis()
getThis
in class BatchFluentHelperBasic<ReservationDocumentServiceBatch,ReservationDocumentServiceBatchChangeSet>
@Nonnull public ReservationDocumentServiceBatchChangeSet beginChangeSet()
beginChangeSet
in interface FluentHelperServiceBatch<ReservationDocumentServiceBatch,ReservationDocumentServiceBatchChangeSet>
Copyright © 2021 SAP SE. All rights reserved.