Class DefaultPurchaseContractServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<PurchaseContractServiceBatch,PurchaseContractServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasecontract.batch.DefaultPurchaseContractServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<PurchaseContractServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<PurchaseContractServiceBatch>,PurchaseContractServiceBatchChangeSet
public class DefaultPurchaseContractServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<PurchaseContractServiceBatch,PurchaseContractServiceBatchChangeSet>
implements PurchaseContractServiceBatchChangeSet
Implementation of the
PurchaseContractServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
PurchaseContractService.-
Method Summary
Modifier and TypeMethodDescriptioncreatePurchaseContract(PurchaseContract purchaseContract) Create a newPurchaseContractentity and save it to the S/4HANA system.createPurchaseContractItem(PurchaseContractItem purchaseContractItem) Create a newPurchaseContractItementity and save it to the S/4HANA system.createPurCtrAccount(PurCtrAccount purCtrAccount) Create a newPurCtrAccountentity and save it to the S/4HANA system.createPurCtrAddress(PurCtrAddress purCtrAddress) Create a newPurCtrAddressentity and save it to the S/4HANA system.createPurCtrPartners(PurCtrPartners purCtrPartners) Create a newPurCtrPartnersentity and save it to the S/4HANA system.getThis()updatePurchaseContract(PurchaseContract purchaseContract) Update an existingPurchaseContractentity and save it to the S/4HANA system.updatePurchaseContractItem(PurchaseContractItem purchaseContractItem) Update an existingPurchaseContractItementity and save it to the S/4HANA system.updatePurCtrAccount(PurCtrAccount purCtrAccount) Update an existingPurCtrAccountentity and save it to the S/4HANA system.updatePurCtrAddress(PurCtrAddress purCtrAddress) Update an existingPurCtrAddressentity and save it to the S/4HANA system.updatePurCtrPartners(PurCtrPartners purCtrPartners) Update an existingPurCtrPartnersentity 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<PurchaseContractServiceBatch,PurchaseContractServiceBatchChangeSet>
-
createPurchaseContract
@Nonnull public PurchaseContractServiceBatchChangeSet createPurchaseContract(@Nonnull PurchaseContract purchaseContract) Description copied from interface:PurchaseContractServiceBatchChangeSetCreate a newPurchaseContractentity and save it to the S/4HANA system.- Specified by:
createPurchaseContractin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purchaseContract-PurchaseContractentity 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.
-
updatePurchaseContract
@Nonnull public PurchaseContractServiceBatchChangeSet updatePurchaseContract(@Nonnull PurchaseContract purchaseContract) Description copied from interface:PurchaseContractServiceBatchChangeSetUpdate an existingPurchaseContractentity and save it to the S/4HANA system.- Specified by:
updatePurchaseContractin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purchaseContract-PurchaseContractentity 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.
-
createPurchaseContractItem
@Nonnull public PurchaseContractServiceBatchChangeSet createPurchaseContractItem(@Nonnull PurchaseContractItem purchaseContractItem) Description copied from interface:PurchaseContractServiceBatchChangeSetCreate a newPurchaseContractItementity and save it to the S/4HANA system.- Specified by:
createPurchaseContractItemin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purchaseContractItem-PurchaseContractItementity 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.
-
updatePurchaseContractItem
@Nonnull public PurchaseContractServiceBatchChangeSet updatePurchaseContractItem(@Nonnull PurchaseContractItem purchaseContractItem) Description copied from interface:PurchaseContractServiceBatchChangeSetUpdate an existingPurchaseContractItementity and save it to the S/4HANA system.- Specified by:
updatePurchaseContractItemin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purchaseContractItem-PurchaseContractItementity 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.
-
createPurCtrAccount
@Nonnull public PurchaseContractServiceBatchChangeSet createPurCtrAccount(@Nonnull PurCtrAccount purCtrAccount) Description copied from interface:PurchaseContractServiceBatchChangeSetCreate a newPurCtrAccountentity and save it to the S/4HANA system.- Specified by:
createPurCtrAccountin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purCtrAccount-PurCtrAccountentity 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.
-
updatePurCtrAccount
@Nonnull public PurchaseContractServiceBatchChangeSet updatePurCtrAccount(@Nonnull PurCtrAccount purCtrAccount) Description copied from interface:PurchaseContractServiceBatchChangeSetUpdate an existingPurCtrAccountentity and save it to the S/4HANA system.- Specified by:
updatePurCtrAccountin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purCtrAccount-PurCtrAccountentity 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.
-
createPurCtrAddress
@Nonnull public PurchaseContractServiceBatchChangeSet createPurCtrAddress(@Nonnull PurCtrAddress purCtrAddress) Description copied from interface:PurchaseContractServiceBatchChangeSetCreate a newPurCtrAddressentity and save it to the S/4HANA system.- Specified by:
createPurCtrAddressin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purCtrAddress-PurCtrAddressentity 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.
-
updatePurCtrAddress
@Nonnull public PurchaseContractServiceBatchChangeSet updatePurCtrAddress(@Nonnull PurCtrAddress purCtrAddress) Description copied from interface:PurchaseContractServiceBatchChangeSetUpdate an existingPurCtrAddressentity and save it to the S/4HANA system.- Specified by:
updatePurCtrAddressin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purCtrAddress-PurCtrAddressentity 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.
-
createPurCtrPartners
@Nonnull public PurchaseContractServiceBatchChangeSet createPurCtrPartners(@Nonnull PurCtrPartners purCtrPartners) Description copied from interface:PurchaseContractServiceBatchChangeSetCreate a newPurCtrPartnersentity and save it to the S/4HANA system.- Specified by:
createPurCtrPartnersin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purCtrPartners-PurCtrPartnersentity 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.
-
updatePurCtrPartners
@Nonnull public PurchaseContractServiceBatchChangeSet updatePurCtrPartners(@Nonnull PurCtrPartners purCtrPartners) Description copied from interface:PurchaseContractServiceBatchChangeSetUpdate an existingPurCtrPartnersentity and save it to the S/4HANA system.- Specified by:
updatePurCtrPartnersin interfacePurchaseContractServiceBatchChangeSet- Parameters:
purCtrPartners-PurCtrPartnersentity 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.
-