public interface AttachmentDao extends org.springframework.data.jpa.repository.JpaRepository<org.squashtest.tm.domain.attachment.Attachment,Long>, CustomAttachmentDao
| Modifier and Type | Method and Description |
|---|---|
Set<org.squashtest.tm.domain.attachment.Attachment> |
findAllAttachments(Long attachmentListId)
Returns all the attachments that belong to the given AttachmentList
|
org.springframework.data.domain.Page<org.squashtest.tm.domain.attachment.Attachment> |
findAllAttachmentsPagined(Long attachmentListId,
org.springframework.data.domain.Pageable pageable)
Same than above, paged version.
|
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllcount, delete, delete, delete, deleteAll, exists, findOne, savecount, exists, findAll, findOneremoveAll, removeAttachment@Query Set<org.squashtest.tm.domain.attachment.Attachment> findAllAttachments(@Param(value="id") Long attachmentListId)
@Query(value="select Attachment from AttachmentList AttachmentList join AttachmentList.attachments Attachment where AttachmentList.id = :id")
org.springframework.data.domain.Page<org.squashtest.tm.domain.attachment.Attachment> findAllAttachmentsPagined(@Param(value="id")
Long attachmentListId,
org.springframework.data.domain.Pageable pageable)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.