|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.csp.tm.internal.service.ExecutionModificationServiceImpl
@Service(value="squashtest.tm.service.ExecutionModificationService") public class ExecutionModificationServiceImpl
| Constructor Summary | |
|---|---|
ExecutionModificationServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
deleteExecution(Execution execution)
that method should delete the execution. |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<Execution>> |
findAllByTestCaseId(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
Fetches all the executions which ran a given test case and matching the given paging and sorting instructions. |
List<Execution> |
findAllByTestCaseIdOrderByRunDate(long testCaseId,
org.squashtest.tm.core.foundation.collection.Paging paging)
|
Execution |
findAndInitExecution(Long executionId)
|
Execution |
findById(long id)
|
int |
findExecutionRank(Long executionId)
|
ExecutionStep |
findExecutionStepById(long id)
|
List<ExecutionStep> |
findExecutionSteps(long executionId)
|
FilteredCollectionHolder<List<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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecutionModificationServiceImpl()
| Method Detail |
|---|
public Execution findAndInitExecution(Long executionId)
findAndInitExecution in interface ExecutionModificationService
@PreAuthorize(value="hasPermission(#executionId, \'org.squashtest.csp.tm.domain.execution.Execution\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')")
public void setExecutionDescription(Long executionId,
String description)
setExecutionDescription in interface ExecutionModificationServicepublic List<ExecutionStep> findExecutionSteps(long executionId)
findExecutionSteps in interface ExecutionFinderpublic int findExecutionRank(Long executionId)
findExecutionRank in interface ExecutionFinder
@PreAuthorize(value="hasPermission(#executionStepId, \'org.squashtest.csp.tm.domain.execution.ExecutionStep\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')")
public void setExecutionStepComment(Long executionStepId,
String comment)
setExecutionStepComment in interface ExecutionModificationService
public FilteredCollectionHolder<List<ExecutionStep>> findExecutionSteps(long executionId,
org.squashtest.tm.core.foundation.collection.Paging filter)
ExecutionModificationService
findExecutionSteps in interface ExecutionModificationService@PreAuthorize(value="hasPermission(#execId, \'org.squashtest.csp.tm.domain.execution.Execution\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')") public List<SuppressionPreviewReport> simulateExecutionDeletion(Long execId)
ExecutionModificationService
simulateExecutionDeletion in interface ExecutionModificationServicepublic void deleteExecution(Execution execution)
ExecutionModificationService
deleteExecution in interface ExecutionModificationServicepublic Execution findById(long id)
findById in interface ExecutionFinderpublic ExecutionStep findExecutionStepById(long id)
findExecutionStepById in interface ExecutionFinder
public List<Execution> findAllByTestCaseIdOrderByRunDate(long testCaseId,
org.squashtest.tm.core.foundation.collection.Paging paging)
findAllByTestCaseIdOrderByRunDate in interface ExecutionFinderorg.squashtest.csp.tm.service.ExecutionFinder#findAllByTestCaseIdOrderByRunDate(long, org.squashtest.csp.core.infrastructure.collection.Paging)
public org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<Execution>> findAllByTestCaseId(long testCaseId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting pas)
ExecutionFinder
findAllByTestCaseId in interface ExecutionFinderpas - Paging and sorting data, should not be null
FilteredCollectionHolder holding the results. Should never return null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||