@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlanningCategoryService") public class DefaultPlanningCategoryService extends Object implements PlanningCategoryService
The service contains plan category and plan category text nodes.
Reference: SAP API Business Hub
OData Service: | API_PLANNINGCATEGORY_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087) |
Scope Items: | Import Connection setup with SAP Analytics Cloud (1YB) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPlanningCategoryService()
Creates a service using
PlanningCategoryService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultPlanningCategoryServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
PlanningCategoryFluentHelper |
getAllPlanningCategory()
Fetch multiple
PlanningCategory entities. |
PlanningCategoryTextFluentHelper |
getAllPlanningCategoryText()
Fetch multiple
PlanningCategoryText entities. |
PlanningCategoryByKeyFluentHelper |
getPlanningCategoryByKey(String planningCategory)
Fetch a single
PlanningCategory entity using key fields. |
PlanningCategoryTextByKeyFluentHelper |
getPlanningCategoryTextByKey(String planningCategory,
String language)
Fetch a single
PlanningCategoryText entity using key fields. |
DefaultPlanningCategoryService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultPlanningCategoryService()
PlanningCategoryService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPlanningCategoryService withServicePath(@Nonnull String servicePath)
PlanningCategoryService
withServicePath
in interface PlanningCategoryService
servicePath
- Service path that will override the default.@Nonnull public DefaultPlanningCategoryServiceBatch batch()
batch
in interface BatchService<PlanningCategoryServiceBatch>
@Nonnull public PlanningCategoryFluentHelper getAllPlanningCategory()
PlanningCategoryService
PlanningCategory
entities.getAllPlanningCategory
in interface PlanningCategoryService
PlanningCategory
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 PlanningCategoryByKeyFluentHelper getPlanningCategoryByKey(String planningCategory)
PlanningCategoryService
PlanningCategory
entity using key fields.getPlanningCategoryByKey
in interface PlanningCategoryService
planningCategory
- Used to distinguish different sets of plan data.
Constraints: Not nullable, Maximum length: 10
PlanningCategory
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 PlanningCategoryTextFluentHelper getAllPlanningCategoryText()
PlanningCategoryService
PlanningCategoryText
entities.getAllPlanningCategoryText
in interface PlanningCategoryService
PlanningCategoryText
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 PlanningCategoryTextByKeyFluentHelper getPlanningCategoryTextByKey(String planningCategory, String language)
PlanningCategoryService
PlanningCategoryText
entity using key fields.getPlanningCategoryTextByKey
in interface PlanningCategoryService
planningCategory
- Used to distinguish different sets of plan data.
Constraints: Not nullable, Maximum length: 10
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
PlanningCategoryText
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 © 2020 SAP SE. All rights reserved.