Class DefaultMaintenancePlanServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<MaintenancePlanServiceBatch,MaintenancePlanServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.maintenanceplan.batch.DefaultMaintenancePlanServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<MaintenancePlanServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<MaintenancePlanServiceBatch>,MaintenancePlanServiceBatchChangeSet
public class DefaultMaintenancePlanServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<MaintenancePlanServiceBatch,MaintenancePlanServiceBatchChangeSet>
implements MaintenancePlanServiceBatchChangeSet
Implementation of the
MaintenancePlanServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
MaintenancePlanService.-
Method Summary
Modifier and TypeMethodDescriptioncreateMaintenanceItem(MaintenanceItem maintenanceItem) Create a newMaintenanceItementity and save it to the S/4HANA system.createMaintenanceItemCause(MaintenanceItemCause maintenanceItemCause) Create a newMaintenanceItemCauseentity and save it to the S/4HANA system.createMaintenanceItemReason(MaintenanceItemReason maintenanceItemReason) Create a newMaintenanceItemReasonentity and save it to the S/4HANA system.createMaintenancePlan(MaintenancePlan maintenancePlan) Create a newMaintenancePlanentity and save it to the S/4HANA system.deleteMaintenanceItemCause(MaintenanceItemCause maintenanceItemCause) Deletes an existingMaintenanceItemCauseentity in the S/4HANA system.deleteMaintenanceItemCauseText(MaintenanceItemCauseText maintenanceItemCauseText) Deletes an existingMaintenanceItemCauseTextentity in the S/4HANA system.deleteMaintenanceItemReason(MaintenanceItemReason maintenanceItemReason) Deletes an existingMaintenanceItemReasonentity in the S/4HANA system.deleteMaintenanceItemReasonText(MaintenanceItemReasonText maintenanceItemReasonText) Deletes an existingMaintenanceItemReasonTextentity in the S/4HANA system.deleteMaintItemObjectListItem(MaintItemObjectListItem maintItemObjectListItem) Deletes an existingMaintItemObjectListItementity in the S/4HANA system.getThis()updateMaintenanceItem(MaintenanceItem maintenanceItem) Update an existingMaintenanceItementity and save it to the S/4HANA system.updateMaintenanceItemCause(MaintenanceItemCause maintenanceItemCause) Update an existingMaintenanceItemCauseentity and save it to the S/4HANA system.updateMaintenanceItemCauseText(MaintenanceItemCauseText maintenanceItemCauseText) Update an existingMaintenanceItemCauseTextentity and save it to the S/4HANA system.updateMaintenanceItemReason(MaintenanceItemReason maintenanceItemReason) Update an existingMaintenanceItemReasonentity and save it to the S/4HANA system.updateMaintenanceItemReasonText(MaintenanceItemReasonText maintenanceItemReasonText) Update an existingMaintenanceItemReasonTextentity and save it to the S/4HANA system.updateMaintenanceItemText(MaintenanceItemText maintenanceItemText) Update an existingMaintenanceItemTextentity and save it to the S/4HANA system.updateMaintenancePlan(MaintenancePlan maintenancePlan) Update an existingMaintenancePlanentity and save it to the S/4HANA system.updateMaintenancePlanCycle(MaintenancePlanCycle maintenancePlanCycle) Update an existingMaintenancePlanCycleentity and save it to the S/4HANA system.updateMaintenancePlanText(MaintenancePlanText maintenancePlanText) Update an existingMaintenancePlanTextentity and save it to the S/4HANA system.updateMaintItemObjectListItem(MaintItemObjectListItem maintItemObjectListItem) Update an existingMaintItemObjectListItementity 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<MaintenancePlanServiceBatch,MaintenancePlanServiceBatchChangeSet>
-
createMaintenanceItem
@Nonnull public MaintenancePlanServiceBatchChangeSet createMaintenanceItem(@Nonnull MaintenanceItem maintenanceItem) Description copied from interface:MaintenancePlanServiceBatchChangeSetCreate a newMaintenanceItementity and save it to the S/4HANA system.- Specified by:
createMaintenanceItemin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItem-MaintenanceItementity 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.
-
updateMaintenanceItem
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintenanceItem(@Nonnull MaintenanceItem maintenanceItem) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintenanceItementity and save it to the S/4HANA system.- Specified by:
updateMaintenanceItemin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItem-MaintenanceItementity 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.
-
createMaintenanceItemCause
@Nonnull public MaintenancePlanServiceBatchChangeSet createMaintenanceItemCause(@Nonnull MaintenanceItemCause maintenanceItemCause) Description copied from interface:MaintenancePlanServiceBatchChangeSetCreate a newMaintenanceItemCauseentity and save it to the S/4HANA system.- Specified by:
createMaintenanceItemCausein interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemCause-MaintenanceItemCauseentity 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.
-
updateMaintenanceItemCause
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintenanceItemCause(@Nonnull MaintenanceItemCause maintenanceItemCause) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintenanceItemCauseentity and save it to the S/4HANA system.- Specified by:
updateMaintenanceItemCausein interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemCause-MaintenanceItemCauseentity 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.
-
deleteMaintenanceItemCause
@Nonnull public MaintenancePlanServiceBatchChangeSet deleteMaintenanceItemCause(@Nonnull MaintenanceItemCause maintenanceItemCause) Description copied from interface:MaintenancePlanServiceBatchChangeSetDeletes an existingMaintenanceItemCauseentity in the S/4HANA system.- Specified by:
deleteMaintenanceItemCausein interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemCause-MaintenanceItemCauseentity 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.
-
updateMaintenanceItemCauseText
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintenanceItemCauseText(@Nonnull MaintenanceItemCauseText maintenanceItemCauseText) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintenanceItemCauseTextentity and save it to the S/4HANA system.- Specified by:
updateMaintenanceItemCauseTextin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemCauseText-MaintenanceItemCauseTextentity 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.
-
deleteMaintenanceItemCauseText
@Nonnull public MaintenancePlanServiceBatchChangeSet deleteMaintenanceItemCauseText(@Nonnull MaintenanceItemCauseText maintenanceItemCauseText) Description copied from interface:MaintenancePlanServiceBatchChangeSetDeletes an existingMaintenanceItemCauseTextentity in the S/4HANA system.- Specified by:
deleteMaintenanceItemCauseTextin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemCauseText-MaintenanceItemCauseTextentity 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.
-
createMaintenanceItemReason
@Nonnull public MaintenancePlanServiceBatchChangeSet createMaintenanceItemReason(@Nonnull MaintenanceItemReason maintenanceItemReason) Description copied from interface:MaintenancePlanServiceBatchChangeSetCreate a newMaintenanceItemReasonentity and save it to the S/4HANA system.- Specified by:
createMaintenanceItemReasonin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemReason-MaintenanceItemReasonentity 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.
-
updateMaintenanceItemReason
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintenanceItemReason(@Nonnull MaintenanceItemReason maintenanceItemReason) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintenanceItemReasonentity and save it to the S/4HANA system.- Specified by:
updateMaintenanceItemReasonin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemReason-MaintenanceItemReasonentity 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.
-
deleteMaintenanceItemReason
@Nonnull public MaintenancePlanServiceBatchChangeSet deleteMaintenanceItemReason(@Nonnull MaintenanceItemReason maintenanceItemReason) Description copied from interface:MaintenancePlanServiceBatchChangeSetDeletes an existingMaintenanceItemReasonentity in the S/4HANA system.- Specified by:
deleteMaintenanceItemReasonin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemReason-MaintenanceItemReasonentity 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.
-
updateMaintenanceItemReasonText
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintenanceItemReasonText(@Nonnull MaintenanceItemReasonText maintenanceItemReasonText) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintenanceItemReasonTextentity and save it to the S/4HANA system.- Specified by:
updateMaintenanceItemReasonTextin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemReasonText-MaintenanceItemReasonTextentity 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.
-
deleteMaintenanceItemReasonText
@Nonnull public MaintenancePlanServiceBatchChangeSet deleteMaintenanceItemReasonText(@Nonnull MaintenanceItemReasonText maintenanceItemReasonText) Description copied from interface:MaintenancePlanServiceBatchChangeSetDeletes an existingMaintenanceItemReasonTextentity in the S/4HANA system.- Specified by:
deleteMaintenanceItemReasonTextin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemReasonText-MaintenanceItemReasonTextentity 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.
-
updateMaintenanceItemText
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintenanceItemText(@Nonnull MaintenanceItemText maintenanceItemText) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintenanceItemTextentity and save it to the S/4HANA system.- Specified by:
updateMaintenanceItemTextin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenanceItemText-MaintenanceItemTextentity 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.
-
createMaintenancePlan
@Nonnull public MaintenancePlanServiceBatchChangeSet createMaintenancePlan(@Nonnull MaintenancePlan maintenancePlan) Description copied from interface:MaintenancePlanServiceBatchChangeSetCreate a newMaintenancePlanentity and save it to the S/4HANA system.- Specified by:
createMaintenancePlanin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenancePlan-MaintenancePlanentity 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.
-
updateMaintenancePlan
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintenancePlan(@Nonnull MaintenancePlan maintenancePlan) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintenancePlanentity and save it to the S/4HANA system.- Specified by:
updateMaintenancePlanin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenancePlan-MaintenancePlanentity 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.
-
updateMaintenancePlanCycle
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintenancePlanCycle(@Nonnull MaintenancePlanCycle maintenancePlanCycle) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintenancePlanCycleentity and save it to the S/4HANA system.- Specified by:
updateMaintenancePlanCyclein interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenancePlanCycle-MaintenancePlanCycleentity 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.
-
updateMaintenancePlanText
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintenancePlanText(@Nonnull MaintenancePlanText maintenancePlanText) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintenancePlanTextentity and save it to the S/4HANA system.- Specified by:
updateMaintenancePlanTextin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintenancePlanText-MaintenancePlanTextentity 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.
-
updateMaintItemObjectListItem
@Nonnull public MaintenancePlanServiceBatchChangeSet updateMaintItemObjectListItem(@Nonnull MaintItemObjectListItem maintItemObjectListItem) Description copied from interface:MaintenancePlanServiceBatchChangeSetUpdate an existingMaintItemObjectListItementity and save it to the S/4HANA system.- Specified by:
updateMaintItemObjectListItemin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintItemObjectListItem-MaintItemObjectListItementity 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.
-
deleteMaintItemObjectListItem
@Nonnull public MaintenancePlanServiceBatchChangeSet deleteMaintItemObjectListItem(@Nonnull MaintItemObjectListItem maintItemObjectListItem) Description copied from interface:MaintenancePlanServiceBatchChangeSetDeletes an existingMaintItemObjectListItementity in the S/4HANA system.- Specified by:
deleteMaintItemObjectListItemin interfaceMaintenancePlanServiceBatchChangeSet- Parameters:
maintItemObjectListItem-MaintItemObjectListItementity 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.
-