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