Package net.caece.fmII.hibernate

Examples of net.caece.fmII.hibernate.SupplierDao


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

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


        add(dao, obj);
    }

    public void update() {
        Supplier obj = (Supplier) objListbox.getSelectedItem().getValue();
        SupplierDao dao = new SupplierDao();
        update(dao, obj);
    }
View Full Code Here

    }

    public void delete() {

        Supplier obj = (Supplier) objListbox.getSelectedItem().getValue();
        SupplierDao dao = new SupplierDao();
        delete(dao, obj);

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

TOP

Related Classes of net.caece.fmII.hibernate.SupplierDao

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.