Class DefaultConsolidationCountryOrRegionService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultConsolidationCountryOrRegionService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ConsolidationCountryOrRegionService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultConsolidationCountryOrRegionService")
@Deprecated
public class DefaultConsolidationCountryOrRegionService
extends Object
implements ServiceWithNavigableEntities, ConsolidationCountryOrRegionService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
A consolidation country/region is a country/region that can be used for financial consolidation in group reporting. It can either be a country/region that’s been defined in an area other than group reporting, or it can be a country/region that’s been specifically defined for exclusive use in group reporting.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_CNSLDTNCOUNTRY_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - Cloud Consolidation Master Data for Group Reporting Integration(SAP_COM_0336) |
| Scope Items: | Group Reporting - Data from External Systems(2U6) |
| Authentication Methods: | x509 |
| Service Group Name: | API_CNSLDTNCOUNTRY |
| Business Object: | Consolidation Country |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ConsolidationCountryOrRegionService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingConsolidationCountryOrRegionService.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 theCnsldtnCountryentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCnsldtnBusinessAreaTextentity collection matching the filter and search expressions.createCnsldtnCountry(CnsldtnCountry cnsldtnCountry) Deprecated.Create a newCnsldtnCountryentity and save it to the S/4HANA system.deleteCnsldtnCountry(CnsldtnCountry cnsldtnCountry) Deprecated.Deletes an existingCnsldtnCountryentity in the S/4HANA system.deleteCnsldtnCountryText(CnsldtnBusinessAreaText cnsldtnBusinessAreaText) Deprecated.Deletes an existingCnsldtnBusinessAreaTextentity in the S/4HANA system.Deprecated.Fetch multipleCnsldtnCountryentities.Deprecated.Fetch multipleCnsldtnBusinessAreaTextentities.getCnsldtnCountryByKey(String country) Deprecated.Fetch a singleCnsldtnCountryentity using key fields.getCnsldtnCountryTextByKey(String language, String country) Deprecated.Fetch a singleCnsldtnBusinessAreaTextentity using key fields.Deprecated.updateCnsldtnCountry(CnsldtnCountry cnsldtnCountry) Deprecated.Update an existingCnsldtnCountryentity and save it to the S/4HANA system.updateCnsldtnCountryText(CnsldtnBusinessAreaText cnsldtnBusinessAreaText) Deprecated.Update an existingCnsldtnBusinessAreaTextentity 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
-
DefaultConsolidationCountryOrRegionService
public DefaultConsolidationCountryOrRegionService()Deprecated.Creates a service usingConsolidationCountryOrRegionService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultConsolidationCountryOrRegionService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceConsolidationCountryOrRegionService- 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:ConsolidationCountryOrRegionServiceCreates a batch request builder object.- Specified by:
batchin interfaceConsolidationCountryOrRegionService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllCnsldtnCountry
Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceFetch multipleCnsldtnCountryentities.- Specified by:
getAllCnsldtnCountryin interfaceConsolidationCountryOrRegionService- Returns:
- A request builder to fetch multiple
CnsldtnCountryentities. 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.
-
countCnsldtnCountry
Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceFetch the number of entries from theCnsldtnCountryentity collection matching the filter and search expressions.- Specified by:
countCnsldtnCountryin interfaceConsolidationCountryOrRegionService- Returns:
- A request builder to fetch the count of
CnsldtnCountryentities. 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.
-
getCnsldtnCountryByKey
Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceFetch a singleCnsldtnCountryentity using key fields.- Specified by:
getCnsldtnCountryByKeyin interfaceConsolidationCountryOrRegionService- Parameters:
country- Country/Region in ConsolidationConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
CnsldtnCountryentity 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.
-
createCnsldtnCountry
@Nonnull public CreateRequestBuilder<CnsldtnCountry> createCnsldtnCountry(@Nonnull CnsldtnCountry cnsldtnCountry) Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceCreate a newCnsldtnCountryentity and save it to the S/4HANA system.- Specified by:
createCnsldtnCountryin interfaceConsolidationCountryOrRegionService- Parameters:
cnsldtnCountry-CnsldtnCountryentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
CnsldtnCountryentity. To perform execution, call theexecutemethod on the request builder object.
-
updateCnsldtnCountry
@Nonnull public UpdateRequestBuilder<CnsldtnCountry> updateCnsldtnCountry(@Nonnull CnsldtnCountry cnsldtnCountry) Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceUpdate an existingCnsldtnCountryentity and save it to the S/4HANA system.- Specified by:
updateCnsldtnCountryin interfaceConsolidationCountryOrRegionService- Parameters:
cnsldtnCountry-CnsldtnCountryentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
CnsldtnCountryentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteCnsldtnCountry
@Nonnull public DeleteRequestBuilder<CnsldtnCountry> deleteCnsldtnCountry(@Nonnull CnsldtnCountry cnsldtnCountry) Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceDeletes an existingCnsldtnCountryentity in the S/4HANA system.- Specified by:
deleteCnsldtnCountryin interfaceConsolidationCountryOrRegionService- Parameters:
cnsldtnCountry-CnsldtnCountryentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
CnsldtnCountryentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllCnsldtnCountryText
Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceFetch multipleCnsldtnBusinessAreaTextentities.- Specified by:
getAllCnsldtnCountryTextin interfaceConsolidationCountryOrRegionService- Returns:
- A request builder to fetch multiple
CnsldtnBusinessAreaTextentities. 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.
-
countCnsldtnCountryText
Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceFetch the number of entries from theCnsldtnBusinessAreaTextentity collection matching the filter and search expressions.- Specified by:
countCnsldtnCountryTextin interfaceConsolidationCountryOrRegionService- Returns:
- A request builder to fetch the count of
CnsldtnBusinessAreaTextentities. 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.
-
getCnsldtnCountryTextByKey
@Nonnull public GetByKeyRequestBuilder<CnsldtnBusinessAreaText> getCnsldtnCountryTextByKey(String language, String country) Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceFetch a singleCnsldtnBusinessAreaTextentity using key fields.- Specified by:
getCnsldtnCountryTextByKeyin interfaceConsolidationCountryOrRegionService- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
country- Country/Region in ConsolidationConstraints: Not nullable, Maximum length: 3
- Returns:
- A request builder to fetch a single
CnsldtnBusinessAreaTextentity 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.
-
updateCnsldtnCountryText
@Nonnull public UpdateRequestBuilder<CnsldtnBusinessAreaText> updateCnsldtnCountryText(@Nonnull CnsldtnBusinessAreaText cnsldtnBusinessAreaText) Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceUpdate an existingCnsldtnBusinessAreaTextentity and save it to the S/4HANA system.- Specified by:
updateCnsldtnCountryTextin interfaceConsolidationCountryOrRegionService- Parameters:
cnsldtnBusinessAreaText-CnsldtnBusinessAreaTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
CnsldtnBusinessAreaTextentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteCnsldtnCountryText
@Nonnull public DeleteRequestBuilder<CnsldtnBusinessAreaText> deleteCnsldtnCountryText(@Nonnull CnsldtnBusinessAreaText cnsldtnBusinessAreaText) Deprecated.Description copied from interface:ConsolidationCountryOrRegionServiceDeletes an existingCnsldtnBusinessAreaTextentity in the S/4HANA system.- Specified by:
deleteCnsldtnCountryTextin interfaceConsolidationCountryOrRegionService- Parameters:
cnsldtnBusinessAreaText-CnsldtnBusinessAreaTextentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
CnsldtnBusinessAreaTextentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-