|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.tm.service.internal.repository.hibernate.HibernateAutomatedTestDao
@Repository public class HibernateAutomatedTestDao
| Constructor Summary | |
|---|---|
HibernateAutomatedTestDao()
|
|
| Method Summary | |
|---|---|
List<org.squashtest.tm.domain.testautomation.AutomatedTest> |
findAllByExtender(Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> extenders)
Same than AutomatedTestDao.findAllByExtenderIds(List), but with the extenders themselves instead of their ids. |
List<org.squashtest.tm.domain.testautomation.AutomatedTest> |
findAllByExtenderIds(List<Long> extenderIds)
warning : return unique automated tests ( ie result.size() <= argument.size() ) |
org.squashtest.tm.domain.testautomation.AutomatedTest |
findByExample(org.squashtest.tm.domain.testautomation.AutomatedTest example)
Given a detached (or even attached) AutomatedTest example, will fetch a AutomatedTest
having the same characteristics. |
org.squashtest.tm.domain.testautomation.AutomatedTest |
findById(Long testId)
|
void |
persist(org.squashtest.tm.domain.testautomation.AutomatedTest newTest)
Will persist a new AutomatedTest. |
org.squashtest.tm.domain.testautomation.AutomatedTest |
uniquePersist(org.squashtest.tm.domain.testautomation.AutomatedTest newTest)
Will persist a TestAutomationTest if really new, or return the existing instance if not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateAutomatedTestDao()
| Method Detail |
|---|
public void persist(org.squashtest.tm.domain.testautomation.AutomatedTest newTest)
AutomatedTestDaoAutomatedTest. Note : each server must have different characteristics, more exactly each combination of
attributes is unique. Therefore if the object to be persisted already exists in the database an exception will be raised instead.
persist in interface AutomatedTestDaopublic org.squashtest.tm.domain.testautomation.AutomatedTest uniquePersist(org.squashtest.tm.domain.testautomation.AutomatedTest newTest)
AutomatedTestDao
uniquePersist in interface AutomatedTestDaopublic org.squashtest.tm.domain.testautomation.AutomatedTest findById(Long testId)
findById in interface AutomatedTestDaopublic org.squashtest.tm.domain.testautomation.AutomatedTest findByExample(org.squashtest.tm.domain.testautomation.AutomatedTest example)
AutomatedTestDaoGiven a detached (or even attached) AutomatedTest example, will fetch a AutomatedTest
having the same characteristics. Null attributes will be discarded before the comparison.
findByExample in interface AutomatedTestDaopublic List<org.squashtest.tm.domain.testautomation.AutomatedTest> findAllByExtenderIds(List<Long> extenderIds)
AutomatedTestDao
findAllByExtenderIds in interface AutomatedTestDaopublic List<org.squashtest.tm.domain.testautomation.AutomatedTest> findAllByExtender(Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> extenders)
AutomatedTestDaoAutomatedTestDao.findAllByExtenderIds(List), but with the extenders themselves instead of their ids.
findAllByExtender in interface AutomatedTestDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||