@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultActivityTypeService") public class DefaultActivityTypeService extends Object implements ActivityTypeService
This service enables you to display activity type master data to be consumed in SAP Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_COSTCENTERACTIVITYTYPE_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | Integration between SAP S/4HANA Cloud and SAP Analytics Cloud (1YB) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultActivityTypeService()
Creates a service using
ActivityTypeService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
CostCenterActivityTypeFluentHelper |
getAllCostCenterActivityType()
Fetch multiple
CostCenterActivityType entities. |
CostCenterActivityTypeTextFluentHelper |
getAllCostCenterActivityTypeText()
Fetch multiple
CostCenterActivityTypeText entities. |
CostCenterActivityTypeByKeyFluentHelper |
getCostCenterActivityTypeByKey(String controllingArea,
String costCtrActivityType,
LocalDateTime validityEndDate)
Fetch a single
CostCenterActivityType entity using key fields. |
CostCenterActivityTypeTextByKeyFluentHelper |
getCostCenterActivityTypeTextByKey(LocalDateTime validityEndDate,
String controllingArea,
String costCtrActivityType,
String language)
Fetch a single
CostCenterActivityTypeText entity using key fields. |
DefaultActivityTypeService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultActivityTypeService()
ActivityTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultActivityTypeService withServicePath(@Nonnull String servicePath)
ActivityTypeService
withServicePath
in interface ActivityTypeService
servicePath
- Service path that will override the default.@Nonnull public CostCenterActivityTypeFluentHelper getAllCostCenterActivityType()
ActivityTypeService
CostCenterActivityType
entities.getAllCostCenterActivityType
in interface ActivityTypeService
CostCenterActivityType
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CostCenterActivityTypeByKeyFluentHelper getCostCenterActivityTypeByKey(String controllingArea, String costCtrActivityType, LocalDateTime validityEndDate)
ActivityTypeService
CostCenterActivityType
entity using key fields.getCostCenterActivityTypeByKey
in interface ActivityTypeService
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
costCtrActivityType
- Activity Type
Constraints: Not nullable, Maximum length: 6
validityEndDate
- Valid To Date
Constraints: Not nullable, Precision: 0
CostCenterActivityType
entity 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 the
execute
method on the fluent helper object.@Nonnull public CostCenterActivityTypeTextFluentHelper getAllCostCenterActivityTypeText()
ActivityTypeService
CostCenterActivityTypeText
entities.getAllCostCenterActivityTypeText
in interface ActivityTypeService
CostCenterActivityTypeText
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CostCenterActivityTypeTextByKeyFluentHelper getCostCenterActivityTypeTextByKey(LocalDateTime validityEndDate, String controllingArea, String costCtrActivityType, String language)
ActivityTypeService
CostCenterActivityTypeText
entity using key fields.getCostCenterActivityTypeTextByKey
in interface ActivityTypeService
validityEndDate
- Valid To Date
Constraints: Not nullable, Precision: 0
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
costCtrActivityType
- Activity Type
Constraints: Not nullable, Maximum length: 6
language
- Language Key
Constraints: Not nullable, Maximum length: 2
CostCenterActivityTypeText
entity 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 the
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.