Package ru.portnyagin.helpdeskru.model

Examples of ru.portnyagin.helpdeskru.model.Role


    public Object getAsObject(FacesContext context, UIComponent component, String value) {
        if (value == null || value.length() == 0){
            return null;
        }

        Role role = roleService.find(Long.valueOf(value));

        if (role == null) {
            throw new ConverterException(new FacesMessage("Unknown Role ID: " + value));
        }
View Full Code Here


        getUserHDService().remove(currentUser);
    }
   
    public void addNewUser() {
        currentUser = new UserHD();
        currentUser.setRole(new Role());
        listAllUsers.add(0, currentUser);
    }
View Full Code Here

TOP

Related Classes of ru.portnyagin.helpdeskru.model.Role

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.