Class ReleaseVersionBOMFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionReleaseVersionBOMFluentHelper(String servicePath, UUID billOfMaterialHeaderUUID, String stlnr, String stlty, String stlal, String bomVersn, String versnst, Boolean versnlastind) Creates a fluent helper object that will execute the ReleaseVersionBOM OData function import with the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.protected Class<BillOfMaterial>protected Stringprotected com.google.gson.JsonElementrefineJsonResponse(com.google.gson.JsonElement jsonElement) Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
ReleaseVersionBOMFluentHelper
public ReleaseVersionBOMFluentHelper(@Nonnull String servicePath, @Nonnull UUID billOfMaterialHeaderUUID, @Nullable String stlnr, @Nullable String stlty, @Nullable String stlal, @Nullable String bomVersn, @Nullable String versnst, @Nullable Boolean versnlastind) Creates a fluent helper object that will execute the ReleaseVersionBOM OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
stlnr- Bill of MaterialConstraints: Nullable, Maximum length: 8
Original parameter name from the Odata EDM: Stlnr
billOfMaterialHeaderUUID- ID hdr chge statusConstraints: none
Original parameter name from the Odata EDM: BillOfMaterialHeaderUUID
servicePath- Service path to be used to call the functions against.versnlastind- Latest Rel VersionConstraints: Nullable
Original parameter name from the Odata EDM: Versnlastind
stlty- BOM categoryConstraints: Nullable, Maximum length: 1
Original parameter name from the Odata EDM: Stlty
versnst- BOM Version StatusConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: Versnst
stlal- Alternative BOMConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: Stlal
bomVersn- BOM VersionConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: BomVersn
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<ReleaseVersionBOMFluentHelper,BillOfMaterial, BillOfMaterial>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<ReleaseVersionBOMFluentHelper,BillOfMaterial, BillOfMaterial>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<ReleaseVersionBOMFluentHelper,BillOfMaterial, BillOfMaterial>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<ReleaseVersionBOMFluentHelper,BillOfMaterial, BillOfMaterial>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<ReleaseVersionBOMFluentHelper,BillOfMaterial, BillOfMaterial>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<ReleaseVersionBOMFluentHelper,BillOfMaterial, BillOfMaterial>
-