Class CompanyCodeByKeyFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,EntityT,EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperByKey<CompanyCodeByKeyFluentHelper,CompanyCode,CompanyCodeSelectable>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.companycode.CompanyCodeByKeyFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class CompanyCodeByKeyFluentHelper
extends FluentHelperByKey<CompanyCodeByKeyFluentHelper,CompanyCode,CompanyCodeSelectable>
Fluent helper to fetch a single
CompanyCode entity using key fields. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself.-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionCompanyCodeByKeyFluentHelper(String servicePath, String entityCollection, String companyCode) Creates a fluent helper object that will fetch a singleCompanyCodeentity with the provided key field values. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperByKey
executeRequest, select, toRequest, withCsrfToken, withQueryParameterMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getCsrfTokenRetriever, getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders
-
Constructor Details
-
CompanyCodeByKeyFluentHelper
public CompanyCodeByKeyFluentHelper(@Nonnull String servicePath, @Nonnull String entityCollection, String companyCode) Creates a fluent helper object that will fetch a singleCompanyCodeentity with the provided key field values. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
entityCollection- Entity Collection to be used to fetch a singleCompanyCodeservicePath- Service path to be used to fetch a singleCompanyCode
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<CompanyCodeByKeyFluentHelper,CompanyCode, CompanyCode>
-
getKey
- Specified by:
getKeyin classFluentHelperByKey<CompanyCodeByKeyFluentHelper,CompanyCode, CompanyCodeSelectable>
-