Example #1
0
 @Override
 @Transactional(readOnly = true)
 public List<User> getAllManagers() {
   return userDao.getAllUsersWithRole("ROLE_MANAGER");
 }
Example #2
0
 public List<User> getAllServiceReps() {
   return userDao.getAllUsersWithRole("ROLE_SERVICEREP");
 }
Example #3
0
 @Override
 @Transactional(readOnly = true)
 public List<User> getAllAdmins() {
   return userDao.getAllUsersWithRole("ROLE_ADMIN");
 }