예제 #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);
 }