@Repository(value="squashtest.tm.repository.CampaignLibraryNodeDao") public class HibernateCampaignLibraryNodeDao extends HibernateEntityDao<org.squashtest.tm.domain.campaign.CampaignLibraryNode> implements LibraryNodeDao<org.squashtest.tm.domain.campaign.CampaignLibraryNode>, EntityDao<org.squashtest.tm.domain.campaign.CampaignLibraryNode>
entityManager, entityType| Constructor and Description |
|---|
HibernateCampaignLibraryNodeDao() |
| Modifier and Type | Method and Description |
|---|---|
Long |
findNodeIdByPath(String path) |
List<Long> |
findNodeIdsByPath(List<String> paths)
Returns the ids of the node for each path in list.
|
List<Long> |
getParentsIds(long entityId)
Returns the ids path.
|
List<String> |
getParentsName(long entityId)
Returns the path of the given entity.
|
findAll, findAllByIds, findById, findDescendantIds, getIdPropertyNamecurrentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAll, findAllByIds, findByIdpublic List<String> getParentsName(long entityId)
LibraryNodeDaogetParentsName in interface LibraryNodeDao<org.squashtest.tm.domain.campaign.CampaignLibraryNode>public List<Long> getParentsIds(long entityId)
LibraryNodeDaogetParentsIds in interface LibraryNodeDao<org.squashtest.tm.domain.campaign.CampaignLibraryNode>public List<Long> findNodeIdsByPath(List<String> paths)
LibraryNodeDaofindNodeIdsByPath in interface LibraryNodeDao<org.squashtest.tm.domain.campaign.CampaignLibraryNode>paths - The paths list. This method expect that the first path of the list is the project.public Long findNodeIdByPath(String path)
findNodeIdByPath in interface LibraryNodeDao<org.squashtest.tm.domain.campaign.CampaignLibraryNode>Copyright © 2010–2017 Henix, henix.fr. All rights reserved.