Package net.caece.pri.hibernate

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



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

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

        refreshObjEntities();
    }
View Full Code Here

            }
        }

        Fun obj = (Fun) viewToObj(var);

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

        refreshObjEntities();


    }
View Full Code Here

TOP

Related Classes of net.caece.pri.hibernate.FunDao

Copyright © 2018 www.massapicom. 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.