try { if (command.hasOption(OPT_NETID.getOpt())) { eperson = ePersonService.findByNetid(context, command.getOptionValue(OPT_NETID.getOpt())); } else if (command.hasOption(OPT_EMAIL.getOpt())) { eperson = ePersonService.findByEmail(context, command.getOptionValue(OPT_EMAIL.getOpt()));
try { if (command.hasOption(OPT_NETID.getOpt())) { eperson = ePersonService.findByNetid(context, command.getOptionValue(OPT_NETID.getOpt())); } else if (command.hasOption(OPT_EMAIL.getOpt())) { eperson = ePersonService.findByEmail(context, command.getOptionValue(OPT_EMAIL.getOpt()));
ePerson = ePersonService.findByEmail(ctx, name); if (null == ePerson) { ePerson = ePersonService.findByNetid(ctx, name);
eperson = ePersonService.findByNetid(context, netid);
collider = ePersonService.findByNetid(context, identity); } else { throw new PackageException("EPerson has neither email nor netid.");
person = ePersonService.findByNetid(context, personEmail);
eperson = ePersonService.findByNetid(context, netid.toLowerCase()); } catch (SQLException e) {
epObo = ePersonService.findByEmail(context, obo); if (epObo == null) { epObo = ePersonService.findByNetid(context, obo);
epObo = ePersonService.findByEmail(context, obo); if (epObo == null) { epObo = ePersonService.findByNetid(context, obo);