@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBusinessSituationTypeService") public class DefaultBusinessSituationTypeService extends Object implements BusinessSituationTypeService
This API is based on the OData protocol. It provides the data belonging to situation templates, situation types, actions, and the texts in all available languages in the payload’s response. For example, you can use this API data to link to situation master data in an external app.
Reference: SAP API Business Hub
OData Service: | API_BUS_SITN_MSTRDATA_SRV |
API Version: | 1 |
Communication Scenario: | Business Situation Master Data Integration (SAP_COM_0376) |
Scope Items: | Situation Handling (31N) |
Authentication Methods: | Basic, x509 |
Business Object: | BusinessSituationType |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBusinessSituationTypeService()
Creates a service using
BusinessSituationTypeService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultBusinessSituationTypeService()
BusinessSituationTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBusinessSituationTypeService withServicePath(@Nonnull String servicePath)
BusinessSituationTypeService
withServicePath
in interface BusinessSituationTypeService
servicePath
- Service path that will override the default.@Nonnull public DefaultBusinessSituationTypeServiceBatch batch()
batch
in interface BatchService<BusinessSituationTypeServiceBatch>
@Nonnull public SituationActionFluentHelper getAllSituationAction()
BusinessSituationTypeService
SituationAction
entities.getAllSituationAction
in interface BusinessSituationTypeService
SituationAction
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 SituationActionByKeyFluentHelper getSituationActionByKey(String sitnDefTemplateID, String sitnActionID)
BusinessSituationTypeService
SituationAction
entity using key fields.getSituationActionByKey
in interface BusinessSituationTypeService
sitnDefTemplateID
- Situation Standard Template ID
Constraints: Not nullable, Maximum length: 32
sitnActionID
- Action ID
Constraints: Not nullable, Maximum length: 32
SituationAction
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 SituationActionTextFluentHelper getAllSituationActionText()
BusinessSituationTypeService
SituationActionText
entities.getAllSituationActionText
in interface BusinessSituationTypeService
SituationActionText
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 SituationActionTextByKeyFluentHelper getSituationActionTextByKey(String sitnActionID, String language)
BusinessSituationTypeService
SituationActionText
entity using key fields.getSituationActionTextByKey
in interface BusinessSituationTypeService
sitnActionID
- Action ID
Constraints: Not nullable, Maximum length: 32
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
SituationActionText
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 SituationTemplateTextFluentHelper getAllSituationTemplateText()
BusinessSituationTypeService
SituationTemplateText
entities.getAllSituationTemplateText
in interface BusinessSituationTypeService
SituationTemplateText
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 SituationTemplateTextByKeyFluentHelper getSituationTemplateTextByKey(String sitnDefTemplateID, String language)
BusinessSituationTypeService
SituationTemplateText
entity using key fields.getSituationTemplateTextByKey
in interface BusinessSituationTypeService
sitnDefTemplateID
- Situation Standard Template ID
Constraints: Not nullable, Maximum length: 32
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
SituationTemplateText
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 SituationTypeFluentHelper getAllSituationType()
BusinessSituationTypeService
SituationType
entities.getAllSituationType
in interface BusinessSituationTypeService
SituationType
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 SituationTypeByKeyFluentHelper getSituationTypeByKey(String sitnDefinitionID)
BusinessSituationTypeService
SituationType
entity using key fields.getSituationTypeByKey
in interface BusinessSituationTypeService
sitnDefinitionID
- Situation Type ID
Constraints: Not nullable, Maximum length: 32
SituationType
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 SituationTypeTextFluentHelper getAllSituationTypeText()
BusinessSituationTypeService
SituationTypeText
entities.getAllSituationTypeText
in interface BusinessSituationTypeService
SituationTypeText
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 SituationTypeTextByKeyFluentHelper getSituationTypeTextByKey(String sitnDefinitionID, String language)
BusinessSituationTypeService
SituationTypeText
entity using key fields.getSituationTypeTextByKey
in interface BusinessSituationTypeService
sitnDefinitionID
- Situation Type ID
Constraints: Not nullable, Maximum length: 32
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
SituationTypeText
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 SituationTemplateFluentHelper getAllSituationTemplate()
BusinessSituationTypeService
SituationTemplate
entities.getAllSituationTemplate
in interface BusinessSituationTypeService
SituationTemplate
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 SituationTemplateByKeyFluentHelper getSituationTemplateByKey(String sitnDefTemplateID)
BusinessSituationTypeService
SituationTemplate
entity using key fields.getSituationTemplateByKey
in interface BusinessSituationTypeService
sitnDefTemplateID
- Situation Standard Template ID
Constraints: Not nullable, Maximum length: 32
SituationTemplate
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 © 2021 SAP SE. All rights reserved.