Package com.ibs.academic.models

Examples of com.ibs.academic.models.Subject


    private Subject item;
    private DAOSubject daoSubject;

    @PostConstruct
    public void init() {
        item = new Subject();
        daoSubject = DAOSubject.getInstance();
        list = daoSubject.find().asList();

    }
View Full Code Here


        list = daoSubject.find().asList();

    }

    public void newItem (){
        item = new Subject();
    }
View Full Code Here

    }

    public void add() {
        daoSubject.save(item);
        list = daoSubject.find().asList();
        item = new Subject(); // Reset placeholder.
    }
View Full Code Here

TOP

Related Classes of com.ibs.academic.models.Subject

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.