Class DefaultWorkforceTimesheetServiceBatchChangeSet
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchChangeSetFluentHelperBasic<WorkforceTimesheetServiceBatch,WorkforceTimesheetServiceBatchChangeSet>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.workforcetimesheet.batch.DefaultWorkforceTimesheetServiceBatchChangeSet
- All Implemented Interfaces:
FluentHelperBatchChangeSet<WorkforceTimesheetServiceBatchChangeSet>,FluentHelperBatchEndChangeSet<WorkforceTimesheetServiceBatch>,WorkforceTimesheetServiceBatchChangeSet
public class DefaultWorkforceTimesheetServiceBatchChangeSet
extends BatchChangeSetFluentHelperBasic<WorkforceTimesheetServiceBatch,WorkforceTimesheetServiceBatchChangeSet>
implements WorkforceTimesheetServiceBatchChangeSet
Implementation of the
WorkforceTimesheetServiceBatchChangeSet interface, enabling you to combine multiple
operations into one changeset. For further information have a look into the
WorkforceTimesheetService.-
Method Summary
Modifier and TypeMethodDescriptioncreateTimeSheetEntry(TimeSheetEntry timeSheetEntry) Create a newTimeSheetEntryentity and save it to the S/4HANA system.getThis()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<WorkforceTimesheetServiceBatch,WorkforceTimesheetServiceBatchChangeSet>
-
createTimeSheetEntry
@Nonnull public WorkforceTimesheetServiceBatchChangeSet createTimeSheetEntry(@Nonnull TimeSheetEntry timeSheetEntry) Description copied from interface:WorkforceTimesheetServiceBatchChangeSetCreate a newTimeSheetEntryentity and save it to the S/4HANA system.- Specified by:
createTimeSheetEntryin interfaceWorkforceTimesheetServiceBatchChangeSet- Parameters:
timeSheetEntry-TimeSheetEntryentity 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.
-