@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBusinessSituationService") public class DefaultBusinessSituationService extends Object implements BusinessSituationService
The service is intended for scenarios such as machine learning, advanced automation, or advanced analytics.
Reference: SAP API Business Hub
OData Service: | API_BUSINESS_SITUATION_SRV |
API Version: | 1 |
Communication Scenario: | Business Situation Integration (SAP_COM_0345) |
Scope Items: | Situation Handling (31N) |
Authentication Methods: | Basic, x509 |
Business Object: | BusinessSituation |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBusinessSituationService()
Creates a service using
BusinessSituationService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBusinessSituationServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
SitnDataContextFluentHelper |
getAllSitnDataContext()
Fetch multiple
SitnDataContext entities. |
SitnInstanceFluentHelper |
getAllSitnInstance()
Fetch multiple
SitnInstance entities. |
SitnDataContextByKeyFluentHelper |
getSitnDataContextByKey(String sitnDataContextID)
Fetch a single
SitnDataContext entity using key fields. |
SitnInstanceByKeyFluentHelper |
getSitnInstanceByKey(String sitnInstanceID)
Fetch a single
SitnInstance entity using key fields. |
DefaultBusinessSituationService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBusinessSituationService()
BusinessSituationService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBusinessSituationService withServicePath(@Nonnull String servicePath)
BusinessSituationService
withServicePath
in interface BusinessSituationService
servicePath
- Service path that will override the default.@Nonnull public DefaultBusinessSituationServiceBatch batch()
batch
in interface BatchService<BusinessSituationServiceBatch>
@Nonnull public SitnDataContextFluentHelper getAllSitnDataContext()
BusinessSituationService
SitnDataContext
entities.getAllSitnDataContext
in interface BusinessSituationService
SitnDataContext
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 SitnDataContextByKeyFluentHelper getSitnDataContextByKey(String sitnDataContextID)
BusinessSituationService
SitnDataContext
entity using key fields.getSitnDataContextByKey
in interface BusinessSituationService
sitnDataContextID
- Situation Data Context ID
Constraints: Not nullable, Maximum length: 32
SitnDataContext
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 SitnInstanceFluentHelper getAllSitnInstance()
BusinessSituationService
SitnInstance
entities.getAllSitnInstance
in interface BusinessSituationService
SitnInstance
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 SitnInstanceByKeyFluentHelper getSitnInstanceByKey(String sitnInstanceID)
BusinessSituationService
SitnInstance
entity using key fields.getSitnInstanceByKey
in interface BusinessSituationService
sitnInstanceID
- Instance ID
Constraints: Not nullable, Maximum length: 32
SitnInstance
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.