Class DefaultServiceCancellationReasonService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultServiceCancellationReasonService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ServiceCancellationReasonService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultServiceCancellationReasonService")
@Deprecated
public class DefaultServiceCancellationReasonService
extends Object
implements ServiceWithNavigableEntities, ServiceCancellationReasonService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This API enables you to retrieve the customizing entries for service cancellation reason like C001, C002, and so on and also provides its corresponding language text..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | SERVICECANCELLATIONREASON_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Service - Master Data Integration(SAP_COM_0764) |
| Scope Items: | Service Order Management and Monitoring(3D2) |
| Authentication Methods: | x509 |
| Service Group Name: | API_SRVCCANCELLATIONREASON |
| Business Object: | Service Order |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ServiceCancellationReasonService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingServiceCancellationReasonService.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 theServiceCancellationReasonentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSrvcCancellationReasonTextentity collection matching the filter and search expressions.Deprecated.Fetch multipleServiceCancellationReasonentities.Deprecated.Fetch multipleSrvcCancellationReasonTextentities.getServiceCancellationReasonByKey(String serviceContrCancellationReason) Deprecated.Fetch a singleServiceCancellationReasonentity using key fields.getServiceCancellationReasonTextByKey(String serviceContrCancellationReason, String language) Deprecated.Fetch a singleSrvcCancellationReasonTextentity using key fields.Deprecated.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
-
DefaultServiceCancellationReasonService
public DefaultServiceCancellationReasonService()Deprecated.Creates a service usingServiceCancellationReasonService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultServiceCancellationReasonService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ServiceCancellationReasonServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceServiceCancellationReasonService- 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:ServiceCancellationReasonServiceCreates a batch request builder object.- Specified by:
batchin interfaceServiceCancellationReasonService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllServiceCancellationReason
Deprecated.Description copied from interface:ServiceCancellationReasonServiceFetch multipleServiceCancellationReasonentities.- Specified by:
getAllServiceCancellationReasonin interfaceServiceCancellationReasonService- Returns:
- A request builder to fetch multiple
ServiceCancellationReasonentities. 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.
-
countServiceCancellationReason
Deprecated.Description copied from interface:ServiceCancellationReasonServiceFetch the number of entries from theServiceCancellationReasonentity collection matching the filter and search expressions.- Specified by:
countServiceCancellationReasonin interfaceServiceCancellationReasonService- Returns:
- A request builder to fetch the count of
ServiceCancellationReasonentities. 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.
-
getServiceCancellationReasonByKey
@Nonnull public GetByKeyRequestBuilder<ServiceCancellationReason> getServiceCancellationReasonByKey(String serviceContrCancellationReason) Deprecated.Description copied from interface:ServiceCancellationReasonServiceFetch a singleServiceCancellationReasonentity using key fields.- Specified by:
getServiceCancellationReasonByKeyin interfaceServiceCancellationReasonService- Parameters:
serviceContrCancellationReason- CRM Service : Reason for CancellationConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
ServiceCancellationReasonentity 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.
-
getAllServiceCancellationReasonText
@Nonnull public GetAllRequestBuilder<SrvcCancellationReasonText> getAllServiceCancellationReasonText()Deprecated.Description copied from interface:ServiceCancellationReasonServiceFetch multipleSrvcCancellationReasonTextentities.- Specified by:
getAllServiceCancellationReasonTextin interfaceServiceCancellationReasonService- Returns:
- A request builder to fetch multiple
SrvcCancellationReasonTextentities. 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.
-
countServiceCancellationReasonText
@Nonnull public CountRequestBuilder<SrvcCancellationReasonText> countServiceCancellationReasonText()Deprecated.Description copied from interface:ServiceCancellationReasonServiceFetch the number of entries from theSrvcCancellationReasonTextentity collection matching the filter and search expressions.- Specified by:
countServiceCancellationReasonTextin interfaceServiceCancellationReasonService- Returns:
- A request builder to fetch the count of
SrvcCancellationReasonTextentities. 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.
-
getServiceCancellationReasonTextByKey
@Nonnull public GetByKeyRequestBuilder<SrvcCancellationReasonText> getServiceCancellationReasonTextByKey(String serviceContrCancellationReason, String language) Deprecated.Description copied from interface:ServiceCancellationReasonServiceFetch a singleSrvcCancellationReasonTextentity using key fields.- Specified by:
getServiceCancellationReasonTextByKeyin interfaceServiceCancellationReasonService- Parameters:
serviceContrCancellationReason- CRM Service : Reason for CancellationConstraints: Not nullable, Maximum length: 4
language- Language Key of DescriptionConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
SrvcCancellationReasonTextentity 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-