org.squashtest.tm.service.execution
Interface ExecutionModificationService

All Superinterfaces:
ExecutionFinder
All Known Implementing Classes:
ExecutionModificationServiceImpl

@Transactional(readOnly=false)
public interface ExecutionModificationService
extends ExecutionFinder


Method Summary
 void deleteExecution(org.squashtest.tm.domain.execution.Execution execution)
          that method should delete the execution.
 org.squashtest.tm.domain.execution.Execution findAndInitExecution(Long executionId)
           
 org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.execution.ExecutionStep>> findExecutionSteps(long executionId, org.squashtest.tm.core.foundation.collection.Paging filter)
          Steps methods
 void setExecutionDescription(Long executionId, String description)
           
 void setExecutionStepComment(Long executionStepId, String comment)
           
 List<SuppressionPreviewReport> simulateExecutionDeletion(Long execId)
          that method should investigate the consequences of the deletion of the given executions, and return a report about what will happen.
 
Methods inherited from interface org.squashtest.tm.service.execution.ExecutionFinder
findAllByTestCaseId, findAllByTestCaseIdOrderByRunDate, findById, findExecutionRank, findExecutionStepById, findExecutionSteps
 

Method Detail

findAndInitExecution

org.squashtest.tm.domain.execution.Execution findAndInitExecution(Long executionId)

setExecutionDescription

void setExecutionDescription(Long executionId,
                             String description)

findExecutionSteps

org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.execution.ExecutionStep>> findExecutionSteps(long executionId,
                                                                                                                                              org.squashtest.tm.core.foundation.collection.Paging filter)
Steps methods


setExecutionStepComment

void setExecutionStepComment(Long executionStepId,
                             String comment)

simulateExecutionDeletion

List<SuppressionPreviewReport> simulateExecutionDeletion(Long execId)
that method should investigate the consequences of the deletion of the given executions, and return a report about what will happen.

Parameters:
targetIds -
Returns:

deleteExecution

void deleteExecution(org.squashtest.tm.domain.execution.Execution execution)
that method should delete the execution. It still takes care of non deletable executions so the implementation should abort if the execution can't be deleted.

Parameters:
targetIds -
Throws:
RuntimeException - if the execution should not be deleted.


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