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

All Known Implementing Classes:
HibernateAutomatedSuiteDao

public interface AutomatedSuiteDao


Method Summary
 AutomatedSuite createNewSuite()
           
 List<AutomatedSuite> findAll()
           
 List<AutomatedSuite> findAllById(Collection<String> ids)
           
 Collection<AutomatedExecutionExtender> findAllCompletedExtenders(String suiteId)
          retrieve all the extenders of executions which had been ran their test automation servers, for a given AutomatedSuite
 Collection<AutomatedExecutionExtender> findAllExtenders(String suiteId)
          retrieve all the AutomatedExecutionExtender that this suite is bound to.
 Collection<AutomatedExecutionExtender> findAllExtendersByStatus(String suiteId, Collection<ExecutionStatus> statusList)
          retrieve all the extenders of executions which status is one of the supplied status, for a given AutomatedSuite
 Collection<AutomatedExecutionExtender> findAllRunningExtenders(String suiteId)
          retrieve all the extenders of executions currently being run by their test automation servers, for a given AutomatedSuite
 Collection<AutomatedExecutionExtender> findAllWaitingExtenders(String suiteId)
          retrieve all the extenders of executions currently waiting to be run by their test automation servers, for a given AutomatedSuite
 AutomatedSuite findById(String id)
           
 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

AutomatedSuite createNewSuite()

findById

AutomatedSuite findById(String id)

findAll

List<AutomatedSuite> findAll()

findAllById

List<AutomatedSuite> findAllById(Collection<String> ids)

findAllExtenders

Collection<AutomatedExecutionExtender> findAllExtenders(String suiteId)
retrieve all the AutomatedExecutionExtender that this suite is bound to.

Parameters:
id -
Returns:

findAllWaitingExtenders

Collection<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<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<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<AutomatedExecutionExtender> findAllExtendersByStatus(String suiteId,
                                                                Collection<ExecutionStatus> statusList)
retrieve all the extenders of executions which status is one of the supplied status, for a given AutomatedSuite

Parameters:
id -
Returns:

initDetachedSuite

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-2012 Henix, henix.fr. All Rights Reserved.