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