@Repository(value="squashtest.tm.repository.RequirementLibraryNodeDao") public class HibernateRequirementLibraryNodeDao extends HibernateEntityDao<org.squashtest.tm.domain.requirement.RequirementLibraryNode> implements LibraryNodeDao<org.squashtest.tm.domain.requirement.RequirementLibraryNode>
entityManager, entityType| Constructor and Description |
|---|
HibernateRequirementLibraryNodeDao() |
| 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.requirement.RequirementLibraryNode>public List<Long> getParentsIds(long entityId)
LibraryNodeDaogetParentsIds in interface LibraryNodeDao<org.squashtest.tm.domain.requirement.RequirementLibraryNode>public List<Long> findNodeIdsByPath(List<String> paths)
LibraryNodeDaofindNodeIdsByPath in interface LibraryNodeDao<org.squashtest.tm.domain.requirement.RequirementLibraryNode>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.requirement.RequirementLibraryNode>Copyright © 2010–2017 Henix, henix.fr. All rights reserved.