public class CallActionFluentHelper extends FluentHelperFunction<CallActionFluentHelper,Et_ActionResult,Et_ActionResult>
Constructor and Description |
---|
CallActionFluentHelper(String servicePath,
Short year,
Short period,
String actionName,
String wBSElementExternalID)
Creates a fluent helper object that will execute the CallAction OData function import with the provided
parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
Et_ActionResult |
execute(HttpDestinationProperties destination)
Deprecated.
Use the improved method
executeRequest(HttpDestinationProperties) instead. |
protected Class<Et_ActionResult> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement) |
executeMultiple, executeRequest, executeSingle, getJsonResponseObjectName, toRequest
and, cachingMetadata, getHeaders, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, onRequestAndImplicitRequests, onRequestOnly, withHeader, withHeaders, withoutCachingMetadata, withQueryParameter
public CallActionFluentHelper(@Nonnull String servicePath, @Nonnull Short year, @Nonnull Short period, @Nonnull String actionName, @Nonnull String wBSElementExternalID)
execute
method on the fluent helper object.period
- Signed INT2 / int16
Constraints: none
Original parameter name from the Odata EDM: Period
year
- Signed INT2 / int16
Constraints: none
Original parameter name from the Odata EDM: Year
wBSElementExternalID
- Constraints: Not nullable, Maximum length: 24
Original parameter name from the Odata EDM: WBSElementExternalID
servicePath
- Service path to be used to call the functions against.actionName
- Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: ActionName
@Nonnull protected Class<Et_ActionResult> getEntityClass()
getEntityClass
in class FluentHelperBasic<CallActionFluentHelper,Et_ActionResult,Et_ActionResult>
@Nonnull protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<CallActionFluentHelper,Et_ActionResult,Et_ActionResult>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
refineJsonResponse
in class FluentHelperFunction<CallActionFluentHelper,Et_ActionResult,Et_ActionResult>
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<CallActionFluentHelper,Et_ActionResult,Et_ActionResult>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<CallActionFluentHelper,Et_ActionResult,Et_ActionResult>
@Deprecated @Nullable public Et_ActionResult execute(@Nonnull HttpDestinationProperties destination) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
executeRequest(HttpDestinationProperties)
instead.execute
in class FluentHelperBasic<CallActionFluentHelper,Et_ActionResult,Et_ActionResult>
com.sap.cloud.sdk.odatav2.connectivity.ODataException
Copyright © 2021 SAP SE. All rights reserved.