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