org.squashtest.csp.tm.service
Interface ExecutionModificationService

All Known Implementing Classes:
ExecutionModificationServiceImpl

@Transactional
public interface ExecutionModificationService


Method Summary
 void deleteExecution(Execution execution)
          that method should delete the execution.
 Execution findAndInitExecution(Long executionId)
           
 Execution findExecution(Long executionId)
           
 int findExecutionRank(Long executionId)
           
 List<ExecutionStep> getExecutionSteps(Long executionId)
          Steps methods
 FilteredCollectionHolder<List<ExecutionStep>> getExecutionSteps(long executionId, CollectionFilter filter)
           
 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.
 

Method Detail

findExecution

Execution findExecution(Long executionId)

findAndInitExecution

Execution findAndInitExecution(Long executionId)

setExecutionDescription

void setExecutionDescription(Long executionId,
                             String description)

getExecutionSteps

List<ExecutionStep> getExecutionSteps(Long executionId)
Steps methods


getExecutionSteps

FilteredCollectionHolder<List<ExecutionStep>> getExecutionSteps(long executionId,
                                                                CollectionFilter filter)

findExecutionRank

int findExecutionRank(Long executionId)

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(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-2012 Squashtest TM, Squashtest.org. All Rights Reserved.