Class BOMComparisonFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionBOMComparisonFluentHelper(String servicePath, LocalDateTime bOMValidityDateSecondary, String bOMVersionSecondary, String bOMVariantSecondary, String bOMVariantUsageSecondary, String plantSecondary, String materialSecondary, String changeNumberPrimary, LocalDateTime bOMValidityDatePrimary, String bOMVersionPrimary, String bOMVariantPrimary, String bOMVariantUsagePrimary, String plantPrimary, String materialPrimary, Boolean isBOMItemNumber, Boolean isBOMItemDescription, Boolean isBOMItemCategory, String changeNumberSecondary, Boolean isBOMItemQuantity) Creates a fluent helper object that will execute the BOMComparison 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<ComparisonResult>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
-
BOMComparisonFluentHelper
public BOMComparisonFluentHelper(@Nonnull String servicePath, @Nonnull LocalDateTime bOMValidityDateSecondary, @Nonnull String bOMVersionSecondary, @Nonnull String bOMVariantSecondary, @Nonnull String bOMVariantUsageSecondary, @Nonnull String plantSecondary, @Nonnull String materialSecondary, @Nonnull String changeNumberPrimary, @Nonnull LocalDateTime bOMValidityDatePrimary, @Nonnull String bOMVersionPrimary, @Nonnull String bOMVariantPrimary, @Nonnull String bOMVariantUsagePrimary, @Nonnull String plantPrimary, @Nonnull String materialPrimary, @Nonnull Boolean isBOMItemNumber, @Nonnull Boolean isBOMItemDescription, @Nonnull Boolean isBOMItemCategory, @Nonnull String changeNumberSecondary, @Nonnull Boolean isBOMItemQuantity) Creates a fluent helper object that will execute the BOMComparison OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
isBOMItemNumber- IndicatorConstraints: none
Original parameter name from the Odata EDM: IsBOMItemNumber
bOMVariantSecondary- Constraints: noneOriginal parameter name from the Odata EDM: BOMVariantSecondary
isBOMItemDescription- IndicatorConstraints: none
Original parameter name from the Odata EDM: IsBOMItemDescription
changeNumberPrimary- Constraints: noneOriginal parameter name from the Odata EDM: ChangeNumberPrimary
isBOMItemCategory- IndicatorConstraints: none
Original parameter name from the Odata EDM: IsBOMItemCategory
plantSecondary- Constraints: noneOriginal parameter name from the Odata EDM: PlantSecondary
changeNumberSecondary- Constraints: noneOriginal parameter name from the Odata EDM: ChangeNumberSecondary
bOMVersionSecondary- Constraints: noneOriginal parameter name from the Odata EDM: BOMVersionSecondary
bOMVariantPrimary- Constraints: noneOriginal parameter name from the Odata EDM: BOMVariantPrimary
isBOMItemQuantity- IndicatorConstraints: none
Original parameter name from the Odata EDM: IsBOMItemQuantity
servicePath- Service path to be used to call the functions against.materialSecondary- Constraints: noneOriginal parameter name from the Odata EDM: MaterialSecondary
bOMVariantUsagePrimary- Constraints: noneOriginal parameter name from the Odata EDM: BOMVariantUsagePrimary
plantPrimary- Constraints: noneOriginal parameter name from the Odata EDM: PlantPrimary
bOMValidityDatePrimary- Time StampConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDatePrimary
bOMVariantUsageSecondary- Constraints: noneOriginal parameter name from the Odata EDM: BOMVariantUsageSecondary
bOMValidityDateSecondary- Time StampConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BOMValidityDateSecondary
bOMVersionPrimary- Constraints: noneOriginal parameter name from the Odata EDM: BOMVersionPrimary
materialPrimary- Constraints: noneOriginal parameter name from the Odata EDM: MaterialPrimary
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<BOMComparisonFluentHelper,ComparisonResult, List<ComparisonResult>>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<BOMComparisonFluentHelper,ComparisonResult, List<ComparisonResult>>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<BOMComparisonFluentHelper,ComparisonResult, List<ComparisonResult>>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<BOMComparisonFluentHelper,ComparisonResult, List<ComparisonResult>>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<BOMComparisonFluentHelper,ComparisonResult, List<ComparisonResult>>
-
executeRequest
@Nonnull public List<ComparisonResult> executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<BOMComparisonFluentHelper,ComparisonResult, List<ComparisonResult>>
-