Class DefaultBatchServiceBatch
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchFluentHelperBasic<BatchServiceBatch,BatchServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.batch.DefaultBatchServiceBatch
- All Implemented Interfaces:
FluentHelperServiceBatch<BatchServiceBatch,,BatchServiceBatchChangeSet> FluentHelperServiceBatchExecute,BatchServiceBatch
public class DefaultBatchServiceBatch
extends BatchFluentHelperBasic<BatchServiceBatch,BatchServiceBatchChangeSet>
implements BatchServiceBatch
Default implementation of the
BatchServiceBatch interface exposed in the
BatchService, allowing you to create multiple
changesets and finally execute the batch request.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultBatchServiceBatch(BatchService service) Creates a new instance of this DefaultBatchServiceBatch.DefaultBatchServiceBatch(BatchService service, String servicePath) Creates a new instance of this DefaultBatchServiceBatch. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchFluentHelperBasic
addChangeSet, addReadOperations, addReadOperations, addReadOperations, executeRequest, toRequest, withoutCsrfTokenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.FluentHelperServiceBatch
addChangeSet, addReadOperations, addReadOperations, addReadOperationsMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.FluentHelperServiceBatchExecute
executeRequest
-
Constructor Details
-
DefaultBatchServiceBatch
Creates a new instance of this DefaultBatchServiceBatch.- Parameters:
service- The service to execute all operations in this changeset on.
-
DefaultBatchServiceBatch
Creates a new instance of this DefaultBatchServiceBatch.- Parameters:
service- The service to execute all operations in this changeset on.servicePath- The custom service path to operate on.
-
-
Method Details
-
getServicePathForBatchRequest
- Specified by:
getServicePathForBatchRequestin classBatchFluentHelperBasic<BatchServiceBatch,BatchServiceBatchChangeSet>
-
getThis
- Specified by:
getThisin classBatchFluentHelperBasic<BatchServiceBatch,BatchServiceBatchChangeSet>
-
beginChangeSet
- Specified by:
beginChangeSetin interfaceFluentHelperServiceBatch<BatchServiceBatch,BatchServiceBatchChangeSet>
-