org.squashtest.tm.service.internal.repository.hibernate
Class HibernateTeamDao
java.lang.Object
org.squashtest.tm.service.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao<org.squashtest.tm.domain.users.Team>
org.squashtest.tm.service.internal.repository.hibernate.HibernateTeamDao
- All Implemented Interfaces:
- CustomTeamDao, EntityDao<org.squashtest.tm.domain.users.Team>, GenericDao<org.squashtest.tm.domain.users.Team>
@Repository(value="CustomTeamDao")
public class HibernateTeamDao
- extends HibernateEntityDao<org.squashtest.tm.domain.users.Team>
- implements CustomTeamDao
|
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 filter)
|
| Methods inherited from class org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao |
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyName |
| Methods inherited from class org.squashtest.tm.service.internal.repository.hibernate.HibernateDao |
clearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateTeamDao
public HibernateTeamDao()
findSortedTeams
public List<org.squashtest.tm.domain.users.Team> findSortedTeams(org.squashtest.tm.core.foundation.collection.PagingAndSorting paging,
org.squashtest.tm.core.foundation.collection.Filtering filter)
- Specified by:
findSortedTeams in interface CustomTeamDao
- Returns:
findSortedAssociatedTeams
public 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)
- Description copied from interface:
CustomTeamDao
- Will find
Teams associated to concerned user organized with the given pagin and filtering params.
- Specified by:
findSortedAssociatedTeams in interface CustomTeamDao
- Parameters:
userId - : id of the concerned Userpaging - : 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 - See Also:
CustomTeamDao.findSortedAssociatedTeams(long, PagingAndSorting, Filtering)
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.