Class GetAllOriginalsFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionGetAllOriginalsFluentHelper(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.GetAllOriginalsFluentHelper(String servicePath, String linkedSAPObjectKey, String businessObjectTypeName, String semanticObject, String sAPObjectType, String sAPObjectNodeType) Creates a fluent helper object that will execute the GetAllOriginals 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<AttachmentContent>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
-
GetAllOriginalsFluentHelper
public GetAllOriginalsFluentHelper(@Nonnull String servicePath, @Nonnull String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nullable String semanticObject) Creates a fluent helper object that will execute the GetAllOriginals OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
servicePath- Service path to be used to call the functions against.linkedSAPObjectKey- LinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: LinkedSAPObjectKey
businessObjectTypeName- BusinessObjectTypeNameConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: BusinessObjectTypeName
semanticObject- SemanticObjectConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
-
GetAllOriginalsFluentHelper
public GetAllOriginalsFluentHelper(@Nonnull String servicePath, @Nonnull String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nullable String semanticObject, @Nullable String sAPObjectType, @Nullable String sAPObjectNodeType) Creates a fluent helper object that will execute the GetAllOriginals OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
servicePath- Service path to be used to call the functions against.linkedSAPObjectKey- LinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: LinkedSAPObjectKey
businessObjectTypeName- BusinessObjectTypeNameConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: BusinessObjectTypeName
semanticObject- SemanticObjectConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
sAPObjectType- SAPObjectTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectType
sAPObjectNodeType- SAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectNodeType
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<GetAllOriginalsFluentHelper,AttachmentContent, List<AttachmentContent>>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<GetAllOriginalsFluentHelper,AttachmentContent, List<AttachmentContent>>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<GetAllOriginalsFluentHelper,AttachmentContent, List<AttachmentContent>>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<GetAllOriginalsFluentHelper,AttachmentContent, List<AttachmentContent>>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<GetAllOriginalsFluentHelper,AttachmentContent, List<AttachmentContent>>
-
executeRequest
@Nonnull public List<AttachmentContent> executeRequest(@Nonnull HttpDestinationProperties destination) Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<GetAllOriginalsFluentHelper,AttachmentContent, List<AttachmentContent>>
-