|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.csp.tm.internal.service.IterationTestPlanManagerServiceImpl
@Service(value="squashtest.tm.service.IterationTestPlanManagerService") @Transactional public class IterationTestPlanManagerServiceImpl
| Constructor Summary | |
|---|---|
IterationTestPlanManagerServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
addTestCasesToIteration(List<Long> objectsIds,
long iterationId)
Adds a list of test cases to a campaign. |
void |
assignUserToTestPlanItem(Long testPlanId,
long iterationId,
Long userId)
Assign User with Write Access to a TestPlan item. |
void |
assignUserToTestPlanItems(List<Long> testPlanIds,
long iterationId,
Long userId)
Assign User with Write Access to a multiple TestPlan items. |
List<User> |
findAssignableUserForTestPlan(long iterationId)
Get Users with Write Access for an Iteration and its TestPlan. |
Iteration |
findIteration(long iterationId)
Find a iteration using its id |
List<TestCaseLibrary> |
findLinkableTestCaseLibraries()
Returns a collection of TestCaseLibrary, the test cases of
which may be added to the campaign |
List<TestCase> |
findPlannedTestCases(Long iterationId)
|
FilteredCollectionHolder<List<IterationTestPlanItem>> |
findTestPlan(long iterationId,
CollectionSorting filter)
|
IterationTestPlanItem |
findTestPlanItem(Long iterationId,
Long itemTestPlanId)
|
IterationTestPlanItem |
findTestPlanItemByTestCaseId(long iterationId,
long testCaseId)
Adds a list of test cases to a campaign. |
boolean |
removeTestPlanFromIteration(Long testPlanId,
long iterationId)
Removes a test case from a campaign excepted the test plans which were executed |
boolean |
removeTestPlansFromIteration(List<Long> testPlanIds,
long iterationId)
Removes a list of test cases from a campaign excepted the test plans which were executed |
void |
setObjectAclService(org.squashtest.csp.core.security.acls.model.ObjectAclService aclService)
|
void |
setObjectIdentityRetrievalStrategy(org.springframework.security.acls.model.ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy)
|
void |
updateTestCaseLastExecutedByAndOn(IterationTestPlanItem givenTestPlan,
Date lastExecutedOn,
String lastExecutedBy)
Update item test plan lastExecuted data (by and on) (for the moment they're constants) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IterationTestPlanManagerServiceImpl()
| Method Detail |
|---|
@ServiceReference public void setObjectAclService(org.squashtest.csp.core.security.acls.model.ObjectAclService aclService)
@ServiceReference public void setObjectIdentityRetrievalStrategy(org.springframework.security.acls.model.ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy)
public Iteration findIteration(long iterationId)
IterationTestPlanManagerService
findIteration in interface IterationTestPlanManagerService@PostFilter(value="hasPermission(filterObject, \'READ\') or hasRole(\'ROLE_ADMIN\')") public List<TestCaseLibrary> findLinkableTestCaseLibraries()
IterationTestPlanManagerServiceTestCaseLibrary, the test cases of
which may be added to the campaign
findLinkableTestCaseLibraries in interface IterationTestPlanManagerService
@PreAuthorize(value="hasPermission(#iterationId, \'org.squashtest.csp.tm.domain.campaign.Iteration\', \'WRITE\') or hasRole(\'ROLE_ADMIN\')")
public void addTestCasesToIteration(List<Long> objectsIds,
long iterationId)
IterationTestPlanManagerService
addTestCasesToIteration in interface IterationTestPlanManagerService
@PreAuthorize(value="hasPermission(#iterationId, \'org.squashtest.csp.tm.domain.campaign.Iteration\', \'WRITE\') or hasRole(\'ROLE_ADMIN\')")
public boolean removeTestPlansFromIteration(List<Long> testPlanIds,
long iterationId)
IterationTestPlanManagerService
removeTestPlansFromIteration in interface IterationTestPlanManagerServicetestPlanIds - the ids of the test plan managing that test case for that iterationiterationId - the id of the iteration
@PreAuthorize(value="hasPermission(#iterationId, \'org.squashtest.csp.tm.domain.campaign.Iteration\', \'WRITE\') or hasRole(\'ROLE_ADMIN\')")
public boolean removeTestPlanFromIteration(Long testPlanId,
long iterationId)
IterationTestPlanManagerService
removeTestPlanFromIteration in interface IterationTestPlanManagerServicetestPlanId - the id of the test plan managing that test case for that iteration
@PreAuthorize(value="hasPermission(#iterationId, \'org.squashtest.csp.tm.domain.campaign.Iteration\', \'READ\') or hasRole(\'ROLE_ADMIN\')") public List<TestCase> findPlannedTestCases(Long iterationId)
findPlannedTestCases in interface IterationTestPlanManagerService
public void updateTestCaseLastExecutedByAndOn(IterationTestPlanItem givenTestPlan,
Date lastExecutedOn,
String lastExecutedBy)
IterationTestPlanManagerService
updateTestCaseLastExecutedByAndOn in interface IterationTestPlanManagerServicegivenTestPlan - : the test plan to update
public FilteredCollectionHolder<List<IterationTestPlanItem>> findTestPlan(long iterationId,
CollectionSorting filter)
findTestPlan in interface IterationTestPlanManagerServicepublic List<User> findAssignableUserForTestPlan(long iterationId)
IterationTestPlanManagerService
findAssignableUserForTestPlan in interface IterationTestPlanManagerService
public void assignUserToTestPlanItem(Long testPlanId,
long iterationId,
Long userId)
IterationTestPlanManagerService
assignUserToTestPlanItem in interface IterationTestPlanManagerService
public void assignUserToTestPlanItems(List<Long> testPlanIds,
long iterationId,
Long userId)
IterationTestPlanManagerService
assignUserToTestPlanItems in interface IterationTestPlanManagerService
public IterationTestPlanItem findTestPlanItemByTestCaseId(long iterationId,
long testCaseId)
IterationTestPlanManagerService
findTestPlanItemByTestCaseId in interface IterationTestPlanManagerService
public IterationTestPlanItem findTestPlanItem(Long iterationId,
Long itemTestPlanId)
findTestPlanItem in interface IterationTestPlanManagerService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||