Class RenameAttachmentFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionRenameAttachmentFluentHelper(String servicePath, String documentInfoRecordDocType, String documentInfoRecordDocVersion, String logicalDocument, String archiveDocumentID, String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject, String fileName, String documentInfoRecordDocNumber, String documentInfoRecordDocPart) Creates a fluent helper object that will execute the RenameAttachment OData function import with the provided parameters.RenameAttachmentFluentHelper(String servicePath, String documentInfoRecordDocType, String documentInfoRecordDocVersion, String logicalDocument, String archiveDocumentID, String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject, String fileName, String documentInfoRecordDocNumber, String documentInfoRecordDocPart, String sAPObjectNodeType, String sAPObjectType) Creates a fluent helper object that will execute the RenameAttachment 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
-
RenameAttachmentFluentHelper
public RenameAttachmentFluentHelper(@Nonnull String servicePath, @Nullable String documentInfoRecordDocType, @Nullable String documentInfoRecordDocVersion, @Nonnull String logicalDocument, @Nonnull String archiveDocumentID, @Nullable String businessObjectTypeName, @Nonnull String linkedSAPObjectKey, @Nullable String semanticObject, @Nonnull String fileName, @Nullable String documentInfoRecordDocNumber, @Nullable String documentInfoRecordDocPart) Creates a fluent helper object that will execute the RenameAttachment OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
documentInfoRecordDocType- DocumentInfoRecordDocTypeConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: DocumentInfoRecordDocType
fileName- FileNameConstraints: Not nullable, Maximum length: 255
Original parameter name from the Odata EDM: FileName
documentInfoRecordDocNumber- DocumentInfoRecordDocNumberConstraints: Nullable, Maximum length: 25
Original parameter name from the Odata EDM: DocumentInfoRecordDocNumber
documentInfoRecordDocPart- DocumentInfoRecordDocPartConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: DocumentInfoRecordDocPart
servicePath- Service path to be used to call the functions against.archiveDocumentID- ArchiveDocumentIDConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: ArchiveDocumentID
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
documentInfoRecordDocVersion- DocumentInfoRecordDocVersionConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: DocumentInfoRecordDocVersion
semanticObject- SemanticObjectConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
logicalDocument- LogicalDocumentConstraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: LogicalDocument
-
RenameAttachmentFluentHelper
public RenameAttachmentFluentHelper(@Nonnull String servicePath, @Nullable String documentInfoRecordDocType, @Nullable String documentInfoRecordDocVersion, @Nonnull String logicalDocument, @Nonnull String archiveDocumentID, @Nullable String businessObjectTypeName, @Nonnull String linkedSAPObjectKey, @Nullable String semanticObject, @Nonnull String fileName, @Nullable String documentInfoRecordDocNumber, @Nullable String documentInfoRecordDocPart, @Nullable String sAPObjectNodeType, @Nullable String sAPObjectType) Creates a fluent helper object that will execute the RenameAttachment OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
fileName- FileNameConstraints: Not nullable, Maximum length: 255
Original parameter name from the Odata EDM: FileName
documentInfoRecordDocNumber- DocumentInfoRecordDocNumberConstraints: Nullable, Maximum length: 25
Original parameter name from the Odata EDM: DocumentInfoRecordDocNumber
archiveDocumentID- ArchiveDocumentIDConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: ArchiveDocumentID
businessObjectTypeName- BusinessObjectTypeNameConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: BusinessObjectTypeName
documentInfoRecordDocVersion- DocumentInfoRecordDocVersionConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: DocumentInfoRecordDocVersion
sAPObjectType- SAPObjectTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectType
logicalDocument- LogicalDocumentConstraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: LogicalDocument
documentInfoRecordDocType- DocumentInfoRecordDocTypeConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: DocumentInfoRecordDocType
documentInfoRecordDocPart- DocumentInfoRecordDocPartConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: DocumentInfoRecordDocPart
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
semanticObject- SemanticObjectConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
sAPObjectNodeType- SAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectNodeType
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<RenameAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<RenameAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<RenameAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<RenameAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<RenameAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<RenameAttachmentFluentHelper,AttachmentContent, AttachmentContent>
-