Class DefaultHandlingUnitServiceBatch
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchFluentHelperBasic<HandlingUnitServiceBatch,HandlingUnitServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.handlingunit.batch.DefaultHandlingUnitServiceBatch
- All Implemented Interfaces:
FluentHelperServiceBatch<HandlingUnitServiceBatch,,HandlingUnitServiceBatchChangeSet> FluentHelperServiceBatchExecute,HandlingUnitServiceBatch
public class DefaultHandlingUnitServiceBatch
extends BatchFluentHelperBasic<HandlingUnitServiceBatch,HandlingUnitServiceBatchChangeSet>
implements HandlingUnitServiceBatch
Default implementation of the
HandlingUnitServiceBatch interface exposed in the
HandlingUnitService, allowing you to
create multiple changesets and finally execute the batch request.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of this DefaultHandlingUnitServiceBatch.DefaultHandlingUnitServiceBatch(HandlingUnitService service, String servicePath) Creates a new instance of this DefaultHandlingUnitServiceBatch. -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected DefaultHandlingUnitServiceBatchgetThis()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
-
DefaultHandlingUnitServiceBatch
Creates a new instance of this DefaultHandlingUnitServiceBatch.- Parameters:
service- The service to execute all operations in this changeset on.
-
DefaultHandlingUnitServiceBatch
public DefaultHandlingUnitServiceBatch(@Nonnull HandlingUnitService service, @Nonnull String servicePath) Creates a new instance of this DefaultHandlingUnitServiceBatch.- 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<HandlingUnitServiceBatch,HandlingUnitServiceBatchChangeSet>
-
getThis
- Specified by:
getThisin classBatchFluentHelperBasic<HandlingUnitServiceBatch,HandlingUnitServiceBatchChangeSet>
-
beginChangeSet
- Specified by:
beginChangeSetin interfaceFluentHelperServiceBatch<HandlingUnitServiceBatch,HandlingUnitServiceBatchChangeSet>
-