Class DefaultPurchasingSourceServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<PurchasingSourceServiceBatch,PurchasingSourceServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasingsource.batch.DefaultPurchasingSourceServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<PurchasingSourceServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<PurchasingSourceServiceBatch>,PurchasingSourceServiceBatchChangeSet
public class DefaultPurchasingSourceServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<PurchasingSourceServiceBatch,PurchasingSourceServiceBatchChangeSet>
implements PurchasingSourceServiceBatchChangeSet
Implementation of the
PurchasingSourceServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
PurchasingSourceService.-
Method Summary
Modifier and TypeMethodDescriptioncreatePurchasingSource(PurchasingSource purchasingSource) Create a newPurchasingSourceentity and save it to the S/4HANA system.deletePurchasingSource(PurchasingSource purchasingSource) Deletes an existingPurchasingSourceentity in the S/4HANA system.getThis()updatePurchasingSource(PurchasingSource purchasingSource) Update an existingPurchasingSourceentity and save it to the S/4HANA system.Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic
addFunctionImport, addRequest, addRequest, addRequest, addRequestCreate, addRequestDelete, addRequestUpdate, endChangeSetMethods 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.FluentHelperBatchChangeSet
addFunctionImportMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.FluentHelperBatchEndChangeSet
endChangeSet
-
Method Details
-
getThis
- Specified by:
getThisin classBatchChangeSetFluentHelperBasic<PurchasingSourceServiceBatch,PurchasingSourceServiceBatchChangeSet>
-
createPurchasingSource
@Nonnull public PurchasingSourceServiceBatchChangeSet createPurchasingSource(@Nonnull PurchasingSource purchasingSource) Description copied from interface:PurchasingSourceServiceBatchChangeSetCreate a newPurchasingSourceentity and save it to the S/4HANA system.- Specified by:
createPurchasingSourcein interfacePurchasingSourceServiceBatchChangeSet- Parameters:
purchasingSource-PurchasingSourceentity object that will be created in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
updatePurchasingSource
@Nonnull public PurchasingSourceServiceBatchChangeSet updatePurchasingSource(@Nonnull PurchasingSource purchasingSource) Description copied from interface:PurchasingSourceServiceBatchChangeSetUpdate an existingPurchasingSourceentity and save it to the S/4HANA system.- Specified by:
updatePurchasingSourcein interfacePurchasingSourceServiceBatchChangeSet- Parameters:
purchasingSource-PurchasingSourceentity object that will be updated in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-
deletePurchasingSource
@Nonnull public PurchasingSourceServiceBatchChangeSet deletePurchasingSource(@Nonnull PurchasingSource purchasingSource) Description copied from interface:PurchasingSourceServiceBatchChangeSetDeletes an existingPurchasingSourceentity in the S/4HANA system.- Specified by:
deletePurchasingSourcein interfacePurchasingSourceServiceBatchChangeSet- Parameters:
purchasingSource-PurchasingSourceentity object that will be deleted in the S/4HANA system.- Returns:
- This fluent helper to continue adding operations to the change set. To finalize the current change set
call
endChangeSeton the returned fluent helper object.
-