Class DefaultCustomerMaterialServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<CustomerMaterialServiceBatch,CustomerMaterialServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.customermaterial.batch.DefaultCustomerMaterialServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<CustomerMaterialServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<CustomerMaterialServiceBatch>,CustomerMaterialServiceBatchChangeSet
public class DefaultCustomerMaterialServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<CustomerMaterialServiceBatch,CustomerMaterialServiceBatchChangeSet>
implements CustomerMaterialServiceBatchChangeSet
Implementation of the
CustomerMaterialServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
CustomerMaterialService.-
Method Summary
Modifier and TypeMethodDescriptioncreateCustomerMaterial(CustomerMaterial customerMaterial) Create a newCustomerMaterialentity and save it to the S/4HANA system.deleteCustomerMaterial(CustomerMaterial customerMaterial) Deletes an existingCustomerMaterialentity in the S/4HANA system.getThis()updateCustomerMaterial(CustomerMaterial customerMaterial) Update an existingCustomerMaterialentity 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<CustomerMaterialServiceBatch,CustomerMaterialServiceBatchChangeSet>
-
createCustomerMaterial
@Nonnull public CustomerMaterialServiceBatchChangeSet createCustomerMaterial(@Nonnull CustomerMaterial customerMaterial) Description copied from interface:CustomerMaterialServiceBatchChangeSetCreate a newCustomerMaterialentity and save it to the S/4HANA system.- Specified by:
createCustomerMaterialin interfaceCustomerMaterialServiceBatchChangeSet- Parameters:
customerMaterial-CustomerMaterialentity 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.
-
updateCustomerMaterial
@Nonnull public CustomerMaterialServiceBatchChangeSet updateCustomerMaterial(@Nonnull CustomerMaterial customerMaterial) Description copied from interface:CustomerMaterialServiceBatchChangeSetUpdate an existingCustomerMaterialentity and save it to the S/4HANA system.- Specified by:
updateCustomerMaterialin interfaceCustomerMaterialServiceBatchChangeSet- Parameters:
customerMaterial-CustomerMaterialentity 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.
-
deleteCustomerMaterial
@Nonnull public CustomerMaterialServiceBatchChangeSet deleteCustomerMaterial(@Nonnull CustomerMaterial customerMaterial) Description copied from interface:CustomerMaterialServiceBatchChangeSetDeletes an existingCustomerMaterialentity in the S/4HANA system.- Specified by:
deleteCustomerMaterialin interfaceCustomerMaterialServiceBatchChangeSet- Parameters:
customerMaterial-CustomerMaterialentity 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.
-