public class ServiceContractTextByKeyFluentHelper extends FluentHelperByKey<ServiceContractTextByKeyFluentHelper,ServiceContractText,ServiceContractTextSelectable>
ServiceContractText
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself.Constructor and Description |
---|
ServiceContractTextByKeyFluentHelper(String servicePath,
String serviceContract,
String language,
String longTextID)
Creates a fluent helper object that will fetch a single
ServiceContractText entity with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<ServiceContractText> |
getEntityClass()
Returns a class object of the type this fluent helper works with.
|
protected Map<String,Object> |
getKey()
Getter for a map containing the OData name of key properties, each mapped to the value to search by.
|
execute, getQueryBuilder, select, toQuery, withErrorHandler, withQueryParameter
cachingMetadata, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, withHeader, withHeaders, withoutCachingMetadata
public ServiceContractTextByKeyFluentHelper(@Nonnull String servicePath, String serviceContract, String language, String longTextID)
ServiceContractText
entity with the provided key field values. To perform execution, call the execute
method on the fluent helper object.servicePath
- Service path to be used to fetch a single ServiceContractText
serviceContract
- Number which identifies the transaction document. It is unique for the respective business transaction
category.
Constraints: Not nullable, Maximum length: 10
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
longTextID
- The text ID defines the various types of texts related to a text object. For example, the object
"TEXT" (standard texts) can have the following text IDs:
Constraints: Not nullable, Maximum length: 4
@Nonnull protected Class<ServiceContractText> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<ServiceContractTextByKeyFluentHelper,ServiceContractText,ServiceContractText>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<ServiceContractTextByKeyFluentHelper,ServiceContractText,ServiceContractTextSelectable>
Copyright © 2020 SAP SE. All rights reserved.