示例#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);
 }