@Transactional public interface AttachmentManagerService extends AttachmentFinderService
| Modifier and Type | Method and Description |
|---|---|
Long |
addAttachment(long attachmentListId,
RawAttachment rawAttachment) |
void |
removeAttachmentFromList(long attachmentListId,
long attachmentId) |
void |
removeListOfAttachments(long attachmentListId,
List<Long> attachmentIds) |
void |
renameAttachment(long attachmentId,
String newName) |
void |
writeContent(long attachmentId,
OutputStream os)
Writes attachment content into the given stream.
|
findAttachment, findAttachments, findAttachmentShortName, findPagedAttachments, findPagedAttachmentsLong addAttachment(long attachmentListId, RawAttachment rawAttachment)
attachmentListId - rawAttachment - void removeAttachmentFromList(long attachmentListId,
long attachmentId)
void removeListOfAttachments(long attachmentListId,
List<Long> attachmentIds)
void renameAttachment(long attachmentId,
String newName)
void writeContent(long attachmentId,
OutputStream os)
throws IOException
attachmentId - os - IOExceptionCopyright © 2010–2017 Henix, henix.fr. All rights reserved.