Package com.ibs.academic.models

Examples of com.ibs.academic.models.User



    }

    public String logout(){
        setCurrentUser(new User());
        setPassword("");
        setUsername("");
        setLoggedIn(false);
        return "/views/login.xhtml?faces-redirect=true";
View Full Code Here


    private DAOUser daoUser;
    private boolean updateItem;

    @PostConstruct
    public void init(){
        userItem = new User();
        daoUser = DAOUser.getInstance();
        userList = daoUser.listAllUsers();
        roles = daoUser.getRolesAvailable();

    }
View Full Code Here

    }

    public void add(){
        daoUser.save(userItem);
        userList.add(userItem);
        userItem = new User();
        setUpdateItem(false);
    }
View Full Code Here

        setUpdateItem(false);
    }

    public void save(){
        daoUser.save(userItem);
        userItem = new User();
        setUpdateItem(false);
    }
View Full Code Here

TOP

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

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.