Class DefaultWorkforceAvailabilityService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultWorkforceAvailabilityService
- All Implemented Interfaces:
BatchService<WorkforceAvailabilityServiceBatch>,WorkforceAvailabilityService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultWorkforceAvailabilityService")
@Deprecated
public class DefaultWorkforceAvailabilityService
extends Object
implements WorkforceAvailabilityService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service enables you to create, read, update, and delete the (CRUD) daily availability information into the S/4HANA system from your external HR system when you are not using the SAP SuccessFactors Employee Central system.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_MANAGE_WF_AVAILABILITY |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Employee Integration(SAP_COM_0001), External HR Workforce Integration(SAP_COM_0301), Employee Central via SAP CPI Integration(SAP_COM_0535), Employee Central Integration(SAP_COM_1001) |
| Scope Items: | Core HR with SAP SuccessFactors Employee Central(JB1), Employee Integration - SAP S/4HANA Enablement(1FD), Employee Integration - SAP S/4HANA Enablement(OFD), Financial Master Data for SAP SuccessFactors Employee Central(4AJ) |
| Authentication Methods: | x509 |
| Business Object: | Workforce Person |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.WorkforceAvailabilityService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingWorkforceAvailabilityService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createTimeOverview(TimeOverview timeOverview) Deprecated.Create a newTimeOverviewentity and save it to the S/4HANA system.deleteTimeOverview(TimeOverview timeOverview) Deprecated.Deletes an existingTimeOverviewentity in the S/4HANA system.Deprecated.Fetch multipleTimeOverviewentities.getTimeOverviewByKey(String personworkagreementexternalid, String companycode, LocalDateTime calendardate) Deprecated.Fetch a singleTimeOverviewentity using key fields.updateTimeOverview(TimeOverview timeOverview) Deprecated.Update an existingTimeOverviewentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultWorkforceAvailabilityService
public DefaultWorkforceAvailabilityService()Deprecated.Creates a service usingWorkforceAvailabilityService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:WorkforceAvailabilityServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceWorkforceAvailabilityService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<WorkforceAvailabilityServiceBatch>
-
getAllTimeOverview
Deprecated.Description copied from interface:WorkforceAvailabilityServiceFetch multipleTimeOverviewentities.- Specified by:
getAllTimeOverviewin interfaceWorkforceAvailabilityService- Returns:
- A fluent helper to fetch multiple
TimeOverviewentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getTimeOverviewByKey
@Nonnull public TimeOverviewByKeyFluentHelper getTimeOverviewByKey(String personworkagreementexternalid, String companycode, LocalDateTime calendardate) Deprecated.Description copied from interface:WorkforceAvailabilityServiceFetch a singleTimeOverviewentity using key fields.- Specified by:
getTimeOverviewByKeyin interfaceWorkforceAvailabilityService- Parameters:
personworkagreementexternalid- Work Agreement Ext IDConstraints: Not nullable, Maximum length: 20
companycode- Company CodeConstraints: Not nullable, Maximum length: 4
calendardate- Calendar DateConstraints: Not nullable, Precision: 7
- Returns:
- A fluent helper to fetch a single
TimeOverviewentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
createTimeOverview
@Nonnull public TimeOverviewCreateFluentHelper createTimeOverview(@Nonnull TimeOverview timeOverview) Deprecated.Description copied from interface:WorkforceAvailabilityServiceCreate a newTimeOverviewentity and save it to the S/4HANA system.- Specified by:
createTimeOverviewin interfaceWorkforceAvailabilityService- Parameters:
timeOverview-TimeOverviewentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
TimeOverviewentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateTimeOverview
@Nonnull public TimeOverviewUpdateFluentHelper updateTimeOverview(@Nonnull TimeOverview timeOverview) Deprecated.Description copied from interface:WorkforceAvailabilityServiceUpdate an existingTimeOverviewentity and save it to the S/4HANA system.- Specified by:
updateTimeOverviewin interfaceWorkforceAvailabilityService- Parameters:
timeOverview-TimeOverviewentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
TimeOverviewentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteTimeOverview
@Nonnull public TimeOverviewDeleteFluentHelper deleteTimeOverview(@Nonnull TimeOverview timeOverview) Deprecated.Description copied from interface:WorkforceAvailabilityServiceDeletes an existingTimeOverviewentity in the S/4HANA system.- Specified by:
deleteTimeOverviewin interfaceWorkforceAvailabilityService- Parameters:
timeOverview-TimeOverviewentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
TimeOverviewentity. To perform execution, call theexecutemethod on the fluent helper object.
-