Пример #1
0
 public void deleteRole(Long id) {
   roleDao.delete(id);
 }
Пример #2
0
 @Transactional(readOnly = true)
 public List<Role> getAllRole() {
   return roleDao.getAll("id", true);
 }
Пример #3
0
 public void saveRole(Role entity) {
   roleDao.save(entity);
 }
Пример #4
0
 // -- Role Manager --//
 @Transactional(readOnly = true)
 public Role getRole(Long id) {
   return roleDao.get(id);
 }