Examples of FunDao


Examples of net.caece.pri.hibernate.FunDao

            obj.setFun(parent);

            //layer
            obj.setLayer((parentLevel + 1) + "");
            obj.setLayerSeq((currentLayerSeq + 1) + "");
            FunDao dao = new FunDao();
            dao.create(obj);
        } else {
            FunDao dao = new FunDao();
            dao.create(obj);
            obj.setFun(obj);
            obj.setLayer("0");
            dao.update(obj);
        }

        refreshObjEntities();

    }
View Full Code Here

Examples of net.caece.pri.hibernate.FunDao


        Fun obj = (Fun) viewToObj(var);
        obj.setFun(parentFun);

        FunDao dao = new FunDao();
        dao.update(obj);

        refreshObjEntities();
    }
View Full Code Here

Examples of net.caece.pri.hibernate.FunDao

            }
        }

        Fun obj = (Fun) viewToObj(var);

        FunDao dao = new FunDao();
        dao.delete(obj);

        refreshObjEntities();


    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.