Package net.caece.pri.hibernate

Examples of net.caece.pri.hibernate.AuthDao


        refreshObjEntities();
    }

    public void add() {
        Auth obj = (Auth) viewToObj(null);
        AuthDao dao = new AuthDao();
        add(dao, obj);
    }
View Full Code Here


        add(dao, obj);
    }

    public void delete() {
        Auth obj = (Auth) objListbox.getSelectedItem().getValue();
        AuthDao dao = new AuthDao();
        delete(dao, obj);

        // empty all fields
        Auth emptyObj = new Auth();
        objToView(emptyObj);
View Full Code Here

    public void update() {
        Auth obj = (Auth) objListbox.getSelectedItem().getValue();
        System.out.print("authName:" + obj.getAuthName() + ", authType:" + obj.getAuthType() + ", editable:" + obj.getEditable()
                + ", authDesc:" + obj.getAuthDescription() + ", operateBy:" + obj.getOperateBy() + ", operateAt" + obj.getOperateAt().toString());
        AuthDao dao = new AuthDao();
        update(dao, obj);
    }
View Full Code Here

TOP

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

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.