Example #1
0
 @Override
 public long getProjectListNum(User user) {
   if (user != null && user.isUserInRole("admin")) {
     user = null;
   }
   return projectDao.getProjectListNum(user);
 }
Example #2
0
 @Override
 public long getProjectNum() {
   return projectDao.getProjectListNum();
 }