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