Package eja.ejb.entities

Examples of eja.ejb.entities.User


        return this.deleteAbstractObject(user);
    }

    @Override
    public User getLoggedUser() {
        User user;
        Principal p = this._sc.getCallerPrincipal();
        user = p.getName().equalsIgnoreCase("ANONYMOUS") ? new User() : this.getUserByLogin(p.getName());
        return user;
    }
View Full Code Here


    public Collection<UserRole> getAllRoles() {
        return this._roleDao.getAllRoles();
    }

    public String edit() {
        this._user = (!this.login.equals("")) ? this._userDao.getUserByLogin(this.login) : new User();
        this._user.setLogin(this.login);
        this._user.setPassword(this.password);
        this._user.setName(this.name);
        this._user.setSurname(this.surname);
        this._user.setRoles(this.roles);
View Full Code Here

TOP

Related Classes of eja.ejb.entities.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.