This interface provides methods to access Attachment resources by their id.
Thread Safety: Implementation of this interface must be thread safe.
@Deprecated public interface AttachmentResources
| Modifier and Type | Method and Description |
|---|---|
Attachment |
attachNewVersion(long attachmentId,
File file,
String contentType)
Deprecated.
As of release 2.0
|
Attachment |
attachNewVersion(long attachmentId,
InputStream inputStream,
String contentType,
long contentLength,
String attachmentName)
Deprecated.
As of release 2.0
|
@Deprecated Attachment attachNewVersion(long attachmentId, File file, String contentType)
attachmentId - the idfile - the filecontentType - the content type@Deprecated Attachment attachNewVersion(long attachmentId, InputStream inputStream, String contentType, long contentLength, String attachmentName)
attachmentId - the id of the attachment to upload a new version.inputStream - the file to attachcontentType - the content type of the fileattachmentName - attachment namecontentLength - content lengthCopyright © 2014–2017 Smartsheet. All rights reserved.