Class DefaultServiceContractTemplateService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ServiceContractTemplateService
You can read the details of service contract templates. The service contains entities of service contract template header, item, item object list, and item product list. In each API call, you can use the operation to retrieve service contract templates. You can use the provided filters to retrieve specific service contract templates or retrieve all existing data..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_SRVCCONTRTEMPLATE_0001 |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Service Contract Template Integration(SAP_COM_0788) |
| Scope Items: | Service Contract Management(3MO) |
| Authentication Methods: | x509 |
| Service Group Name: | API_SRVCCONTRACTTEMPLATE |
| Business Object: | Service Contract Template |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ServiceContractTemplateService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingServiceContractTemplateService.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 theServiceContractTemplateentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theServiceContractTemplateItementity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSrvcContrTmplItemLongTextentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theServiceContractItemProductListentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theServiceContractItemObjectListentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theSrvcContrTmplLongTextentity collection matching the filter and search expressions.Deprecated.Fetch multipleServiceContractTemplateentities.Deprecated.Fetch multipleServiceContractTemplateItementities.Deprecated.Fetch multipleSrvcContrTmplItemLongTextentities.Deprecated.Fetch multipleServiceContractItemProductListentities.Deprecated.Fetch multipleServiceContractItemObjectListentities.Deprecated.Fetch multipleSrvcContrTmplLongTextentities.getServiceContractTemplateByKey(String serviceContractTemplate) Deprecated.Fetch a singleServiceContractTemplateentity using key fields.getServiceContractTemplateItemByKey(String serviceContractTemplate, String serviceContractTemplateItem) Deprecated.Fetch a singleServiceContractTemplateItementity using key fields.Deprecated.getSrvcContrTmplItemLongTextByKey(String serviceContractTemplate, String serviceContractTemplateItem, String textObjectType, String language, String srvcDocLogTextIdentifier) Deprecated.Fetch a singleSrvcContrTmplItemLongTextentity using key fields.getSrvcContrTmplItemProductByKey(String serviceContractTemplate, String serviceContractTemplateItem, String serviceProductListItem) Deprecated.Fetch a singleServiceContractItemProductListentity using key fields.getSrvcContrTmplItmRefObjectByKey(String serviceContractTemplate, String serviceContractTemplateItem, String serviceRefObjectSequenceNumber) Deprecated.Fetch a singleServiceContractItemObjectListentity using key fields.getSrvcContrTmplLongTextByKey(String serviceContractTemplate, String textObjectType, String language, String srvcDocLogTextIdentifier) Deprecated.Fetch a singleSrvcContrTmplLongTextentity using key fields.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
-
DefaultServiceContractTemplateService
public DefaultServiceContractTemplateService()Deprecated.Creates a service usingServiceContractTemplateService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ServiceContractTemplateServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceServiceContractTemplateService- 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:ServiceContractTemplateServiceCreates a batch request builder object.- Specified by:
batchin interfaceServiceContractTemplateService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllServiceContractTemplate
Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch multipleServiceContractTemplateentities.- Specified by:
getAllServiceContractTemplatein interfaceServiceContractTemplateService- Returns:
- A request builder to fetch multiple
ServiceContractTemplateentities. 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.
-
countServiceContractTemplate
Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch the number of entries from theServiceContractTemplateentity collection matching the filter and search expressions.- Specified by:
countServiceContractTemplatein interfaceServiceContractTemplateService- Returns:
- A request builder to fetch the count of
ServiceContractTemplateentities. 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.
-
getServiceContractTemplateByKey
@Nonnull public GetByKeyRequestBuilder<ServiceContractTemplate> getServiceContractTemplateByKey(String serviceContractTemplate) Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch a singleServiceContractTemplateentity using key fields.- Specified by:
getServiceContractTemplateByKeyin interfaceServiceContractTemplateService- Parameters:
serviceContractTemplate- Transaction IDConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
ServiceContractTemplateentity 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.
-
getAllServiceContractTemplateItem
@Nonnull public GetAllRequestBuilder<ServiceContractTemplateItem> getAllServiceContractTemplateItem()Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch multipleServiceContractTemplateItementities.- Specified by:
getAllServiceContractTemplateItemin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch multiple
ServiceContractTemplateItementities. 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.
-
countServiceContractTemplateItem
Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch the number of entries from theServiceContractTemplateItementity collection matching the filter and search expressions.- Specified by:
countServiceContractTemplateItemin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch the count of
ServiceContractTemplateItementities. 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.
-
getServiceContractTemplateItemByKey
@Nonnull public GetByKeyRequestBuilder<ServiceContractTemplateItem> getServiceContractTemplateItemByKey(String serviceContractTemplate, String serviceContractTemplateItem) Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch a singleServiceContractTemplateItementity using key fields.- Specified by:
getServiceContractTemplateItemByKeyin interfaceServiceContractTemplateService- Parameters:
serviceContractTemplate- Transaction IDConstraints: Not nullable, Maximum length: 10
serviceContractTemplateItem- Shortened Item Number in DocumentConstraints: Not nullable, Maximum length: 6
- Returns:
- A request builder to fetch a single
ServiceContractTemplateItementity 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.
-
getAllSrvcContrTmplItemLongText
Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch multipleSrvcContrTmplItemLongTextentities.- Specified by:
getAllSrvcContrTmplItemLongTextin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch multiple
SrvcContrTmplItemLongTextentities. 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.
-
countSrvcContrTmplItemLongText
Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch the number of entries from theSrvcContrTmplItemLongTextentity collection matching the filter and search expressions.- Specified by:
countSrvcContrTmplItemLongTextin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch the count of
SrvcContrTmplItemLongTextentities. 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.
-
getSrvcContrTmplItemLongTextByKey
@Nonnull public GetByKeyRequestBuilder<SrvcContrTmplItemLongText> getSrvcContrTmplItemLongTextByKey(String serviceContractTemplate, String serviceContractTemplateItem, String textObjectType, String language, String srvcDocLogTextIdentifier) Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch a singleSrvcContrTmplItemLongTextentity using key fields.- Specified by:
getSrvcContrTmplItemLongTextByKeyin interfaceServiceContractTemplateService- Parameters:
serviceContractTemplate- Transaction IDConstraints: Not nullable, Maximum length: 10
serviceContractTemplateItem- Shortened Item Number in DocumentConstraints: Not nullable, Maximum length: 6
textObjectType- Text IDConstraints: Not nullable, Maximum length: 4
language- Language KeyConstraints: Not nullable, Maximum length: 2
srvcDocLogTextIdentifier- Identifier (truncated timestamp) of a log textConstraints: Not nullable, Maximum length: 17
- Returns:
- A request builder to fetch a single
SrvcContrTmplItemLongTextentity 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.
-
getAllSrvcContrTmplItemProduct
@Nonnull public GetAllRequestBuilder<ServiceContractItemProductList> getAllSrvcContrTmplItemProduct()Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch multipleServiceContractItemProductListentities.- Specified by:
getAllSrvcContrTmplItemProductin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch multiple
ServiceContractItemProductListentities. 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.
-
countSrvcContrTmplItemProduct
Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch the number of entries from theServiceContractItemProductListentity collection matching the filter and search expressions.- Specified by:
countSrvcContrTmplItemProductin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch the count of
ServiceContractItemProductListentities. 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.
-
getSrvcContrTmplItemProductByKey
@Nonnull public GetByKeyRequestBuilder<ServiceContractItemProductList> getSrvcContrTmplItemProductByKey(String serviceContractTemplate, String serviceContractTemplateItem, String serviceProductListItem) Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch a singleServiceContractItemProductListentity using key fields.- Specified by:
getSrvcContrTmplItemProductByKeyin interfaceServiceContractTemplateService- Parameters:
serviceContractTemplate- Transaction IDConstraints: Not nullable, Maximum length: 10
serviceContractTemplateItem- Shortened Item Number in DocumentConstraints: Not nullable, Maximum length: 6
serviceProductListItem- Counter for CRMS4D_ORDPRP_I product listConstraints: Not nullable, Maximum length: 6
- Returns:
- A request builder to fetch a single
ServiceContractItemProductListentity 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.
-
getAllSrvcContrTmplItmRefObject
@Nonnull public GetAllRequestBuilder<ServiceContractItemObjectList> getAllSrvcContrTmplItmRefObject()Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch multipleServiceContractItemObjectListentities.- Specified by:
getAllSrvcContrTmplItmRefObjectin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch multiple
ServiceContractItemObjectListentities. 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.
-
countSrvcContrTmplItmRefObject
Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch the number of entries from theServiceContractItemObjectListentity collection matching the filter and search expressions.- Specified by:
countSrvcContrTmplItmRefObjectin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch the count of
ServiceContractItemObjectListentities. 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.
-
getSrvcContrTmplItmRefObjectByKey
@Nonnull public GetByKeyRequestBuilder<ServiceContractItemObjectList> getSrvcContrTmplItmRefObjectByKey(String serviceContractTemplate, String serviceContractTemplateItem, String serviceRefObjectSequenceNumber) Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch a singleServiceContractItemObjectListentity using key fields.- Specified by:
getSrvcContrTmplItmRefObjectByKeyin interfaceServiceContractTemplateService- Parameters:
serviceContractTemplate- Transaction IDConstraints: Not nullable, Maximum length: 10
serviceContractTemplateItem- Shortened Item Number in DocumentConstraints: Not nullable, Maximum length: 6
serviceRefObjectSequenceNumber- Reference Object CounterConstraints: Not nullable, Maximum length: 8
- Returns:
- A request builder to fetch a single
ServiceContractItemObjectListentity 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.
-
getAllSrvcContrTmplLongText
Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch multipleSrvcContrTmplLongTextentities.- Specified by:
getAllSrvcContrTmplLongTextin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch multiple
SrvcContrTmplLongTextentities. 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.
-
countSrvcContrTmplLongText
Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch the number of entries from theSrvcContrTmplLongTextentity collection matching the filter and search expressions.- Specified by:
countSrvcContrTmplLongTextin interfaceServiceContractTemplateService- Returns:
- A request builder to fetch the count of
SrvcContrTmplLongTextentities. 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.
-
getSrvcContrTmplLongTextByKey
@Nonnull public GetByKeyRequestBuilder<SrvcContrTmplLongText> getSrvcContrTmplLongTextByKey(String serviceContractTemplate, String textObjectType, String language, String srvcDocLogTextIdentifier) Deprecated.Description copied from interface:ServiceContractTemplateServiceFetch a singleSrvcContrTmplLongTextentity using key fields.- Specified by:
getSrvcContrTmplLongTextByKeyin interfaceServiceContractTemplateService- Parameters:
serviceContractTemplate- Transaction IDConstraints: Not nullable, Maximum length: 10
textObjectType- Text IDConstraints: Not nullable, Maximum length: 4
language- Language KeyConstraints: Not nullable, Maximum length: 2
srvcDocLogTextIdentifier- Identifier (truncated timestamp) of a log textConstraints: Not nullable, Maximum length: 17
- Returns:
- A request builder to fetch a single
SrvcContrTmplLongTextentity 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
-