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