@Test public void isSuperManagerByUserNoTest() throws Exception { Assert.assertTrue(permissionService.isSuperManagerByUserNo("1")); }
public boolean isSuperManagerByUserNo(String userNo) throws SQLException { if (null == userNo) { return false; } LoginUser user = loginUserDao.getUserByNo(userNo); return isSuperManagerById(user.getId()); }
PermissionService { public boolean isSuperManagerByUserNo(String userNo) throws SQLException { if (null == userNo) { return false; } LoginUser user = loginUserDao.getUserByNo(userNo); return isSuperManagerById(user.getId()); } }
PermissionService { public boolean isSuperManagerByUserNo(String userNo) throws SQLException { if (null == userNo) { return false; } LoginUser user = loginUserDao.getUserByNo(userNo); return isSuperManagerById(user.getId()); }  }
PermissionService { public boolean isSuperManagerByUserNo(String userNo) throws SQLException { if (null == userNo) { return false; } LoginUser user = loginUserDao.getUserByNo(userNo); return isSuperManagerById(user.getId()); }  boolean isSuperManagerById(Long id); boolean isSuperManagerByUserNo(String userNo); boolean isNormalSuperManagerById(Long userId); boolean isManagerById(Long id); boolean isGroupManagerById(Long groupId, Long userId); boolean isNormalManagerById(Long groupId, Long userId); boolean isProjectPermission(Long projectId, Long userId); }
PermissionService { public boolean isSuperManagerByUserNo(String userNo) throws SQLException { if (null == userNo) { return false; } LoginUser user = loginUserDao.getUserByNo(userNo); return isSuperManagerById(user.getId()); }  boolean isSuperManagerById(Long id); boolean isSuperManagerByUserNo(String userNo); boolean isNormalSuperManagerById(Long userId); boolean isManagerById(Long id); boolean isGroupManagerById(Long groupId, Long userId); boolean isNormalManagerById(Long groupId, Long userId); boolean isProjectPermission(Long projectId, Long userId);  }