Examples of MechanicDao


Examples of net.caece.fmII.hibernate.MechanicDao

    }

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

Examples of net.caece.fmII.hibernate.MechanicDao

        add(dao, obj);
    }

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

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

Examples of net.caece.fmII.hibernate.MechanicDao

        refreshObjEntities("Mechanic.getAll", objListRenderer);
    }

    public void update() {
        MechanicForm obj = (MechanicForm) objListbox.getSelectedItem().getValue();
        MechanicDao dao = new MechanicDao();
        update(dao, obj);
    }
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.