Package net.caece.pri.hibernate

Examples of net.caece.pri.hibernate.ServiceDao


        }
    }

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


        add(dao, obj);
    }

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

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

        super.refreshObjEntities("Service.getAll", objListRenderer);
    }

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

TOP

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

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.