org.squashtest.tm.service.internal.repository
Interface AttachmentDao

All Superinterfaces:
EntityDao<org.squashtest.tm.domain.attachment.Attachment>, GenericDao<org.squashtest.tm.domain.attachment.Attachment>
All Known Implementing Classes:
HibernateAttachmentDao

public interface AttachmentDao
extends EntityDao<org.squashtest.tm.domain.attachment.Attachment>


Method Summary
 Set<org.squashtest.tm.domain.attachment.Attachment> findAllAttachments(Long attachmentListId)
           
 List<org.squashtest.tm.domain.attachment.Attachment> findAllAttachmentsFiltered(Long attachmentListId, org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
           
 org.squashtest.tm.domain.attachment.Attachment findAttachmentWithContent(Long attachmentId)
           
 void removeAttachment(Long attachmentId)
           
 
Methods inherited from interface org.squashtest.tm.service.internal.repository.EntityDao
findAll, findAllByIds, findById
 
Methods inherited from interface org.squashtest.tm.service.internal.repository.GenericDao
clearFromCache, clearFromCache, flush, persist, persist, remove, removeAll
 

Method Detail

findAttachmentWithContent

org.squashtest.tm.domain.attachment.Attachment findAttachmentWithContent(Long attachmentId)

findAllAttachments

Set<org.squashtest.tm.domain.attachment.Attachment> findAllAttachments(Long attachmentListId)

removeAttachment

void removeAttachment(Long attachmentId)

findAllAttachmentsFiltered

List<org.squashtest.tm.domain.attachment.Attachment> findAllAttachmentsFiltered(Long attachmentListId,
                                                                                org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)


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