Class DefaultConsolidationSegmentService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultConsolidationSegmentService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ConsolidationSegmentService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultConsolidationSegmentService")
@Deprecated
public class DefaultConsolidationSegmentService
extends Object
implements ServiceWithNavigableEntities, ConsolidationSegmentService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
A consolidation segment is a segment that can be used for financial consolidation in group reporting. It can either be a segment that’s been defined in an area other than group reporting, or it can be a segment that’s been specifically defined for exclusive use in group reporting.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_CNSLDTNSEGMENT_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - Cloud Consolidation Master Data for Group Reporting Integration(SAP_COM_0336) |
| Scope Items: | Group Reporting - Data from External Systems(2U6) |
| Authentication Methods: | x509 |
| Service Group Name: | API_CNSLDTNSEGMENT |
| Business Object: | Consolidation Segment |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ConsolidationSegmentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingConsolidationSegmentService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theCnsldtnSegmententity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCnsldtnSegmentTextentity collection matching the filter and search expressions.createCnsldtnSegment(CnsldtnSegment cnsldtnSegment) Deprecated.Create a newCnsldtnSegmententity and save it to the S/4HANA system.deleteCnsldtnSegment(CnsldtnSegment cnsldtnSegment) Deprecated.Deletes an existingCnsldtnSegmententity in the S/4HANA system.deleteCnsldtnSegmentText(CnsldtnSegmentText cnsldtnSegmentText) Deprecated.Deletes an existingCnsldtnSegmentTextentity in the S/4HANA system.Deprecated.Fetch multipleCnsldtnSegmententities.Deprecated.Fetch multipleCnsldtnSegmentTextentities.getCnsldtnSegmentByKey(String segment) Deprecated.Fetch a singleCnsldtnSegmententity using key fields.getCnsldtnSegmentTextByKey(String language, String segment) Deprecated.Fetch a singleCnsldtnSegmentTextentity using key fields.Deprecated.updateCnsldtnSegment(CnsldtnSegment cnsldtnSegment) Deprecated.Update an existingCnsldtnSegmententity and save it to the S/4HANA system.updateCnsldtnSegmentText(CnsldtnSegmentText cnsldtnSegmentText) Deprecated.Update an existingCnsldtnSegmentTextentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultConsolidationSegmentService
public DefaultConsolidationSegmentService()Deprecated.Creates a service usingConsolidationSegmentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ConsolidationSegmentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceConsolidationSegmentService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:ConsolidationSegmentServiceCreates a batch request builder object.- Specified by:
batchin interfaceConsolidationSegmentService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllCnsldtnSegment
Deprecated.Description copied from interface:ConsolidationSegmentServiceFetch multipleCnsldtnSegmententities.- Specified by:
getAllCnsldtnSegmentin interfaceConsolidationSegmentService- Returns:
- A request builder to fetch multiple
CnsldtnSegmententities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCnsldtnSegment
Deprecated.Description copied from interface:ConsolidationSegmentServiceFetch the number of entries from theCnsldtnSegmententity collection matching the filter and search expressions.- Specified by:
countCnsldtnSegmentin interfaceConsolidationSegmentService- Returns:
- A request builder to fetch the count of
CnsldtnSegmententities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCnsldtnSegmentByKey
Deprecated.Description copied from interface:ConsolidationSegmentServiceFetch a singleCnsldtnSegmententity using key fields.- Specified by:
getCnsldtnSegmentByKeyin interfaceConsolidationSegmentService- Parameters:
segment- SegmentConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
CnsldtnSegmententity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createCnsldtnSegment
@Nonnull public CreateRequestBuilder<CnsldtnSegment> createCnsldtnSegment(@Nonnull CnsldtnSegment cnsldtnSegment) Deprecated.Description copied from interface:ConsolidationSegmentServiceCreate a newCnsldtnSegmententity and save it to the S/4HANA system.- Specified by:
createCnsldtnSegmentin interfaceConsolidationSegmentService- Parameters:
cnsldtnSegment-CnsldtnSegmententity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
CnsldtnSegmententity. To perform execution, call theexecutemethod on the request builder object.
-
updateCnsldtnSegment
@Nonnull public UpdateRequestBuilder<CnsldtnSegment> updateCnsldtnSegment(@Nonnull CnsldtnSegment cnsldtnSegment) Deprecated.Description copied from interface:ConsolidationSegmentServiceUpdate an existingCnsldtnSegmententity and save it to the S/4HANA system.- Specified by:
updateCnsldtnSegmentin interfaceConsolidationSegmentService- Parameters:
cnsldtnSegment-CnsldtnSegmententity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
CnsldtnSegmententity. To perform execution, call theexecutemethod on the request builder object.
-
deleteCnsldtnSegment
@Nonnull public DeleteRequestBuilder<CnsldtnSegment> deleteCnsldtnSegment(@Nonnull CnsldtnSegment cnsldtnSegment) Deprecated.Description copied from interface:ConsolidationSegmentServiceDeletes an existingCnsldtnSegmententity in the S/4HANA system.- Specified by:
deleteCnsldtnSegmentin interfaceConsolidationSegmentService- Parameters:
cnsldtnSegment-CnsldtnSegmententity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
CnsldtnSegmententity. To perform execution, call theexecutemethod on the request builder object.
-
getAllCnsldtnSegmentText
Deprecated.Description copied from interface:ConsolidationSegmentServiceFetch multipleCnsldtnSegmentTextentities.- Specified by:
getAllCnsldtnSegmentTextin interfaceConsolidationSegmentService- Returns:
- A request builder to fetch multiple
CnsldtnSegmentTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCnsldtnSegmentText
Deprecated.Description copied from interface:ConsolidationSegmentServiceFetch the number of entries from theCnsldtnSegmentTextentity collection matching the filter and search expressions.- Specified by:
countCnsldtnSegmentTextin interfaceConsolidationSegmentService- Returns:
- A request builder to fetch the count of
CnsldtnSegmentTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCnsldtnSegmentTextByKey
@Nonnull public GetByKeyRequestBuilder<CnsldtnSegmentText> getCnsldtnSegmentTextByKey(String language, String segment) Deprecated.Description copied from interface:ConsolidationSegmentServiceFetch a singleCnsldtnSegmentTextentity using key fields.- Specified by:
getCnsldtnSegmentTextByKeyin interfaceConsolidationSegmentService- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
segment- SegmentConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
CnsldtnSegmentTextentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateCnsldtnSegmentText
@Nonnull public UpdateRequestBuilder<CnsldtnSegmentText> updateCnsldtnSegmentText(@Nonnull CnsldtnSegmentText cnsldtnSegmentText) Deprecated.Description copied from interface:ConsolidationSegmentServiceUpdate an existingCnsldtnSegmentTextentity and save it to the S/4HANA system.- Specified by:
updateCnsldtnSegmentTextin interfaceConsolidationSegmentService- Parameters:
cnsldtnSegmentText-CnsldtnSegmentTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
CnsldtnSegmentTextentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteCnsldtnSegmentText
@Nonnull public DeleteRequestBuilder<CnsldtnSegmentText> deleteCnsldtnSegmentText(@Nonnull CnsldtnSegmentText cnsldtnSegmentText) Deprecated.Description copied from interface:ConsolidationSegmentServiceDeletes an existingCnsldtnSegmentTextentity in the S/4HANA system.- Specified by:
deleteCnsldtnSegmentTextin interfaceConsolidationSegmentService- Parameters:
cnsldtnSegmentText-CnsldtnSegmentTextentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
CnsldtnSegmentTextentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-