Class DefaultProcessOrderServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<ProcessOrderServiceBatch,ProcessOrderServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.batch.DefaultProcessOrderServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<ProcessOrderServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<ProcessOrderServiceBatch>,ProcessOrderServiceBatchChangeSet
public class DefaultProcessOrderServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<ProcessOrderServiceBatch,ProcessOrderServiceBatchChangeSet>
implements ProcessOrderServiceBatchChangeSet
Implementation of the
ProcessOrderServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
ProcessOrderService.-
Method Summary
Modifier and TypeMethodDescriptioncreateFunctionMessage(FunctionMessage functionMessage) Create a newFunctionMessageentity and save it to the S/4HANA system.createProcessOrder(ProcessOrder processOrder) Create a newProcessOrderentity and save it to the S/4HANA system.deleteFunctionMessage(FunctionMessage functionMessage) Deletes an existingFunctionMessageentity in the S/4HANA system.protected DefaultProcessOrderServiceBatchChangeSetgetThis()updateFunctionMessage(FunctionMessage functionMessage) Update an existingFunctionMessageentity and save it to the S/4HANA system.updateProcessOrder(ProcessOrder processOrder) Update an existingProcessOrderentity 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<ProcessOrderServiceBatch,ProcessOrderServiceBatchChangeSet>
-
createFunctionMessage
@Nonnull public ProcessOrderServiceBatchChangeSet createFunctionMessage(@Nonnull FunctionMessage functionMessage) Description copied from interface:ProcessOrderServiceBatchChangeSetCreate a newFunctionMessageentity and save it to the S/4HANA system.- Specified by:
createFunctionMessagein interfaceProcessOrderServiceBatchChangeSet- Parameters:
functionMessage-FunctionMessageentity 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.
-
updateFunctionMessage
@Nonnull public ProcessOrderServiceBatchChangeSet updateFunctionMessage(@Nonnull FunctionMessage functionMessage) Description copied from interface:ProcessOrderServiceBatchChangeSetUpdate an existingFunctionMessageentity and save it to the S/4HANA system.- Specified by:
updateFunctionMessagein interfaceProcessOrderServiceBatchChangeSet- Parameters:
functionMessage-FunctionMessageentity 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.
-
deleteFunctionMessage
@Nonnull public ProcessOrderServiceBatchChangeSet deleteFunctionMessage(@Nonnull FunctionMessage functionMessage) Description copied from interface:ProcessOrderServiceBatchChangeSetDeletes an existingFunctionMessageentity in the S/4HANA system.- Specified by:
deleteFunctionMessagein interfaceProcessOrderServiceBatchChangeSet- Parameters:
functionMessage-FunctionMessageentity 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.
-
createProcessOrder
@Nonnull public ProcessOrderServiceBatchChangeSet createProcessOrder(@Nonnull ProcessOrder processOrder) Description copied from interface:ProcessOrderServiceBatchChangeSetCreate a newProcessOrderentity and save it to the S/4HANA system.- Specified by:
createProcessOrderin interfaceProcessOrderServiceBatchChangeSet- Parameters:
processOrder-ProcessOrderentity 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.
-
updateProcessOrder
@Nonnull public ProcessOrderServiceBatchChangeSet updateProcessOrder(@Nonnull ProcessOrder processOrder) Description copied from interface:ProcessOrderServiceBatchChangeSetUpdate an existingProcessOrderentity and save it to the S/4HANA system.- Specified by:
updateProcessOrderin interfaceProcessOrderServiceBatchChangeSet- Parameters:
processOrder-ProcessOrderentity 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.
-