@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCostCenterTestService") public class DefaultCostCenterTestService extends Object implements CostCenterTestService
Cost Center Data Provider.
Reference: SAP API Business Hub
OData Service: | FCO_PI_COST_CENTER |
API Version: | 1 |
Constructor and Description |
---|
DefaultCostCenterTestService() |
Modifier and Type | Method and Description |
---|---|
CostCenterFluentHelper |
getAllCostCenter()
Fetch multiple
CostCenter entities. |
CostCenterTextFluentHelper |
getAllCostCenterText()
Fetch multiple
CostCenterText entities. |
CostCenterByKeyFluentHelper |
getCostCenterByKey(String companyCode,
String costCenterID,
Calendar validityEndDate)
Fetch a single
CostCenter entity using key fields. |
CostCenterTextByKeyFluentHelper |
getCostCenterTextByKey(String companyCode,
String costCenterID,
Calendar validityEndDate,
String language)
Fetch a single
CostCenterText entity using key fields. |
public CostCenterFluentHelper getAllCostCenter()
CostCenterTestService
CostCenter
entities.getAllCostCenter
in interface CostCenterTestService
CostCenter
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.public CostCenterByKeyFluentHelper getCostCenterByKey(String companyCode, String costCenterID, Calendar validityEndDate)
CostCenterTestService
CostCenter
entity using key fields.getCostCenterByKey
in interface CostCenterTestService
companyCode
- Company CodeConstraints: Not nullable, Maximum length: 4
costCenterID
- Cost CenterConstraints: Not nullable, Maximum length: 10
validityEndDate
- Valid ToConstraints: Not nullable, Precision: 0
CostCenter
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.public CostCenterTextFluentHelper getAllCostCenterText()
CostCenterTestService
CostCenterText
entities.getAllCostCenterText
in interface CostCenterTestService
CostCenterText
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.public CostCenterTextByKeyFluentHelper getCostCenterTextByKey(String companyCode, String costCenterID, Calendar validityEndDate, String language)
CostCenterTestService
CostCenterText
entity using key fields.getCostCenterTextByKey
in interface CostCenterTestService
companyCode
- Company CodeConstraints: Not nullable, Maximum length: 4
costCenterID
- Cost CenterConstraints: Not nullable, Maximum length: 10
validityEndDate
- Valid ToConstraints: Not nullable, Precision: 0
language
- Language KeyConstraints: Not nullable, Maximum length: 2
CostCenterText
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.