public class CancelItemFluentHelper extends FluentHelperFunction<CancelItemFluentHelper,MaterialDocumentItem,MaterialDocumentItem>
Constructor and Description |
---|
CancelItemFluentHelper(String materialDocumentYear,
String materialDocument,
String materialDocumentItem,
LocalDateTime postingDate)
Creates a fluent helper object that will execute the CancelItem OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
MaterialDocumentItem |
execute(ErpConfigContext configContext)
Executes the underlying query using the stored values, plus any query modifiers that were previously called.
|
protected Class<MaterialDocumentItem> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected String |
getPath() |
executeMultiple, executeSingle
execute, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getThis, getVersionIdentifier, withCustomHttpHeader, withCustomHttpHeaders, withHttpHeader
public CancelItemFluentHelper(String materialDocumentYear, String materialDocument, String materialDocumentItem, LocalDateTime postingDate)
execute
method on the fluent helper object.materialDocument
- Material DocumentConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: MaterialDocument
materialDocumentItem
- Material Doc.ItemConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: MaterialDocumentItem
materialDocumentYear
- Material Doc. YearConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: MaterialDocumentYear
postingDate
- Posting DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
protected Class<MaterialDocumentItem> getEntityClass()
getEntityClass
in class FluentHelperBasic<CancelItemFluentHelper,MaterialDocumentItem,MaterialDocumentItem>
protected String getPath()
getPath
in class FluentHelperFunction<CancelItemFluentHelper,MaterialDocumentItem,MaterialDocumentItem>
protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<CancelItemFluentHelper,MaterialDocumentItem,MaterialDocumentItem>
protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<CancelItemFluentHelper,MaterialDocumentItem,MaterialDocumentItem>
protected org.apache.http.client.methods.HttpUriRequest createRequest(URI uri)
createRequest
in class FluentHelperFunction<CancelItemFluentHelper,MaterialDocumentItem,MaterialDocumentItem>
public MaterialDocumentItem execute(ErpConfigContext configContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<CancelItemFluentHelper,MaterialDocumentItem,MaterialDocumentItem>
configContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
ErpConfigContext.ErpConfigContext()
Copyright © 2018 SAP SE. All rights reserved.