Class AssignDocumentToBusinessObjectFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionAssignDocumentToBusinessObjectFluentHelper(String servicePath, String targetSAPObjectType, String targetSAPObjectNodeType, String targetBusinessObjectTypeName, String targetLinkedSAPObjectKey, String archiveDocumentID, String sourceSAPObjectType, String sourceSAPObjectNodeType, String sourceBusinessObjectTypeName, String sourceLinkedSAPObjectKey) Creates a fluent helper object that will execute the AssignDocumentToBusinessObject 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<AssignDocument>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
-
AssignDocumentToBusinessObjectFluentHelper
public AssignDocumentToBusinessObjectFluentHelper(@Nonnull String servicePath, @Nullable String targetSAPObjectType, @Nullable String targetSAPObjectNodeType, @Nullable String targetBusinessObjectTypeName, @Nonnull String targetLinkedSAPObjectKey, @Nullable String archiveDocumentID, @Nullable String sourceSAPObjectType, @Nullable String sourceSAPObjectNodeType, @Nullable String sourceBusinessObjectTypeName, @Nonnull String sourceLinkedSAPObjectKey) Creates a fluent helper object that will execute the AssignDocumentToBusinessObject OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
targetLinkedSAPObjectKey- TargetLinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: TargetLinkedSAPObjectKey
sourceSAPObjectNodeType- SourceSAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SourceSAPObjectNodeType
sourceSAPObjectType- SourceSAPObjectTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SourceSAPObjectType
sourceLinkedSAPObjectKey- SourceLinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: SourceLinkedSAPObjectKey
targetBusinessObjectTypeName- TargetBusinessObjectTypeNameConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: TargetBusinessObjectTypeName
servicePath- Service path to be used to call the functions against.archiveDocumentID- ArchiveDocumentIDConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: ArchiveDocumentID
targetSAPObjectNodeType- TargetSAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: TargetSAPObjectNodeType
sourceBusinessObjectTypeName- SourceBusinessObjectTypeNameConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SourceBusinessObjectTypeName
targetSAPObjectType- TargetSAPObjectTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: TargetSAPObjectType
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<AssignDocumentToBusinessObjectFluentHelper,AssignDocument, AssignDocument>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<AssignDocumentToBusinessObjectFluentHelper,AssignDocument, AssignDocument>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) -
getParameters
- Specified by:
getParametersin classFluentHelperFunction<AssignDocumentToBusinessObjectFluentHelper,AssignDocument, AssignDocument>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<AssignDocumentToBusinessObjectFluentHelper,AssignDocument, AssignDocument>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<AssignDocumentToBusinessObjectFluentHelper,AssignDocument, AssignDocument>
-