Class DefaultSegmentService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSegmentService
- All Implemented Interfaces:
BatchService<SegmentServiceBatch>,SegmentService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSegmentService")
@Deprecated
public class DefaultSegmentService
extends Object
implements SegmentService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The service enables you to retrieve segments and their names in the respective language..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_SEGMENT_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Analytics Cloud for Planning Integration(SAP_COM_0087), Finance - Cloud Consolidation Data Collection Integration(SAP_COM_0241) |
| Scope Items: | Import Connection setup with SAP Analytics Cloud(1YB), Group Reporting - Data from SAP Group Reporting Data Collection(287) |
| Authentication Methods: | x509 |
| Business Object: | Segment |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.SegmentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingSegmentService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleSegmententities.Deprecated.Fetch multipleSegmentTextentities.getSegmentByKey(String segment) Deprecated.Fetch a singleSegmententity using key fields.getSegmentTextByKey(String language, String segment) Deprecated.Fetch a singleSegmentTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultSegmentService
public DefaultSegmentService()Deprecated.Creates a service usingSegmentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:SegmentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceSegmentService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<SegmentServiceBatch>
-
getAllSegment
Deprecated.Description copied from interface:SegmentServiceFetch multipleSegmententities.- Specified by:
getAllSegmentin interfaceSegmentService- Returns:
- A fluent helper to fetch multiple
Segmententities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSegmentByKey
Deprecated.Description copied from interface:SegmentServiceFetch a singleSegmententity using key fields.- Specified by:
getSegmentByKeyin interfaceSegmentService- Parameters:
segment- Segment for Segmental ReportingConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
Segmententity 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 theexecutemethod on the fluent helper object.
-
getAllSegmentText
Deprecated.Description copied from interface:SegmentServiceFetch multipleSegmentTextentities.- Specified by:
getAllSegmentTextin interfaceSegmentService- Returns:
- A fluent helper to fetch multiple
SegmentTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSegmentTextByKey
Deprecated.Description copied from interface:SegmentServiceFetch a singleSegmentTextentity using key fields.- Specified by:
getSegmentTextByKeyin interfaceSegmentService- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
segment- Segment for Segmental ReportingConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
SegmentTextentity 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 theexecutemethod on the fluent helper object.
-