Class DefaultLocationService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultLocationService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,LocationService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultLocationService")
@Deprecated
public class DefaultLocationService
extends Object
implements ServiceWithNavigableEntities, LocationService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service enables you to create, read, update, and delete locations through an API call. You can perform these activities from a source system outside SAP S/4HANA Cloud. The service is based on the OData protocol..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_MANAGELOCATION_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Location Integration(SAP_COM_0425) |
| Scope Items: | Order-Based Transportation Consolidation – Outbound(3EP), Order-Based Transportation Consolidation - Inbound(5VV), Stock Transport Order-Based Transportation Consolidation(5XC) |
| Authentication Methods: | x509 |
| Service Group Name: | API_MANAGELOCATION |
| Business Object: | Location |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.LocationService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingLocationService.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 theLocationentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLocationAddressentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theLocationTextentity collection matching the filter and search expressions.createLocation(Location location) Deprecated.Create a newLocationentity and save it to the S/4HANA system.deleteLocation(Location location) Deprecated.Deletes an existingLocationentity in the S/4HANA system.deleteLocationText(LocationText locationText) Deprecated.Deletes an existingLocationTextentity in the S/4HANA system.Deprecated.Fetch multipleLocationentities.Deprecated.Fetch multipleLocationAddressentities.Deprecated.Fetch multipleLocationTextentities.getLocationAddressByKey(UUID locationUUID, String addressPersonID, String addressRepresentationCode) Deprecated.Fetch a singleLocationAddressentity using key fields.getLocationByKey(UUID locationUUID) Deprecated.Fetch a singleLocationentity using key fields.getLocationTextByKey(UUID locationUUID, String language) Deprecated.Fetch a singleLocationTextentity using key fields.Deprecated.updateLocation(Location location) Deprecated.Update an existingLocationentity and save it to the S/4HANA system.updateLocationAddress(LocationAddress locationAddress) Deprecated.Update an existingLocationAddressentity and save it to the S/4HANA system.updateLocationText(LocationText locationText) Deprecated.Update an existingLocationTextentity 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.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
-
DefaultLocationService
public DefaultLocationService()Deprecated.Creates a service usingLocationService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:LocationServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceLocationService- 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:LocationServiceCreates a batch request builder object.- Specified by:
batchin interfaceLocationService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllLocation
Deprecated.Description copied from interface:LocationServiceFetch multipleLocationentities.- Specified by:
getAllLocationin interfaceLocationService- Returns:
- A request builder to fetch multiple
Locationentities. 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.
-
countLocation
Deprecated.Description copied from interface:LocationServiceFetch the number of entries from theLocationentity collection matching the filter and search expressions.- Specified by:
countLocationin interfaceLocationService- Returns:
- A request builder to fetch the count of
Locationentities. 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.
-
getLocationByKey
Deprecated.Description copied from interface:LocationServiceFetch a singleLocationentity using key fields.- Specified by:
getLocationByKeyin interfaceLocationService- Parameters:
locationUUID- Internal Location Number (Customer, Supplier, or Plant)Constraints: Not nullable
- Returns:
- A request builder to fetch a single
Locationentity 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.
-
createLocation
Deprecated.Description copied from interface:LocationServiceCreate a newLocationentity and save it to the S/4HANA system.- Specified by:
createLocationin interfaceLocationService- Parameters:
location-Locationentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
Locationentity. To perform execution, call theexecutemethod on the request builder object.
-
updateLocation
Deprecated.Description copied from interface:LocationServiceUpdate an existingLocationentity and save it to the S/4HANA system.- Specified by:
updateLocationin interfaceLocationService- Parameters:
location-Locationentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
Locationentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteLocation
Deprecated.Description copied from interface:LocationServiceDeletes an existingLocationentity in the S/4HANA system.- Specified by:
deleteLocationin interfaceLocationService- Parameters:
location-Locationentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
Locationentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllLocationAddress
Deprecated.Description copied from interface:LocationServiceFetch multipleLocationAddressentities.- Specified by:
getAllLocationAddressin interfaceLocationService- Returns:
- A request builder to fetch multiple
LocationAddressentities. 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.
-
countLocationAddress
Deprecated.Description copied from interface:LocationServiceFetch the number of entries from theLocationAddressentity collection matching the filter and search expressions.- Specified by:
countLocationAddressin interfaceLocationService- Returns:
- A request builder to fetch the count of
LocationAddressentities. 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.
-
getLocationAddressByKey
@Nonnull public GetByKeyRequestBuilder<LocationAddress> getLocationAddressByKey(UUID locationUUID, String addressPersonID, String addressRepresentationCode) Deprecated.Description copied from interface:LocationServiceFetch a singleLocationAddressentity using key fields.- Specified by:
getLocationAddressByKeyin interfaceLocationService- Parameters:
locationUUID- Internal Location Number (Customer, Supplier, or Plant)Constraints: Not nullable
addressPersonID- Person NumberConstraints: Not nullable, Maximum length: 10
addressRepresentationCode- Version ID for International AddressesConstraints: Not nullable, Maximum length: 1
- Returns:
- A request builder to fetch a single
LocationAddressentity 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.
-
updateLocationAddress
@Nonnull public UpdateRequestBuilder<LocationAddress> updateLocationAddress(@Nonnull LocationAddress locationAddress) Deprecated.Description copied from interface:LocationServiceUpdate an existingLocationAddressentity and save it to the S/4HANA system.- Specified by:
updateLocationAddressin interfaceLocationService- Parameters:
locationAddress-LocationAddressentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
LocationAddressentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllLocationText
Deprecated.Description copied from interface:LocationServiceFetch multipleLocationTextentities.- Specified by:
getAllLocationTextin interfaceLocationService- Returns:
- A request builder to fetch multiple
LocationTextentities. 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.
-
countLocationText
Deprecated.Description copied from interface:LocationServiceFetch the number of entries from theLocationTextentity collection matching the filter and search expressions.- Specified by:
countLocationTextin interfaceLocationService- Returns:
- A request builder to fetch the count of
LocationTextentities. 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.
-
getLocationTextByKey
@Nonnull public GetByKeyRequestBuilder<LocationText> getLocationTextByKey(UUID locationUUID, String language) Deprecated.Description copied from interface:LocationServiceFetch a singleLocationTextentity using key fields.- Specified by:
getLocationTextByKeyin interfaceLocationService- Parameters:
locationUUID- Internal Location Number (Customer, Supplier, or Plant)Constraints: Not nullable
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
LocationTextentity 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.
-
updateLocationText
@Nonnull public UpdateRequestBuilder<LocationText> updateLocationText(@Nonnull LocationText locationText) Deprecated.Description copied from interface:LocationServiceUpdate an existingLocationTextentity and save it to the S/4HANA system.- Specified by:
updateLocationTextin interfaceLocationService- Parameters:
locationText-LocationTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
LocationTextentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteLocationText
@Nonnull public DeleteRequestBuilder<LocationText> deleteLocationText(@Nonnull LocationText locationText) Deprecated.Description copied from interface:LocationServiceDeletes an existingLocationTextentity in the S/4HANA system.- Specified by:
deleteLocationTextin interfaceLocationService- Parameters:
locationText-LocationTextentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
LocationTextentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-