/** * Return only children of wikittyId passed in argument * * @param clazz * @param wikittyId * @param filter * @return * * @deprecated since 3.1: use {@link #findTreeNode(java.lang.Class, java.lang.String, int, boolean, org.nuiton.wikitty.search.Criteria) } or open new ticket with your need */ @Deprecated public <E extends BusinessEntity> Map<E, Integer> findTreeNode( Class<E> clazz, String wikittyId, Criteria filter) { long start = TimeLog.getTime(); TreeNodeResult<E> tree = findTreeNode(clazz, wikittyId, 1, true, filter); Map<E, Integer> result = new LinkedHashMap<E, Integer>(); for (TreeNodeResult<E> child : tree.getChildren()) { result.put(child.getObject(), child.getAttCount()); } timeLog.log(start, "findTreeNode"); return result; }