Class GetMaintBOMItemsFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionGetMaintBOMItemsFluentHelper(String servicePath, String technicalObject, String billOfMaterialVariantUsage, String plant, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion) Creates a fluent helper object that will execute the GetMaintBOMItems 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<D_MaintBOMGetMaintBOMItemsR>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
-
GetMaintBOMItemsFluentHelper
public GetMaintBOMItemsFluentHelper(@Nonnull String servicePath, @Nonnull String technicalObject, @Nonnull String billOfMaterialVariantUsage, @Nonnull String plant, @Nonnull String billOfMaterialCategory, @Nonnull String billOfMaterialVariant, @Nonnull String billOfMaterialVersion) Creates a fluent helper object that will execute the GetMaintBOMItems OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
billOfMaterialCategory- BOM categoryConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialCategory
servicePath- Service path to be used to call the functions against.plant- PlantConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
billOfMaterialVersion- BOM VersionConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: BillOfMaterialVersion
technicalObject- Technical ObjectConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: TechnicalObject
billOfMaterialVariant- Alternative BOMConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: BillOfMaterialVariant
billOfMaterialVariantUsage- BOM UsageConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: BillOfMaterialVariantUsage
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<GetMaintBOMItemsFluentHelper,D_MaintBOMGetMaintBOMItemsR, List<D_MaintBOMGetMaintBOMItemsR>>
-
getFunctionName
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<GetMaintBOMItemsFluentHelper,D_MaintBOMGetMaintBOMItemsR, List<D_MaintBOMGetMaintBOMItemsR>>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<GetMaintBOMItemsFluentHelper,D_MaintBOMGetMaintBOMItemsR, List<D_MaintBOMGetMaintBOMItemsR>>
-
executeRequest
@Nonnull public List<D_MaintBOMGetMaintBOMItemsR> executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<GetMaintBOMItemsFluentHelper,D_MaintBOMGetMaintBOMItemsR, List<D_MaintBOMGetMaintBOMItemsR>>
-