org.squashtest.tm.service.internal.repository
Interface AutomatedSuiteDao

All Known Implementing Classes:
HibernateAutomatedSuiteDao

public interface AutomatedSuiteDao


Method Summary
 org.squashtest.tm.domain.testautomation.AutomatedSuite createNewSuite()
           
 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> 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.
 

Method Detail

createNewSuite

org.squashtest.tm.domain.testautomation.AutomatedSuite createNewSuite()

findById

org.squashtest.tm.domain.testautomation.AutomatedSuite findById(String id)

findAll

List<org.squashtest.tm.domain.testautomation.AutomatedSuite> findAll()

findAllById

List<org.squashtest.tm.domain.testautomation.AutomatedSuite> findAllById(Collection<String> ids)

findAllExtenders

Collection<org.squashtest.tm.domain.testautomation.AutomatedExecutionExtender> findAllExtenders(String suiteId)
retrieve all the AutomatedExecutionExtender that this suite is bound to.

Parameters:
id -
Returns:

findAllWaitingExtenders

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

Parameters:
id -
Returns:

findAllRunningExtenders

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

Parameters:
id -
Returns:

findAllCompletedExtenders

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

Parameters:
id -
Returns:

findAllExtendersByStatus

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

Parameters:
id -
Returns:

initDetachedSuite

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.

Parameters:
suiteToInit -
Returns:


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.