org.squashtest.tm.service.internal.repository.hibernate
@Repository public class HibernateAutomatedSuiteDao extends Object implements AutomatedSuiteDao
| Constructor and Description |
|---|
HibernateAutomatedSuiteDao() |
| Modifier and Type | Method and Description |
|---|---|
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. |
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)
AutomatedSuiteDaoAutomatedSuitefindAllWaitingExtenders in interface AutomatedSuiteDaopublic Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllRunningExtenders(String suiteId)
AutomatedSuiteDaoAutomatedSuitefindAllRunningExtenders in interface AutomatedSuiteDaopublic Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllCompletedExtenders(String suiteId)
AutomatedSuiteDaoAutomatedSuitefindAllCompletedExtenders in interface AutomatedSuiteDaopublic Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllExtendersByStatus(String suiteId, Collection<org.squashtest.tm.domain.execution.ExecutionStatus> statusList)
AutomatedSuiteDaoAutomatedSuitefindAllExtendersByStatus in interface AutomatedSuiteDaopublic 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 AutomatedSuiteDaoCopyright © 2010-2014 Henix, henix.fr. All Rights Reserved.