org.squashtest.csp.tm.service
Interface AttachmentManagerService
- All Known Implementing Classes:
- AttachmentManagerServiceImpl
@Transactional
public interface AttachmentManagerService
addAttachment
Long addAttachment(Long attachmentListId,
Attachment attachment)
findAttachment
Attachment findAttachment(Long attachmentId)
findAttachments
Set<Attachment> findAttachments(Long attachmentListId)
setAttachmentContent
void setAttachmentContent(InputStream stream,
Long attachmentId)
getAttachmentContent
InputStream getAttachmentContent(Long attachmentId)
removeAttachmentFromList
void removeAttachmentFromList(Long attachmentListId,
Long attachmentId)
removeListOfAttachments
void removeListOfAttachments(Long attachmentListId,
List<Long> attachmentIds)
findAttachmentShortName
String findAttachmentShortName(Long attachmentId)
renameAttachment
void renameAttachment(Long attachmentId,
String newName)
findFilteredAttachmentForList
FilteredCollectionHolder<List<Attachment>> findFilteredAttachmentForList(long attachmentListId,
CollectionSorting filter)
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.