public class GetAllOriginalsFluentHelper extends FluentHelperFunction<GetAllOriginalsFluentHelper,AttachmentContent,List<AttachmentContent>>
Constructor and Description |
---|
GetAllOriginalsFluentHelper(String servicePath,
String linkedSAPObjectKey,
String businessObjectTypeName,
String semanticObject)
Creates a fluent helper object that will execute the GetAllOriginals OData function import with the
provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.client.methods.HttpUriRequest |
createRequest(URI uri) |
List<AttachmentContent> |
execute(HttpDestinationProperties destination) |
protected Class<AttachmentContent> |
getEntityClass() |
protected String |
getFunctionName() |
protected Map<String,Object> |
getParameters() |
protected com.google.gson.JsonElement |
refineJsonResponse(com.google.gson.JsonElement jsonElement) |
executeMultiple, executeSingle, getJsonResponseObjectName
cachingMetadata, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, withHeader, withHeaders, withoutCachingMetadata, withQueryParameter
public GetAllOriginalsFluentHelper(@Nonnull String servicePath, String linkedSAPObjectKey, String businessObjectTypeName, String semanticObject)
execute
method on the fluent helper object.servicePath
- Service path to be used to call the functions against.linkedSAPObjectKey
- LinkedSAPObjectKey
Constraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: LinkedSAPObjectKey
businessObjectTypeName
- BusinessObjectTypeName
Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: BusinessObjectTypeName
semanticObject
- SemanticObject
Constraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
@Nonnull protected Class<AttachmentContent> getEntityClass()
getEntityClass
in class FluentHelperBasic<GetAllOriginalsFluentHelper,AttachmentContent,List<AttachmentContent>>
@Nonnull protected String getFunctionName()
getFunctionName
in class FluentHelperFunction<GetAllOriginalsFluentHelper,AttachmentContent,List<AttachmentContent>>
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement)
refineJsonResponse
in class FluentHelperFunction<GetAllOriginalsFluentHelper,AttachmentContent,List<AttachmentContent>>
@Nonnull protected Map<String,Object> getParameters()
getParameters
in class FluentHelperFunction<GetAllOriginalsFluentHelper,AttachmentContent,List<AttachmentContent>>
@Nonnull protected org.apache.http.client.methods.HttpUriRequest createRequest(@Nonnull URI uri)
createRequest
in class FluentHelperFunction<GetAllOriginalsFluentHelper,AttachmentContent,List<AttachmentContent>>
@Nonnull public List<AttachmentContent> execute(@Nonnull HttpDestinationProperties destination) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
execute
in class FluentHelperBasic<GetAllOriginalsFluentHelper,AttachmentContent,List<AttachmentContent>>
com.sap.cloud.sdk.odatav2.connectivity.ODataException
Copyright © 2020 SAP SE. All rights reserved.