@Repository public class HibernateInfoListItemDao extends HibernateEntityDao<org.squashtest.tm.domain.infolist.InfoListItem> implements InfoListItemDao
entityType| Constructor and Description |
|---|
HibernateInfoListItemDao() |
| Modifier and Type | Method and Description |
|---|---|
org.squashtest.tm.domain.infolist.InfoListItem |
findByCode(String code) |
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,
org.squashtest.tm.domain.infolist.InfoListItem defaultItem) |
void |
unbindFromLibraryObjects(long infoListId) |
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyNameclearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllByIds, findByIdclearFromCache, clearFromCache, flush, persist, persist, remove, removeAllpublic org.squashtest.tm.domain.infolist.SystemListItem getSystemRequirementCategory()
getSystemRequirementCategory in interface InfoListItemDaopublic org.squashtest.tm.domain.infolist.SystemListItem getSystemTestCaseNature()
getSystemTestCaseNature in interface InfoListItemDaopublic org.squashtest.tm.domain.infolist.SystemListItem getSystemTestCaseType()
getSystemTestCaseType in interface InfoListItemDaopublic org.squashtest.tm.domain.infolist.InfoListItem findByCode(String code)
findByCode in interface InfoListItemDaopublic org.squashtest.tm.domain.infolist.InfoListItem findReference(org.squashtest.tm.domain.infolist.ListItemReference reference)
findReference in interface InfoListItemDaopublic org.squashtest.tm.domain.infolist.InfoListItem findDefaultRequirementCategory(long projectId)
findDefaultRequirementCategory in interface InfoListItemDaopublic org.squashtest.tm.domain.infolist.InfoListItem findDefaultTestCaseNature(long projectId)
findDefaultTestCaseNature in interface InfoListItemDaopublic org.squashtest.tm.domain.infolist.InfoListItem findDefaultTestCaseType(long projectId)
findDefaultTestCaseType in interface InfoListItemDaopublic boolean isCategoryConsistent(long projectId,
String itemCode)
InfoListItemDaoisCategoryConsistent in interface InfoListItemDaopublic boolean isNatureConsistent(long projectId,
String itemCode)
InfoListItemDaoisNatureConsistent in interface InfoListItemDaopublic boolean isTypeConsistent(long projectId,
String itemCode)
InfoListItemDaoisTypeConsistent in interface InfoListItemDaopublic void unbindFromLibraryObjects(long infoListId)
unbindFromLibraryObjects in interface InfoListItemDaopublic boolean isUsed(long infoListItemId)
isUsed in interface InfoListItemDaopublic void removeInfoListItem(long infoListItemId,
org.squashtest.tm.domain.infolist.InfoListItem defaultItem)
removeInfoListItem in interface InfoListItemDaoCopyright © 2010-2015 Henix, henix.fr. All Rights Reserved.