org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateRequirementVersionDao

java.lang.Object
  extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateRequirementVersionDao
All Implemented Interfaces:
CustomRequirementVersionDao

@Repository(value="CustomRequirementVersionDao")
public class HibernateRequirementVersionDao
extends Object
implements CustomRequirementVersionDao

Author:
Gregory Fouquet

Constructor Summary
HibernateRequirementVersionDao()
           
 
Method Summary
 long countVerifiedByTestCases(Collection<Long> verifiersIds)
          Counts the number of requirements verified by any of the given verifiers.
 List<RequirementVersion> findAllVerifiedByTestCase(long verifierId, org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pas)
          Returns paged and sorted collection of requirement versions verified by the test case of given id.
 List<RequirementVersion> findAllVerifiedByTestCases(Collection<Long> verifiersIds, org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pagingAndSorting)
          Returns paged and sorted collection of requirement versions verified by any of the given verifiers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateRequirementVersionDao

public HibernateRequirementVersionDao()
Method Detail

findAllVerifiedByTestCases

public List<RequirementVersion> findAllVerifiedByTestCases(Collection<Long> verifiersIds,
                                                           org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pagingAndSorting)
Description copied from interface: CustomRequirementVersionDao
Returns paged and sorted collection of requirement versions verified by any of the given verifiers.

Specified by:
findAllVerifiedByTestCases in interface CustomRequirementVersionDao
Returns:

countVerifiedByTestCases

public long countVerifiedByTestCases(Collection<Long> verifiersIds)
Description copied from interface: CustomRequirementVersionDao
Counts the number of requirements verified by any of the given verifiers.

Specified by:
countVerifiedByTestCases in interface CustomRequirementVersionDao
Returns:

findAllVerifiedByTestCase

public List<RequirementVersion> findAllVerifiedByTestCase(long verifierId,
                                                          org.squashtest.csp.core.infrastructure.collection.PagingAndSorting pas)
Description copied from interface: CustomRequirementVersionDao
Returns paged and sorted collection of requirement versions verified by the test case of given id.

Specified by:
findAllVerifiedByTestCase in interface CustomRequirementVersionDao
Returns:
See Also:
CustomRequirementVersionDao.findAllVerifiedByTestCase(long, org.squashtest.csp.core.infrastructure.collection.PagingAndSorting)


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.