Class DefaultEnvironmentHealthAndSafetyExternalSourceService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultEnvironmentHealthAndSafetyExternalSourceService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,EnvironmentHealthAndSafetyExternalSourceService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultEnvironmentHealthAndSafetyExternalSourceService")
@Deprecated
public class DefaultEnvironmentHealthAndSafetyExternalSourceService
extends Object
implements ServiceWithNavigableEntities, EnvironmentHealthAndSafetyExternalSourceService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service enables you to read available External Source IDs and send amounts to the system. You can send multiple amounts via a changeset..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | EHSAMOUNTEXTERNALSRCE_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Environment, Health, and Safety - Automatic Data Collection Integration(SAP_COM_0747) |
| Scope Items: | Emissions Management(4XD), Waste Management(60H) |
| Authentication Methods: | x509 |
| Service Group Name: | API_EHSAMOUNTEXTERNALSRCE |
| Business Object: | EHS Data Collection |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.EnvironmentHealthAndSafetyExternalSourceService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingEnvironmentHealthAndSafetyExternalSourceService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theEHSAmountExternalSourceentity collection matching the filter and search expressions.Deprecated.Fetch multipleEHSAmountExternalSourceentities.getEHSAmountExternalSourceByKey(String eHSAmountExternalSource) Deprecated.Fetch a singleEHSAmountExternalSourceentity using key fields.Deprecated.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods 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.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultEnvironmentHealthAndSafetyExternalSourceService
public DefaultEnvironmentHealthAndSafetyExternalSourceService()Deprecated.Creates a service usingEnvironmentHealthAndSafetyExternalSourceService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultEnvironmentHealthAndSafetyExternalSourceService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:EnvironmentHealthAndSafetyExternalSourceServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceEnvironmentHealthAndSafetyExternalSourceService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:EnvironmentHealthAndSafetyExternalSourceServiceCreates a batch request builder object.- Specified by:
batchin interfaceEnvironmentHealthAndSafetyExternalSourceService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllEHSAmountExternalSource
Deprecated.Description copied from interface:EnvironmentHealthAndSafetyExternalSourceServiceFetch multipleEHSAmountExternalSourceentities.- Specified by:
getAllEHSAmountExternalSourcein interfaceEnvironmentHealthAndSafetyExternalSourceService- Returns:
- A request builder to fetch multiple
EHSAmountExternalSourceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countEHSAmountExternalSource
Deprecated.Description copied from interface:EnvironmentHealthAndSafetyExternalSourceServiceFetch the number of entries from theEHSAmountExternalSourceentity collection matching the filter and search expressions.- Specified by:
countEHSAmountExternalSourcein interfaceEnvironmentHealthAndSafetyExternalSourceService- Returns:
- A request builder to fetch the count of
EHSAmountExternalSourceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getEHSAmountExternalSourceByKey
@Nonnull public GetByKeyRequestBuilder<EHSAmountExternalSource> getEHSAmountExternalSourceByKey(String eHSAmountExternalSource) Deprecated.Description copied from interface:EnvironmentHealthAndSafetyExternalSourceServiceFetch a singleEHSAmountExternalSourceentity using key fields.- Specified by:
getEHSAmountExternalSourceByKeyin interfaceEnvironmentHealthAndSafetyExternalSourceService- Parameters:
eHSAmountExternalSource- External SourceConstraints: Not nullable, Maximum length: 80
- Returns:
- A request builder to fetch a single
EHSAmountExternalSourceentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-