Class DefaultAttachmentService
- All Implemented Interfaces:
BatchService<AttachmentServiceBatch>,AttachmentService
This service allows you to manage attachments and attachment URLs for business objects. You can perform operations such as create, read, rename, and deletion of attachments. You can also read an existing document info record (DIR), and add attachments to it. The service returns an appropriate success or error response while performing the attachment operations. Consumers of this service can configure the Harmonized Document Management (HDM) functionality to support attachments from various document frameworks such as Generic Object Services (GOS), Document Management System (DMS), and ArchiveLink. If this configuration has been maintained, this service also supports uploading and downloading of attachments that are larger than 100MB. If the HDM configuration has not been maintained for a business object, then this service supports attachments only from the GOS and DMS document frameworks. For more information on HDM, refer to the Business Documentation linked below. .
Reference: SAP Business Accelerator Hub
Details:
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.AttachmentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingAttachmentService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionassignDocumentToBusinessObject(String targetSAPObjectType, String targetSAPObjectNodeType, String targetBusinessObjectTypeName, String targetLinkedSAPObjectKey, String archiveDocumentID, String sourceSAPObjectType, String sourceSAPObjectNodeType, String sourceBusinessObjectTypeName, String sourceLinkedSAPObjectKey) Deprecated.Creates a fluent helper for the AssignDocumentToBusinessObject OData function import.batch()Deprecated.createAttachmentContent(AttachmentContent attachmentContent) Deprecated.Create a newAttachmentContententity and save it to the S/4HANA system.createAttachmentHarmonizedOperation(AttachmentHarmonizedOperation attachmentHarmonizedOperation) Deprecated.Create a newAttachmentHarmonizedOperationentity and save it to the S/4HANA system.createDocumentInfoRecordAttch(DocumentInfoRecordAttch documentInfoRecordAttch) Deprecated.Create a newDocumentInfoRecordAttchentity and save it to the S/4HANA system.createUrlAsAttachment(String semanticObject, String linkedSAPObjectKey, String businessObjectTypeName, String url, String urlDescription, String mIMEType) Deprecated.Creates a fluent helper for the CreateUrlAsAttachment OData function import.createUrlAsAttachment(String semanticObject, String linkedSAPObjectKey, String businessObjectTypeName, String url, String urlDescription, String mIMEType, String sAPObjectNodeType, String sAPObjectType, String harmonizedDocumentType) Deprecated.Creates a fluent helper for the CreateUrlAsAttachment OData function import.deleteAttachmentContent(AttachmentContent attachmentContent) Deprecated.Deletes an existingAttachmentContententity in the S/4HANA system.deleteAttachmentHarmonizedOperation(AttachmentHarmonizedOperation attachmentHarmonizedOperation) Deprecated.Deletes an existingAttachmentHarmonizedOperationentity in the S/4HANA system.Deprecated.Fetch multipleDocumentInfoRecordAttchentities.getAllOriginals(String linkedSAPObjectKey, String businessObjectTypeName, String semanticObject) Deprecated.Creates a fluent helper for the GetAllOriginals OData function import.getAllOriginals(String linkedSAPObjectKey, String businessObjectTypeName, String semanticObject, String sAPObjectType, String sAPObjectNodeType) Deprecated.Creates a fluent helper for the GetAllOriginals OData function import.getAttachmentCount(String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject) Deprecated.Creates a fluent helper for the GetAttachmentCount OData function import.getAttachmentCount(String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject, String sAPObjectType, String sAPObjectNodeType) Deprecated.Creates a fluent helper for the GetAttachmentCount OData function import.getAttachmentHarmonizedOperationByKey(String logicalDocument, String archiveDocumentID, String linkedSAPObjectKey, String sAPObjectType, String harmonizedDocumentType) Deprecated.Fetch a singleAttachmentHarmonizedOperationentity using key fields.getDocumentInfoRecordAttchByKey(String documentInfoRecordDocType, String documentInfoRecordDocNumber, String documentInfoRecordDocVersion, String documentInfoRecordDocPart) Deprecated.Fetch a singleDocumentInfoRecordAttchentity using key fields.getSAPObjectDocumentType(String sAPObjectNodeType, String sAPObjectType) Deprecated.Creates a fluent helper for the GetSAPObjectDocumentType OData function import.linkAttachmentToSAPObject(String linkedSAPObjectKey, String harmonizedDocumentType, String archiveDocumentID, String logicalDocument, String sAPObjectNodeType, String sAPObjectType) Deprecated.Creates a fluent helper for the LinkAttachmentToSAPObject OData function import.renameAttachment(String documentInfoRecordDocType, String documentInfoRecordDocVersion, String logicalDocument, String archiveDocumentID, String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject, String fileName, String documentInfoRecordDocNumber, String documentInfoRecordDocPart) Deprecated.Creates a fluent helper for the RenameAttachment OData function import.renameAttachment(String documentInfoRecordDocType, String documentInfoRecordDocVersion, String logicalDocument, String archiveDocumentID, String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject, String fileName, String documentInfoRecordDocNumber, String documentInfoRecordDocPart, String sAPObjectNodeType, String sAPObjectType) Deprecated.Creates a fluent helper for the RenameAttachment OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultAttachmentService
public DefaultAttachmentService()Deprecated.Creates a service usingAttachmentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:AttachmentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceAttachmentService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<AttachmentServiceBatch>
-
createAttachmentContent
@Nonnull public AttachmentContentCreateFluentHelper createAttachmentContent(@Nonnull AttachmentContent attachmentContent) Deprecated.Description copied from interface:AttachmentServiceCreate a newAttachmentContententity and save it to the S/4HANA system.- Specified by:
createAttachmentContentin interfaceAttachmentService- Parameters:
attachmentContent-AttachmentContententity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
AttachmentContententity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteAttachmentContent
@Nonnull public AttachmentContentDeleteFluentHelper deleteAttachmentContent(@Nonnull AttachmentContent attachmentContent) Deprecated.Description copied from interface:AttachmentServiceDeletes an existingAttachmentContententity in the S/4HANA system.- Specified by:
deleteAttachmentContentin interfaceAttachmentService- Parameters:
attachmentContent-AttachmentContententity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
AttachmentContententity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAttachmentHarmonizedOperationByKey
@Nonnull public AttachmentHarmonizedOperationByKeyFluentHelper getAttachmentHarmonizedOperationByKey(String logicalDocument, String archiveDocumentID, String linkedSAPObjectKey, String sAPObjectType, String harmonizedDocumentType) Deprecated.Description copied from interface:AttachmentServiceFetch a singleAttachmentHarmonizedOperationentity using key fields.- Specified by:
getAttachmentHarmonizedOperationByKeyin interfaceAttachmentService- Parameters:
logicalDocument- LogicalDocumentConstraints: Not nullable, Maximum length: 32
archiveDocumentID- ArchiveDocumentIDConstraints: Not nullable, Maximum length: 40
linkedSAPObjectKey- LinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
sAPObjectType- SAPObjectTypeConstraints: Not nullable, Maximum length: 30
harmonizedDocumentType- HarmonizedDocumentTypeConstraints: Not nullable, Maximum length: 40
- Returns:
- A fluent helper to fetch a single
AttachmentHarmonizedOperationentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
createAttachmentHarmonizedOperation
@Nonnull public AttachmentHarmonizedOperationCreateFluentHelper createAttachmentHarmonizedOperation(@Nonnull AttachmentHarmonizedOperation attachmentHarmonizedOperation) Deprecated.Description copied from interface:AttachmentServiceCreate a newAttachmentHarmonizedOperationentity and save it to the S/4HANA system.- Specified by:
createAttachmentHarmonizedOperationin interfaceAttachmentService- Parameters:
attachmentHarmonizedOperation-AttachmentHarmonizedOperationentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
AttachmentHarmonizedOperationentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteAttachmentHarmonizedOperation
@Nonnull public AttachmentHarmonizedOperationDeleteFluentHelper deleteAttachmentHarmonizedOperation(@Nonnull AttachmentHarmonizedOperation attachmentHarmonizedOperation) Deprecated.Description copied from interface:AttachmentServiceDeletes an existingAttachmentHarmonizedOperationentity in the S/4HANA system.- Specified by:
deleteAttachmentHarmonizedOperationin interfaceAttachmentService- Parameters:
attachmentHarmonizedOperation-AttachmentHarmonizedOperationentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
AttachmentHarmonizedOperationentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllDocumentInfoRecordAttch
Deprecated.Description copied from interface:AttachmentServiceFetch multipleDocumentInfoRecordAttchentities.- Specified by:
getAllDocumentInfoRecordAttchin interfaceAttachmentService- Returns:
- A fluent helper to fetch multiple
DocumentInfoRecordAttchentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getDocumentInfoRecordAttchByKey
@Nonnull public DocumentInfoRecordAttchByKeyFluentHelper getDocumentInfoRecordAttchByKey(String documentInfoRecordDocType, String documentInfoRecordDocNumber, String documentInfoRecordDocVersion, String documentInfoRecordDocPart) Deprecated.Description copied from interface:AttachmentServiceFetch a singleDocumentInfoRecordAttchentity using key fields.- Specified by:
getDocumentInfoRecordAttchByKeyin interfaceAttachmentService- Parameters:
documentInfoRecordDocType- Document TypeConstraints: Not nullable, Maximum length: 3
documentInfoRecordDocNumber- Document numberConstraints: Not nullable, Maximum length: 25
documentInfoRecordDocVersion- Document VersionConstraints: Not nullable, Maximum length: 2
documentInfoRecordDocPart- Document PartConstraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
DocumentInfoRecordAttchentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
createDocumentInfoRecordAttch
@Nonnull public DocumentInfoRecordAttchCreateFluentHelper createDocumentInfoRecordAttch(@Nonnull DocumentInfoRecordAttch documentInfoRecordAttch) Deprecated.Description copied from interface:AttachmentServiceCreate a newDocumentInfoRecordAttchentity and save it to the S/4HANA system.- Specified by:
createDocumentInfoRecordAttchin interfaceAttachmentService- Parameters:
documentInfoRecordAttch-DocumentInfoRecordAttchentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
DocumentInfoRecordAttchentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllOriginals
@Nonnull public GetAllOriginalsFluentHelper getAllOriginals(@Nonnull String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nullable String semanticObject) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the GetAllOriginals OData function import.
- Specified by:
getAllOriginalsin interfaceAttachmentService- Parameters:
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
- Returns:
- A fluent helper object that will execute the GetAllOriginals OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
getAllOriginals
@Nonnull public GetAllOriginalsFluentHelper getAllOriginals(@Nonnull String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nullable String semanticObject, @Nullable String sAPObjectType, @Nullable String sAPObjectNodeType) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the GetAllOriginals OData function import.
- Specified by:
getAllOriginalsin interfaceAttachmentService- Parameters:
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
- Returns:
- A fluent helper object that will execute the GetAllOriginals OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
getAttachmentCount
@Nonnull public GetAttachmentCountFluentHelper getAttachmentCount(@Nullable String businessObjectTypeName, @Nonnull String linkedSAPObjectKey, @Nullable String semanticObject) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the GetAttachmentCount OData function import.
- Specified by:
getAttachmentCountin interfaceAttachmentService- Parameters:
businessObjectTypeName- BusinessObjectTypeNameConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: BusinessObjectTypeName
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
- Returns:
- A fluent helper object that will execute the GetAttachmentCount OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
getAttachmentCount
@Nonnull public GetAttachmentCountFluentHelper getAttachmentCount(@Nullable String businessObjectTypeName, @Nonnull String linkedSAPObjectKey, @Nullable String semanticObject, @Nullable String sAPObjectType, @Nullable String sAPObjectNodeType) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the GetAttachmentCount OData function import.
- Specified by:
getAttachmentCountin interfaceAttachmentService- Parameters:
businessObjectTypeName- BusinessObjectTypeNameConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: BusinessObjectTypeName
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
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
- Returns:
- A fluent helper object that will execute the GetAttachmentCount OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
renameAttachment
@Nonnull public RenameAttachmentFluentHelper renameAttachment(@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) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the RenameAttachment OData function import.
- Specified by:
renameAttachmentin interfaceAttachmentService- Parameters:
documentInfoRecordDocType- DocumentInfoRecordDocTypeConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: DocumentInfoRecordDocType
documentInfoRecordDocVersion- DocumentInfoRecordDocVersionConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: DocumentInfoRecordDocVersion
logicalDocument- LogicalDocumentConstraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: LogicalDocument
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
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
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
- Returns:
- A fluent helper object that will execute the RenameAttachment OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
renameAttachment
@Nonnull public RenameAttachmentFluentHelper renameAttachment(@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) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the RenameAttachment OData function import.
- Specified by:
renameAttachmentin interfaceAttachmentService- Parameters:
documentInfoRecordDocType- DocumentInfoRecordDocTypeConstraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: DocumentInfoRecordDocType
documentInfoRecordDocVersion- DocumentInfoRecordDocVersionConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: DocumentInfoRecordDocVersion
logicalDocument- LogicalDocumentConstraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: LogicalDocument
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
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
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
sAPObjectNodeType- SAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectNodeType
sAPObjectType- SAPObjectTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectType
- Returns:
- A fluent helper object that will execute the RenameAttachment OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
getSAPObjectDocumentType
@Nonnull public GetSAPObjectDocumentFluentHelper getSAPObjectDocumentType(@Nullable String sAPObjectNodeType, @Nonnull String sAPObjectType) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the GetSAPObjectDocumentType OData function import.
- Specified by:
getSAPObjectDocumentTypein interfaceAttachmentService- Parameters:
sAPObjectNodeType- SAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectNodeType
sAPObjectType- SAPObjectTypeConstraints: Not nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectType
- Returns:
- A fluent helper object that will execute the GetSAPObjectDocumentType OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
linkAttachmentToSAPObject
@Nonnull public LinkAttachmentToSAPObjectFluentHelper linkAttachmentToSAPObject(@Nonnull String linkedSAPObjectKey, @Nonnull String harmonizedDocumentType, @Nonnull String archiveDocumentID, @Nonnull String logicalDocument, @Nullable String sAPObjectNodeType, @Nonnull String sAPObjectType) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the LinkAttachmentToSAPObject OData function import.
- Specified by:
linkAttachmentToSAPObjectin interfaceAttachmentService- Parameters:
linkedSAPObjectKey- LinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: LinkedSAPObjectKey
harmonizedDocumentType- HarmonizedDocumentTypeConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: HarmonizedDocumentType
archiveDocumentID- ArchiveDocumentIDConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: ArchiveDocumentID
logicalDocument- LogicalDocumentConstraints: Not nullable, Maximum length: 32
Original parameter name from the Odata EDM: LogicalDocument
sAPObjectNodeType- SAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectNodeType
sAPObjectType- SAPObjectTypeConstraints: Not nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectType
- Returns:
- A fluent helper object that will execute the LinkAttachmentToSAPObject OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
assignDocumentToBusinessObject
@Nonnull public AssignDocumentToBusinessObjectFluentHelper assignDocumentToBusinessObject(@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) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the AssignDocumentToBusinessObject OData function import.
- Specified by:
assignDocumentToBusinessObjectin interfaceAttachmentService- Parameters:
targetSAPObjectType- TargetSAPObjectTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: TargetSAPObjectType
targetSAPObjectNodeType- TargetSAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: TargetSAPObjectNodeType
targetBusinessObjectTypeName- TargetBusinessObjectTypeNameConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: TargetBusinessObjectTypeName
targetLinkedSAPObjectKey- TargetLinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: TargetLinkedSAPObjectKey
archiveDocumentID- ArchiveDocumentIDConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: ArchiveDocumentID
sourceSAPObjectType- SourceSAPObjectTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SourceSAPObjectType
sourceSAPObjectNodeType- SourceSAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SourceSAPObjectNodeType
sourceBusinessObjectTypeName- SourceBusinessObjectTypeNameConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SourceBusinessObjectTypeName
sourceLinkedSAPObjectKey- SourceLinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
Original parameter name from the Odata EDM: SourceLinkedSAPObjectKey
- Returns:
- A fluent helper object that will execute the AssignDocumentToBusinessObject OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
createUrlAsAttachment
@Nonnull public CreateUrlAsAttachmentFluentHelper createUrlAsAttachment(@Nullable String semanticObject, @Nonnull String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nonnull String url, @Nonnull String urlDescription, @Nonnull String mIMEType) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the CreateUrlAsAttachment OData function import.
- Specified by:
createUrlAsAttachmentin interfaceAttachmentService- Parameters:
semanticObject- SemanticObjectConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
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
url- UrlConstraints: Not nullable, Maximum length: 4096
Original parameter name from the Odata EDM: Url
urlDescription- UrlDescriptionConstraints: Not nullable, Maximum length: 255
Original parameter name from the Odata EDM: UrlDescription
mIMEType- MIMETypeConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: MIMEType
- Returns:
- A fluent helper object that will execute the CreateUrlAsAttachment OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
createUrlAsAttachment
@Nonnull public CreateUrlAsAttachmentFluentHelper createUrlAsAttachment(@Nullable String semanticObject, @Nonnull String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nonnull String url, @Nonnull String urlDescription, @Nonnull String mIMEType, @Nullable String sAPObjectNodeType, @Nullable String sAPObjectType, @Nullable String harmonizedDocumentType) Deprecated.Description copied from interface:AttachmentServiceCreates a fluent helper for the CreateUrlAsAttachment OData function import.
- Specified by:
createUrlAsAttachmentin interfaceAttachmentService- Parameters:
semanticObject- SemanticObjectConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: SemanticObject
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
url- UrlConstraints: Not nullable, Maximum length: 4096
Original parameter name from the Odata EDM: Url
urlDescription- UrlDescriptionConstraints: Not nullable, Maximum length: 255
Original parameter name from the Odata EDM: UrlDescription
mIMEType- MIMETypeConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: MIMEType
sAPObjectNodeType- SAPObjectNodeTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectNodeType
sAPObjectType- SAPObjectTypeConstraints: Nullable, Maximum length: 30
Original parameter name from the Odata EDM: SAPObjectType
harmonizedDocumentType- HarmonizedDocumentTypeConstraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: HarmonizedDocumentType
- Returns:
- A fluent helper object that will execute the CreateUrlAsAttachment OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-