org.squashtest.csp.tm.internal.repository
Interface IssueDao
- All Superinterfaces:
- EntityDao<Issue>
- All Known Implementing Classes:
- HibernateIssueDao
public interface IssueDao
- extends EntityDao<Issue>
findBuggedEntity
<X extends Bugged> X findBuggedEntity(Long entityId,
Class<X> entityClass)
findIssuesWithOwner
List<IssueOwnership<Issue>> findIssuesWithOwner(Bugged entity,
CollectionSorting sorter)
- Will recursively find a sorted/filtered list of Issues paired with their owning Bugged entity,
from the given bugged entity and its related Bugged entities.
The data will be sorted/filtered regardless of their owner.
- Parameters:
entity - the entity at the base of the bugged hierarchysorter - a CollectionSoring object that will tell who we must sort the data
- Returns:
- a non null but possibly empty list of IssueOwnership, that will pair each Issue with their Owner.
countIssuesfromIssueList
Integer countIssuesfromIssueList(List<Long> issueListIds)
- Will count the total number of issues related to the given IssueList.
- Parameters:
issueListIds - the id of the issue lists.
- Returns:
- how many issues they hold.
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.