@Override
  public Role findRoleById(String id) {
    if (!StringUtils.hasText(id)) {
      return null;
    }

    Role r = roleDao.findOne(id);
    if (r != null) {
      r.getPermissionSet().size();
      r.getMenuSet().size();
    }

    return r;
  }
 @Override
 public Long countAllRoles() {
   return roleDao.count();
 }
 @Override
 public Page<Role> findAllRoles(Pageable pageable) {
   return roleDao.findAll(pageable);
 }
 @Override
 public void delete(Role role) {
   roleDao.delete(role);
 }
 @Override
 public void save(Role role) {
   roleDao.save(role);
 }