Package net.caece.pri.hibernate

Examples of net.caece.pri.hibernate.OrgDao


        if (objTree.getSelectedItem() != null) {
            SimpleTreeNode node = (SimpleTreeNode) objTree.getSelectedItem().getValue();
            Org parent = (Org) node.getData();
            obj.setOrg(parent);
        }
        OrgDao dao = new OrgDao();
        dao.create(obj);


        refreshObjEntities();

        // set selected in the new node
View Full Code Here


            }
        }

        Org obj = (Org) viewToObj(var);

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

        refreshObjEntities();


    }
View Full Code Here

        Org obj = (Org) viewToObj(var);
        Org parentOrg = getById(var.getParentOrgId());
        obj.setOrg(parentOrg);

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

        refreshObjEntities();
    }
View Full Code Here

TOP

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

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.