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

All Superinterfaces:
EntityDao<org.squashtest.tm.domain.users.Team>, GenericDao<org.squashtest.tm.domain.users.Team>
All Known Subinterfaces:
TeamDao
All Known Implementing Classes:
HibernateTeamDao

public interface CustomTeamDao
extends EntityDao<org.squashtest.tm.domain.users.Team>


Method Summary
 List<org.squashtest.tm.domain.users.Team> findSortedAssociatedTeams(long userId, org.squashtest.tm.core.foundation.collection.PagingAndSorting paging, org.squashtest.tm.core.foundation.collection.Filtering filtering)
          Will find Teams associated to concerned user organized with the given pagin and filtering params.
 List<org.squashtest.tm.domain.users.Team> findSortedTeams(org.squashtest.tm.core.foundation.collection.PagingAndSorting paging, org.squashtest.tm.core.foundation.collection.Filtering filtering)
           
 
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

findSortedTeams

List<org.squashtest.tm.domain.users.Team> findSortedTeams(org.squashtest.tm.core.foundation.collection.PagingAndSorting paging,
                                                          org.squashtest.tm.core.foundation.collection.Filtering filtering)
Parameters:
filter -
Returns:

findSortedAssociatedTeams

List<org.squashtest.tm.domain.users.Team> findSortedAssociatedTeams(long userId,
                                                                    org.squashtest.tm.core.foundation.collection.PagingAndSorting paging,
                                                                    org.squashtest.tm.core.foundation.collection.Filtering filtering)
Will find Teams associated to concerned user organized with the given pagin and filtering params.

Parameters:
userId - : id of the concerned User
paging - : PagingAndSorting according to which result will be organized.
filtering - : Filtering according to which result will be organized.
Returns:
paged and filtered list of Teams associated to concerned User


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