Package be.c4j.demo.security.demo.model.dto

Examples of be.c4j.demo.security.demo.model.dto.UserWithPermission


    @Lock(LockType.READ)
    public List<UserWithPermission> getAvailableUsersWithInfo() {
        List<UserWithPermission> result = new ArrayList<UserWithPermission>();
        for (Principal principal : principals.values()) {
            String permissionInfo = getPermissionInfo(principal);
            result.add(new UserWithPermission(principal.getUserName(), principal.getEmployee().getName(), permissionInfo));
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of be.c4j.demo.security.demo.model.dto.UserWithPermission

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.