public class AttachmentServiceService extends Object
This service enables you to manage the entire life cycle of a DMS based attachment: from attachment creation to attachment storage, from access to update via OData Service.
Reference: SAP API Business Hub
OData Service: | API_CV_ATTACHMENT_SRV |
API Version: | 1 |
Minimum ERP Version: | 1705 |
Communication Scenario: | Product Lifecycle Management - Master Data Integration (SAP_COM_0105) |
Scope Items: | Engineering Bill of Material - Versions Management (1NR) |
Constructor and Description |
---|
AttachmentServiceService() |
Modifier and Type | Method and Description |
---|---|
static AttachmentServiceNamespace.AttachmentContentFluentHelper |
getAllAttachmentContent()
Fetch multiple
AttachmentContent entities. |
static AttachmentServiceNamespace.GetAllOriginalsFluentHelper |
getAllOriginals(String linkedSAPObjectKey,
String businessObjectTypeName,
String semanticObject)
Returns All Originals Related to a Parent Object
|
static AttachmentServiceNamespace.AttachmentContentByKeyFluentHelper |
getAttachmentContentByKey(String documentInfoRecordDocType,
String documentInfoRecordDocNumber,
String documentInfoRecordDocVersion,
String documentInfoRecordDocPart,
String logicalDocument,
String archiveDocumentID,
String linkedSAPObjectKey,
String businessObjectTypeName)
Fetch a single
AttachmentContent entity using key fields. |
static AttachmentServiceNamespace.GetAttachmentCountFluentHelper |
getAttachmentCount(String businessObjectTypeName,
String linkedSAPObjectKey,
String semanticObject)
Returns the Count of Attachments
|
static AttachmentServiceNamespace.RenameAttachmentFluentHelper |
renameAttachment(String documentInfoRecordDocType,
String documentInfoRecordDocVersion,
String logicalDocument,
String archiveDocumentID,
String businessObjectTypeName,
String linkedSAPObjectKey,
String semanticObject,
String fileName,
String documentInfoRecordDocNumber,
String documentInfoRecordDocPart)
Rename Attachment
|
public static AttachmentServiceNamespace.AttachmentContentFluentHelper getAllAttachmentContent()
AttachmentContent
entities.AttachmentContent
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public static AttachmentServiceNamespace.AttachmentContentByKeyFluentHelper getAttachmentContentByKey(String documentInfoRecordDocType, String documentInfoRecordDocNumber, String documentInfoRecordDocVersion, String documentInfoRecordDocPart, String logicalDocument, String archiveDocumentID, String linkedSAPObjectKey, String businessObjectTypeName)
AttachmentContent
entity using key fields.documentInfoRecordDocType
- DocumentInfoRecordDocTypeConstraints: Not nullable, Maximum length: 3
documentInfoRecordDocNumber
- DocumentInfoRecordDocNumberConstraints: Not nullable, Maximum length: 25
documentInfoRecordDocPart
- DocumentInfoRecordDocPartConstraints: Not nullable, Maximum length: 3
archiveDocumentID
- ArchiveDocumentIDConstraints: Not nullable, Maximum length: 40
linkedSAPObjectKey
- LinkedSAPObjectKeyConstraints: Not nullable, Maximum length: 90
businessObjectTypeName
- BusinessObjectTypeNameConstraints: Not nullable, Maximum length: 40
documentInfoRecordDocVersion
- DocumentInfoRecordDocVersionConstraints: Not nullable, Maximum length: 2
logicalDocument
- LogicalDocumentConstraints: Not nullable, Maximum length: 32
AttachmentContent
entity 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 the execute
method on the fluent helper object.public static AttachmentServiceNamespace.GetAllOriginalsFluentHelper getAllOriginals(String linkedSAPObjectKey, String businessObjectTypeName, String semanticObject)
Creates a fluent helper for the GetAllOriginals OData function import.
linkedSAPObjectKey
- Constraints: Not nullable, Maximum length: 90businessObjectTypeName
- Constraints: Not nullable, Maximum length: 40semanticObject
- Constraints: Nullable, Maximum length: 40execute
method on the fluent helper object.public static AttachmentServiceNamespace.GetAttachmentCountFluentHelper getAttachmentCount(String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject)
Creates a fluent helper for the GetAttachmentCount OData function import.
linkedSAPObjectKey
- Constraints: Not nullable, Maximum length: 90businessObjectTypeName
- Constraints: Not nullable, Maximum length: 40semanticObject
- Constraints: Nullable, Maximum length: 40execute
method on the fluent helper object.public static AttachmentServiceNamespace.RenameAttachmentFluentHelper renameAttachment(String documentInfoRecordDocType, String documentInfoRecordDocVersion, String logicalDocument, String archiveDocumentID, String businessObjectTypeName, String linkedSAPObjectKey, String semanticObject, String fileName, String documentInfoRecordDocNumber, String documentInfoRecordDocPart)
Creates a fluent helper for the RenameAttachment OData function import.
documentInfoRecordDocType
- Constraints: Nullable, Maximum length: 3fileName
- Constraints: Not nullable, Maximum length: 255documentInfoRecordDocNumber
- Constraints: Nullable, Maximum length: 25documentInfoRecordDocPart
- Constraints: Nullable, Maximum length: 3archiveDocumentID
- Constraints: Not nullable, Maximum length: 40linkedSAPObjectKey
- Constraints: Not nullable, Maximum length: 90businessObjectTypeName
- Constraints: Not nullable, Maximum length: 40documentInfoRecordDocVersion
- Constraints: Nullable, Maximum length: 2semanticObject
- Constraints: Nullable, Maximum length: 40logicalDocument
- Constraints: Not nullable, Maximum length: 32execute
method on the fluent helper object.Copyright © 2017 SAP SE. All rights reserved.