@Transactional @Service(value="squashtest.tm.service.InfoListItemManagerService") public class InfoListItemManagerServiceImpl extends Object implements InfoListItemManagerService
| Constructor and Description |
|---|
InfoListItemManagerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfoListItem(long infoListId,
org.squashtest.tm.domain.infolist.InfoListItem item) |
void |
changeCode(long infoListItemId,
String newCode) |
void |
changeDefault(long infoListItemId) |
void |
changeIcon(long infoListItemId,
String icon) |
void |
changeLabel(long infoListItemId,
String newLabel) |
org.squashtest.tm.domain.infolist.InfoListItem |
findByCode(String code) |
org.squashtest.tm.domain.infolist.InfoListItem |
findById(Long id) |
org.squashtest.tm.domain.infolist.InfoListItem |
findDefaultRequirementCategory(long projectId) |
org.squashtest.tm.domain.infolist.InfoListItem |
findDefaultTestCaseNature(long projectId) |
org.squashtest.tm.domain.infolist.InfoListItem |
findDefaultTestCaseType(long projectId) |
org.squashtest.tm.domain.infolist.InfoListItem |
findReference(org.squashtest.tm.domain.infolist.ListItemReference reference) |
org.squashtest.tm.domain.infolist.SystemListItem |
getSystemRequirementCategory() |
org.squashtest.tm.domain.infolist.SystemListItem |
getSystemTestCaseNature() |
org.squashtest.tm.domain.infolist.SystemListItem |
getSystemTestCaseType() |
boolean |
isCategoryConsistent(long projectId,
String itemCode)
Tells whether the given item belongs to the categories assigned to this project
|
boolean |
isNatureConsistent(long projectId,
String itemCode)
Tells whether the given item belongs to the natures assigned to this project
|
boolean |
isTypeConsistent(long projectId,
String itemCode)
Tells whether the given item belongs to the types assigned to this project
|
boolean |
isUsed(long infoListItemId) |
void |
removeInfoListItem(long infoListItemId,
long infoListId) |
public org.squashtest.tm.domain.infolist.SystemListItem getSystemRequirementCategory()
getSystemRequirementCategory in interface InfoListItemFinderServicepublic org.squashtest.tm.domain.infolist.SystemListItem getSystemTestCaseNature()
getSystemTestCaseNature in interface InfoListItemFinderServicepublic void changeCode(long infoListItemId,
String newCode)
changeCode in interface InfoListItemManagerServicepublic void changeLabel(long infoListItemId,
String newLabel)
changeLabel in interface InfoListItemManagerServicepublic void changeDefault(long infoListItemId)
changeDefault in interface InfoListItemManagerServicepublic void changeIcon(long infoListItemId,
String icon)
changeIcon in interface InfoListItemManagerServicepublic void addInfoListItem(long infoListId,
org.squashtest.tm.domain.infolist.InfoListItem item)
addInfoListItem in interface InfoListItemManagerServicepublic org.squashtest.tm.domain.infolist.SystemListItem getSystemTestCaseType()
getSystemTestCaseType in interface InfoListItemFinderServicepublic org.squashtest.tm.domain.infolist.InfoListItem findById(Long id)
findById in interface InfoListItemFinderServicepublic org.squashtest.tm.domain.infolist.InfoListItem findByCode(String code)
findByCode in interface InfoListItemFinderServicepublic org.squashtest.tm.domain.infolist.InfoListItem findReference(org.squashtest.tm.domain.infolist.ListItemReference reference)
findReference in interface InfoListItemFinderServicepublic org.squashtest.tm.domain.infolist.InfoListItem findDefaultRequirementCategory(long projectId)
findDefaultRequirementCategory in interface InfoListItemFinderServicepublic org.squashtest.tm.domain.infolist.InfoListItem findDefaultTestCaseNature(long projectId)
findDefaultTestCaseNature in interface InfoListItemFinderServicepublic org.squashtest.tm.domain.infolist.InfoListItem findDefaultTestCaseType(long projectId)
findDefaultTestCaseType in interface InfoListItemFinderServicepublic boolean isCategoryConsistent(long projectId,
String itemCode)
InfoListItemFinderServiceisCategoryConsistent in interface InfoListItemFinderServicepublic boolean isNatureConsistent(long projectId,
String itemCode)
InfoListItemFinderServiceisNatureConsistent in interface InfoListItemFinderServicepublic boolean isTypeConsistent(long projectId,
String itemCode)
InfoListItemFinderServiceisTypeConsistent in interface InfoListItemFinderServicepublic boolean isUsed(long infoListItemId)
isUsed in interface InfoListItemManagerServicepublic void removeInfoListItem(long infoListItemId,
long infoListId)
removeInfoListItem in interface InfoListItemManagerServiceCopyright © 2010–2017 Henix, henix.fr. All rights reserved.