|
||||||||||
| 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.HibernateAutomatedSuiteDao
@Repository public class HibernateAutomatedSuiteDao
| Constructor Summary | |
|---|---|
HibernateAutomatedSuiteDao()
|
|
| Method Summary | |
|---|---|
org.squashtest.tm.domain.testautomation.AutomatedSuite |
createNewSuite()
|
protected org.hibernate.Session |
currentSession()
|
List<org.squashtest.tm.domain.testautomation.AutomatedSuite> |
findAll()
|
List<org.squashtest.tm.domain.testautomation.AutomatedSuite> |
findAllById(Collection<String> ids)
|
Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> |
findAllCompletedExtenders(String suiteId)
retrieve all the extenders of executions which had been ran their test automation servers, for a given AutomatedSuite |
Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> |
findAllExtenders(String suiteId)
retrieve all the AutomatedExecutionExtender that this suite is bound to. |
Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> |
findAllExtendersByStatus(String suiteId,
Collection<org.squashtest.tm.domain.execution.ExecutionStatus> statusList)
retrieve all the extenders of executions which status is one of the supplied status, for a given AutomatedSuite |
Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> |
findAllExtendersByStatus(String suiteId,
org.squashtest.tm.domain.execution.ExecutionStatus... statusArray)
|
Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> |
findAllRunningExtenders(String suiteId)
retrieve all the extenders of executions currently being run by their test automation servers, for a given AutomatedSuite |
Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> |
findAllWaitingExtenders(String suiteId)
retrieve all the extenders of executions currently waiting to be run by their test automation servers, for a given AutomatedSuite |
org.squashtest.tm.domain.testautomation.AutomatedSuite |
findById(String id)
|
org.squashtest.tm.domain.testautomation.AutomatedSuite |
initDetachedSuite(String suiteId)
Given the id of an AutomatedSuite, returns a detached instance with all dependencies initialized : AutomatedExecutionExtender, AutomatedTest, TestAutomationProject and TestAutomationServer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateAutomatedSuiteDao()
| Method Detail |
|---|
protected org.hibernate.Session currentSession()
public org.squashtest.tm.domain.testautomation.AutomatedSuite createNewSuite()
createNewSuite in interface AutomatedSuiteDaopublic org.squashtest.tm.domain.testautomation.AutomatedSuite findById(String id)
findById in interface AutomatedSuiteDaopublic List<org.squashtest.tm.domain.testautomation.AutomatedSuite> findAll()
findAll in interface AutomatedSuiteDaopublic List<org.squashtest.tm.domain.testautomation.AutomatedSuite> findAllById(Collection<String> ids)
findAllById in interface AutomatedSuiteDaopublic Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllExtenders(String suiteId)
AutomatedSuiteDaoAutomatedExecutionExtender that this suite is bound to.
findAllExtenders in interface AutomatedSuiteDaopublic Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllWaitingExtenders(String suiteId)
AutomatedSuiteDaoAutomatedSuite
findAllWaitingExtenders in interface AutomatedSuiteDaopublic Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllRunningExtenders(String suiteId)
AutomatedSuiteDaoAutomatedSuite
findAllRunningExtenders in interface AutomatedSuiteDaopublic Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllCompletedExtenders(String suiteId)
AutomatedSuiteDaoAutomatedSuite
findAllCompletedExtenders in interface AutomatedSuiteDao
public Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllExtendersByStatus(String suiteId,
Collection<org.squashtest.tm.domain.execution.ExecutionStatus> statusList)
AutomatedSuiteDaoAutomatedSuite
findAllExtendersByStatus in interface AutomatedSuiteDao
public Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllExtendersByStatus(String suiteId,
org.squashtest.tm.domain.execution.ExecutionStatus... statusArray)
public org.squashtest.tm.domain.testautomation.AutomatedSuite initDetachedSuite(String suiteId)
AutomatedSuiteDaoGiven the id of an AutomatedSuite, returns a detached instance with all dependencies initialized :
AutomatedExecutionExtender, AutomatedTest, TestAutomationProject and TestAutomationServer.
initDetachedSuite in interface AutomatedSuiteDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||