Class DefaultActivityTypeService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultActivityTypeService
- All Implemented Interfaces:
BatchService<ActivityTypeServiceBatch>,ActivityTypeService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultActivityTypeService")
@Deprecated
public class DefaultActivityTypeService
extends Object
implements ActivityTypeService
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 cost center activity type master data in an API call. It is based on the OData protocol and can be consumed in SAP Fiori apps and other user interfaces. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_COSTCENTERACTIVITYTYPE_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Analytics Cloud for Planning Integration(SAP_COM_0087) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB) |
| Authentication Methods: | x509 |
| Business Object: | Cost Center Activity Type |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.ActivityTypeService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingActivityTypeService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleCostCenterActivityTypeentities.Deprecated.Fetch multipleCostCenterActivityTypeTextentities.getCostCenterActivityTypeByKey(String controllingArea, String costCtrActivityType, LocalDateTime validityEndDate) Deprecated.Fetch a singleCostCenterActivityTypeentity using key fields.getCostCenterActivityTypeTextByKey(LocalDateTime validityEndDate, String controllingArea, String costCtrActivityType, String language) Deprecated.Fetch a singleCostCenterActivityTypeTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultActivityTypeService
public DefaultActivityTypeService()Deprecated.Creates a service usingActivityTypeService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ActivityTypeServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceActivityTypeService- 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<ActivityTypeServiceBatch>
-
getAllCostCenterActivityType
Deprecated.Description copied from interface:ActivityTypeServiceFetch multipleCostCenterActivityTypeentities.- Specified by:
getAllCostCenterActivityTypein interfaceActivityTypeService- Returns:
- A fluent helper to fetch multiple
CostCenterActivityTypeentities. 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.
-
getCostCenterActivityTypeByKey
@Nonnull public CostCenterActivityTypeByKeyFluentHelper getCostCenterActivityTypeByKey(String controllingArea, String costCtrActivityType, LocalDateTime validityEndDate) Deprecated.Description copied from interface:ActivityTypeServiceFetch a singleCostCenterActivityTypeentity using key fields.- Specified by:
getCostCenterActivityTypeByKeyin interfaceActivityTypeService- Parameters:
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
costCtrActivityType- Activity TypeConstraints: Not nullable, Maximum length: 6
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
- Returns:
- A fluent helper to fetch a single
CostCenterActivityTypeentity 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.
-
getAllCostCenterActivityTypeText
Deprecated.Description copied from interface:ActivityTypeServiceFetch multipleCostCenterActivityTypeTextentities.- Specified by:
getAllCostCenterActivityTypeTextin interfaceActivityTypeService- Returns:
- A fluent helper to fetch multiple
CostCenterActivityTypeTextentities. 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.
-
getCostCenterActivityTypeTextByKey
@Nonnull public CostCenterActivityTypeTextByKeyFluentHelper getCostCenterActivityTypeTextByKey(LocalDateTime validityEndDate, String controllingArea, String costCtrActivityType, String language) Deprecated.Description copied from interface:ActivityTypeServiceFetch a singleCostCenterActivityTypeTextentity using key fields.- Specified by:
getCostCenterActivityTypeTextByKeyin interfaceActivityTypeService- Parameters:
validityEndDate- Valid To DateConstraints: Not nullable, Precision: 0
controllingArea- Controlling AreaConstraints: Not nullable, Maximum length: 4
costCtrActivityType- Activity TypeConstraints: Not nullable, Maximum length: 6
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
CostCenterActivityTypeTextentity 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.
-