org.squashtest.tm.service.attachment
Interface AttachmentManagerService

All Superinterfaces:
AttachmentFinderService
All Known Implementing Classes:
AttachmentManagerServiceImpl

@Transactional
public interface AttachmentManagerService
extends AttachmentFinderService


Method Summary
 Long addAttachment(Long attachmentListId, org.squashtest.tm.domain.attachment.Attachment attachment)
           
 InputStream getAttachmentContent(Long attachmentId)
           
 void removeAttachmentFromList(Long attachmentListId, Long attachmentId)
           
 void removeListOfAttachments(Long attachmentListId, List<Long> attachmentIds)
           
 void renameAttachment(Long attachmentId, String newName)
           
 void setAttachmentContent(InputStream stream, Long attachmentId)
           
 
Methods inherited from interface org.squashtest.tm.service.attachment.AttachmentFinderService
findAttachment, findAttachments, findAttachmentShortName, findPagedAttachments, findPagedAttachments
 

Method Detail

addAttachment

Long addAttachment(Long attachmentListId,
                   org.squashtest.tm.domain.attachment.Attachment attachment)

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)

renameAttachment

void renameAttachment(Long attachmentId,
                      String newName)


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.