public class DefaultWorkforceTimesheetServiceBatch extends BatchFluentHelperBasic<WorkforceTimesheetServiceBatch,WorkforceTimesheetServiceBatchChangeSet> implements WorkforceTimesheetServiceBatch
WorkforceTimesheetServiceBatch
interface exposed in the
WorkforceTimesheetService
,
allowing you to create multiple changesets and finally execute the batch request.Constructor and Description |
---|
DefaultWorkforceTimesheetServiceBatch(WorkforceTimesheetService service)
Creates a new instance of this DefaultWorkforceTimesheetServiceBatch.
|
Modifier and Type | Method and Description |
---|---|
WorkforceTimesheetServiceBatchChangeSet |
beginChangeSet()
Method to define a new OData batch changeset.
|
protected String |
getServicePathForBatchRequest()
Get the OData service endpoint path for the current OData batch request.
|
protected DefaultWorkforceTimesheetServiceBatch |
getThis()
Method to safely return the current fluent helper instance upon public method calls.
|
cachingMetadata, execute, withoutCachingMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cachingMetadata, withoutCachingMetadata
execute
public DefaultWorkforceTimesheetServiceBatch(@Nonnull WorkforceTimesheetService service)
service
- The service to execute all operations in this changeset on.@Nonnull protected String getServicePathForBatchRequest()
DEFAULT_SERVICE_PATH
in the service class.getServicePathForBatchRequest
in class BatchFluentHelperBasic<WorkforceTimesheetServiceBatch,WorkforceTimesheetServiceBatchChangeSet>
@Nonnull protected DefaultWorkforceTimesheetServiceBatch getThis()
getThis
in class BatchFluentHelperBasic<WorkforceTimesheetServiceBatch,WorkforceTimesheetServiceBatchChangeSet>
@Nonnull public WorkforceTimesheetServiceBatchChangeSet beginChangeSet()
beginChangeSet
in interface FluentHelperServiceBatch<WorkforceTimesheetServiceBatch,WorkforceTimesheetServiceBatchChangeSet>
Copyright © 2019 SAP SE. All rights reserved.