- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
- Parameters
-
Definition at line 33 of file DaoTree.java.
◆ DaoTree()
◆ fillRoot()
Definition at line 68 of file DaoTree.java.
70 if(childrenClause !=
null) {
71 for(E e : (List<E>)
dao.getResultList(childrenClause)) {
73 Item i = item.addChild(
this, item, e, getId(e));
79 if(leafClause !=
null) {
80 for(E e : (List<E>)
dao.getResultList(leafClause)) {
82 item.addLeaf(
this, item, e, getId(e));
abstract WhereClause getChildrenClause(String currPath)
abstract WhereClause getLeafClause(String currPath)
◆ fillTree()
Definition at line 45 of file DaoTree.java.
48 if(childrenClause !=
null) {
49 for(E e : (List<E>)
dao.getResultList(childrenClause)) {
51 Item i = addRoot(e, getId(e));
59 if(leafClause !=
null) {
60 for(E e : (List<E>)
dao.getResultList(leafClause)) {
◆ getChildrenClause()
◆ getDao()
◆ getLeafClause()
◆ dao
The documentation for this class was generated from the following file: