Class DefaultSalesContractServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<SalesContractServiceBatch,SalesContractServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.salescontract.batch.DefaultSalesContractServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<SalesContractServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<SalesContractServiceBatch>,SalesContractServiceBatchChangeSet
public class DefaultSalesContractServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<SalesContractServiceBatch,SalesContractServiceBatchChangeSet>
implements SalesContractServiceBatchChangeSet
Implementation of the
SalesContractServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
SalesContractService.-
Method Summary
Modifier and TypeMethodDescriptioncreateSalesContract(SalesContract salesContract) Create a newSalesContractentity and save it to the S/4HANA system.createSalesContractItem(SalesContractItem salesContractItem) Create a newSalesContractItementity and save it to the S/4HANA system.createSalesContractPartner(SalesContractPartner salesContractPartner) Create a newSalesContractPartnerentity and save it to the S/4HANA system.deleteSalesContract(SalesContract salesContract) Deletes an existingSalesContractentity in the S/4HANA system.deleteSalesContractItem(SalesContractItem salesContractItem) Deletes an existingSalesContractItementity in the S/4HANA system.deleteSalesContractItemPartner(SalesContractItemPartner salesContractItemPartner) Deletes an existingSalesContractItemPartnerentity in the S/4HANA system.deleteSalesContractItemPrcgElmnt(SalesContractItemPrcgElmnt salesContractItemPrcgElmnt) Deletes an existingSalesContractItemPrcgElmntentity in the S/4HANA system.deleteSalesContractItemText(SalesContractItemText salesContractItemText) Deletes an existingSalesContractItemTextentity in the S/4HANA system.deleteSalesContractPartner(SalesContractPartner salesContractPartner) Deletes an existingSalesContractPartnerentity in the S/4HANA system.deleteSalesContractPrcgElmnt(SalesContractPrcgElmnt salesContractPrcgElmnt) Deletes an existingSalesContractPrcgElmntentity in the S/4HANA system.deleteSalesContractText(SalesContractText salesContractText) Deletes an existingSalesContractTextentity in the S/4HANA system.getThis()updateSalesContract(SalesContract salesContract) Update an existingSalesContractentity and save it to the S/4HANA system.updateSalesContractItem(SalesContractItem salesContractItem) Update an existingSalesContractItementity and save it to the S/4HANA system.updateSalesContractItemPartner(SalesContractItemPartner salesContractItemPartner) Update an existingSalesContractItemPartnerentity and save it to the S/4HANA system.updateSalesContractItemPrcgElmnt(SalesContractItemPrcgElmnt salesContractItemPrcgElmnt) Update an existingSalesContractItemPrcgElmntentity and save it to the S/4HANA system.updateSalesContractItemText(SalesContractItemText salesContractItemText) Update an existingSalesContractItemTextentity and save it to the S/4HANA system.updateSalesContractPartner(SalesContractPartner salesContractPartner) Update an existingSalesContractPartnerentity and save it to the S/4HANA system.updateSalesContractPrcgElmnt(SalesContractPrcgElmnt salesContractPrcgElmnt) Update an existingSalesContractPrcgElmntentity and save it to the S/4HANA system.updateSalesContractText(SalesContractText salesContractText) Update an existingSalesContractTextentity 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<SalesContractServiceBatch,SalesContractServiceBatchChangeSet>
-
createSalesContract
@Nonnull public SalesContractServiceBatchChangeSet createSalesContract(@Nonnull SalesContract salesContract) Description copied from interface:SalesContractServiceBatchChangeSetCreate a newSalesContractentity and save it to the S/4HANA system.- Specified by:
createSalesContractin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContract-SalesContractentity 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.
-
updateSalesContract
@Nonnull public SalesContractServiceBatchChangeSet updateSalesContract(@Nonnull SalesContract salesContract) Description copied from interface:SalesContractServiceBatchChangeSetUpdate an existingSalesContractentity and save it to the S/4HANA system.- Specified by:
updateSalesContractin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContract-SalesContractentity 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.
-
deleteSalesContract
@Nonnull public SalesContractServiceBatchChangeSet deleteSalesContract(@Nonnull SalesContract salesContract) Description copied from interface:SalesContractServiceBatchChangeSetDeletes an existingSalesContractentity in the S/4HANA system.- Specified by:
deleteSalesContractin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContract-SalesContractentity 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.
-
createSalesContractItem
@Nonnull public SalesContractServiceBatchChangeSet createSalesContractItem(@Nonnull SalesContractItem salesContractItem) Description copied from interface:SalesContractServiceBatchChangeSetCreate a newSalesContractItementity and save it to the S/4HANA system.- Specified by:
createSalesContractItemin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractItem-SalesContractItementity 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.
-
updateSalesContractItem
@Nonnull public SalesContractServiceBatchChangeSet updateSalesContractItem(@Nonnull SalesContractItem salesContractItem) Description copied from interface:SalesContractServiceBatchChangeSetUpdate an existingSalesContractItementity and save it to the S/4HANA system.- Specified by:
updateSalesContractItemin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractItem-SalesContractItementity 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.
-
deleteSalesContractItem
@Nonnull public SalesContractServiceBatchChangeSet deleteSalesContractItem(@Nonnull SalesContractItem salesContractItem) Description copied from interface:SalesContractServiceBatchChangeSetDeletes an existingSalesContractItementity in the S/4HANA system.- Specified by:
deleteSalesContractItemin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractItem-SalesContractItementity 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.
-
updateSalesContractItemPartner
@Nonnull public SalesContractServiceBatchChangeSet updateSalesContractItemPartner(@Nonnull SalesContractItemPartner salesContractItemPartner) Description copied from interface:SalesContractServiceBatchChangeSetUpdate an existingSalesContractItemPartnerentity and save it to the S/4HANA system.- Specified by:
updateSalesContractItemPartnerin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractItemPartner-SalesContractItemPartnerentity 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.
-
deleteSalesContractItemPartner
@Nonnull public SalesContractServiceBatchChangeSet deleteSalesContractItemPartner(@Nonnull SalesContractItemPartner salesContractItemPartner) Description copied from interface:SalesContractServiceBatchChangeSetDeletes an existingSalesContractItemPartnerentity in the S/4HANA system.- Specified by:
deleteSalesContractItemPartnerin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractItemPartner-SalesContractItemPartnerentity 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.
-
updateSalesContractItemPrcgElmnt
@Nonnull public SalesContractServiceBatchChangeSet updateSalesContractItemPrcgElmnt(@Nonnull SalesContractItemPrcgElmnt salesContractItemPrcgElmnt) Description copied from interface:SalesContractServiceBatchChangeSetUpdate an existingSalesContractItemPrcgElmntentity and save it to the S/4HANA system.- Specified by:
updateSalesContractItemPrcgElmntin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractItemPrcgElmnt-SalesContractItemPrcgElmntentity 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.
-
deleteSalesContractItemPrcgElmnt
@Nonnull public SalesContractServiceBatchChangeSet deleteSalesContractItemPrcgElmnt(@Nonnull SalesContractItemPrcgElmnt salesContractItemPrcgElmnt) Description copied from interface:SalesContractServiceBatchChangeSetDeletes an existingSalesContractItemPrcgElmntentity in the S/4HANA system.- Specified by:
deleteSalesContractItemPrcgElmntin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractItemPrcgElmnt-SalesContractItemPrcgElmntentity 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.
-
updateSalesContractItemText
@Nonnull public SalesContractServiceBatchChangeSet updateSalesContractItemText(@Nonnull SalesContractItemText salesContractItemText) Description copied from interface:SalesContractServiceBatchChangeSetUpdate an existingSalesContractItemTextentity and save it to the S/4HANA system.- Specified by:
updateSalesContractItemTextin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractItemText-SalesContractItemTextentity 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.
-
deleteSalesContractItemText
@Nonnull public SalesContractServiceBatchChangeSet deleteSalesContractItemText(@Nonnull SalesContractItemText salesContractItemText) Description copied from interface:SalesContractServiceBatchChangeSetDeletes an existingSalesContractItemTextentity in the S/4HANA system.- Specified by:
deleteSalesContractItemTextin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractItemText-SalesContractItemTextentity 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.
-
createSalesContractPartner
@Nonnull public SalesContractServiceBatchChangeSet createSalesContractPartner(@Nonnull SalesContractPartner salesContractPartner) Description copied from interface:SalesContractServiceBatchChangeSetCreate a newSalesContractPartnerentity and save it to the S/4HANA system.- Specified by:
createSalesContractPartnerin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractPartner-SalesContractPartnerentity 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.
-
updateSalesContractPartner
@Nonnull public SalesContractServiceBatchChangeSet updateSalesContractPartner(@Nonnull SalesContractPartner salesContractPartner) Description copied from interface:SalesContractServiceBatchChangeSetUpdate an existingSalesContractPartnerentity and save it to the S/4HANA system.- Specified by:
updateSalesContractPartnerin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractPartner-SalesContractPartnerentity 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.
-
deleteSalesContractPartner
@Nonnull public SalesContractServiceBatchChangeSet deleteSalesContractPartner(@Nonnull SalesContractPartner salesContractPartner) Description copied from interface:SalesContractServiceBatchChangeSetDeletes an existingSalesContractPartnerentity in the S/4HANA system.- Specified by:
deleteSalesContractPartnerin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractPartner-SalesContractPartnerentity 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.
-
updateSalesContractPrcgElmnt
@Nonnull public SalesContractServiceBatchChangeSet updateSalesContractPrcgElmnt(@Nonnull SalesContractPrcgElmnt salesContractPrcgElmnt) Description copied from interface:SalesContractServiceBatchChangeSetUpdate an existingSalesContractPrcgElmntentity and save it to the S/4HANA system.- Specified by:
updateSalesContractPrcgElmntin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractPrcgElmnt-SalesContractPrcgElmntentity 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.
-
deleteSalesContractPrcgElmnt
@Nonnull public SalesContractServiceBatchChangeSet deleteSalesContractPrcgElmnt(@Nonnull SalesContractPrcgElmnt salesContractPrcgElmnt) Description copied from interface:SalesContractServiceBatchChangeSetDeletes an existingSalesContractPrcgElmntentity in the S/4HANA system.- Specified by:
deleteSalesContractPrcgElmntin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractPrcgElmnt-SalesContractPrcgElmntentity 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.
-
updateSalesContractText
@Nonnull public SalesContractServiceBatchChangeSet updateSalesContractText(@Nonnull SalesContractText salesContractText) Description copied from interface:SalesContractServiceBatchChangeSetUpdate an existingSalesContractTextentity and save it to the S/4HANA system.- Specified by:
updateSalesContractTextin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractText-SalesContractTextentity 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.
-
deleteSalesContractText
@Nonnull public SalesContractServiceBatchChangeSet deleteSalesContractText(@Nonnull SalesContractText salesContractText) Description copied from interface:SalesContractServiceBatchChangeSetDeletes an existingSalesContractTextentity in the S/4HANA system.- Specified by:
deleteSalesContractTextin interfaceSalesContractServiceBatchChangeSet- Parameters:
salesContractText-SalesContractTextentity 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.
-