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

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

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

    return dao.retrieve(id);
  }