Example #1
0
  @Deprecated
  public static EPerson findByEmail(Context context, String email) {
    EPersonDAO dao = EPersonDAOFactory.getInstance(context);

    return dao.retrieve(EPersonMetadataField.EMAIL, email);
  }
Example #2
0
  @Deprecated
  public static EPerson findByNetid(Context context, String netid) {
    EPersonDAO dao = EPersonDAOFactory.getInstance(context);

    return dao.retrieve(EPersonMetadataField.NETID, netid);
  }
Example #3
0
  @Deprecated
  public static EPerson find(Context context, int id) {
    EPersonDAO dao = EPersonDAOFactory.getInstance(context);

    return dao.retrieve(id);
  }