コード例 #1
0
 /**
  * Return list of all items
  *
  * @return list of all items
  * @throws ServiceException
  */
 @Override
 public Set<Role> getAllRoles() throws ServiceException {
   Set<Role> roles;
   try {
     roles = roleDao.getAll();
   } catch (DaoException e) {
     throw new ServiceException(e);
   }
   return roles;
 }