@Override public TCAProfileVO readByAdminUserId(Long profileId) { ETSAdminUser adminUser = (ETSAdminUser) etsAdminUserDao.readAdminUserById(profileId); TCAProfileVO tcaProfile = new TCAProfileVO(); tcaProfile.setAdminUser(adminUser); return tcaProfile; }
@Override public boolean isUsernameAvailable(String userName) { boolean isAvailable = true; if (eregUtils.isOAMAuthentication()) { isAvailable = eiasWebServiceClient.searchUser(userName); } else { isAvailable = (null == etsAdminUserDao.readAdminUserByUserName(userName)); } return isAvailable; }
@Override public ETSAdminUser findUserByUsernameAndInternalFlag(String username, Boolean internalUserFlag) { return etsAdminUserDao.findUserByUsernameAndInternalFlag(username, internalUserFlag); }
@Override public ETSAdminUser findUserByGuId(String guid) { return etsAdminUserDao.findUserByGuId(guid); }
@Override public List<AdminUser> readUserByEmail(String email) { return etsAdminUserDao.readAdminUserByEmail(email); }