public class GetGdsMvtProposalFluentHelper extends FluentHelperFunction<GetGdsMvtProposalFluentHelper,AProdnordconfmatldocitem,List<AProdnordconfmatldocitem>>
Constructor and Description |
---|
GetGdsMvtProposalFluentHelper(String servicePath,
String confirmationGroup,
String orderID,
String orderOperation,
String sequence,
String orderSuboperation,
String orderConfirmationRecordType,
String confirmationUnit,
String confirmationUnitISOCode,
BigDecimal confirmationYieldQuantity,
BigDecimal confirmationScrapQuantity,
BigDecimal confirmationReworkQuantity,
Boolean quantityIsToBeProposed,
Boolean activityIsToBeProposed,
Boolean dateAndTimeIsToBeProposed,
Boolean personnelIsToBeProposed)
Creates a fluent helper object that will execute the GetGdsMvtProposal OData function import with the
provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri)
Creates a request for this function based on the given
URI . |
List<AProdnordconfmatldocitem> |
execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
executeRequest(HttpDestinationProperties) instead. |
protected Class<AProdnordconfmatldocitem> |
getEntityClass()
Returns a class object of the type this fluent helper works with.
|
protected String |
getFunctionName()
The exact name of the function to be called on the OData Endpoint.
|
protected Map<String,Object> |
getParameters()
Getter for the map of parameters to be used in the function call.
|
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement)
Transform the JSON element from the response to extract a result entity.
|
executeMultiple, executeRequest, executeSingle, getJsonResponseObjectName, toRequest
and, cachingMetadata, getHeaders, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, onRequestAndImplicitRequests, onRequestOnly, withHeader, withHeaders, withoutCachingMetadata, withQueryParameter
public GetGdsMvtProposalFluentHelper(@Nonnull String servicePath, String confirmationGroup, String orderID, String orderOperation, String sequence, String orderSuboperation, String orderConfirmationRecordType, String confirmationUnit, String confirmationUnitISOCode, BigDecimal confirmationYieldQuantity, BigDecimal confirmationScrapQuantity, BigDecimal confirmationReworkQuantity, Boolean quantityIsToBeProposed, Boolean activityIsToBeProposed, Boolean dateAndTimeIsToBeProposed, Boolean personnelIsToBeProposed)
execute
method on the fluent helper object.dateAndTimeIsToBeProposed
- Propose Dates
Constraints: Nullable
Original parameter name from the Odata EDM: DateAndTimeIsToBeProposed
orderID
- Manufacturing Order
Constraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: OrderID
confirmationUnitISOCode
- ISO code
Constraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: ConfirmationUnitISOCode
confirmationGroup
- Confirmation Group
Constraints: Nullable, Maximum length: 10
Original parameter name from the Odata EDM: ConfirmationGroup
confirmationYieldQuantity
- Yield Quantity
Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ConfirmationYieldQuantity
quantityIsToBeProposed
- Propose Quantities
Constraints: Nullable
Original parameter name from the Odata EDM: QuantityIsToBeProposed
sequence
- Sequence
Constraints: Nullable, Maximum length: 6
Original parameter name from the Odata EDM: Sequence
orderConfirmationRecordType
- Record Type
Constraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: OrderConfirmationRecordType
confirmationUnit
- Display Unit/Measure
Constraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: ConfirmationUnit
orderSuboperation
- Suboperation
Constraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OrderSuboperation
personnelIsToBeProposed
- Propose Personnel
Constraints: Nullable
Original parameter name from the Odata EDM: PersonnelIsToBeProposed
confirmationReworkQuantity
- Rework Quantity
Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ConfirmationReworkQuantity
activityIsToBeProposed
- Propose Activities
Constraints: Nullable
Original parameter name from the Odata EDM: ActivityIsToBeProposed
servicePath
- Service path to be used to call the functions against.orderOperation
- Operation
Constraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OrderOperation
confirmationScrapQuantity
- Scrap Quantity
Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ConfirmationScrapQuantity
@Nonnull protected Class<AProdnordconfmatldocitem> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<GetGdsMvtProposalFluentHelper,AProdnordconfmatldocitem,List<AProdnordconfmatldocitem>>
@Nonnull protected String getFunctionName()
FluentHelperFunction
getFunctionName
in class FluentHelperFunction<GetGdsMvtProposalFluentHelper,AProdnordconfmatldocitem,List<AProdnordconfmatldocitem>>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
FluentHelperFunction
refineJsonResponse
in class FluentHelperFunction<GetGdsMvtProposalFluentHelper,AProdnordconfmatldocitem,List<AProdnordconfmatldocitem>>
jsonElement
- The optional response JSON element@Nonnull protected Map<String,Object> getParameters()
FluentHelperFunction
The map maps the ODataName of a parameter to the corresponding value.
getParameters
in class FluentHelperFunction<GetGdsMvtProposalFluentHelper,AProdnordconfmatldocitem,List<AProdnordconfmatldocitem>>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
FluentHelperFunction
URI
.
Examples for such requests are HttpGet
and HttpPost
.
createRequest
in class FluentHelperFunction<GetGdsMvtProposalFluentHelper,AProdnordconfmatldocitem,List<AProdnordconfmatldocitem>>
uri
- The URI
the request should target.@Deprecated @Nonnull public List<AProdnordconfmatldocitem> execute(@Nonnull HttpDestinationProperties destination) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
executeRequest(HttpDestinationProperties)
instead.execute
in class FluentHelperBasic<GetGdsMvtProposalFluentHelper,AProdnordconfmatldocitem,List<AProdnordconfmatldocitem>>
destination
- The destination to use for the request.com.sap.cloud.sdk.odatav2.connectivity.ODataException
- The exception occurred during request executionCopyright © 2021 SAP SE. All rights reserved.