Ejemplo n.º 1
0
  private static void addCreatorSet(SolrInputDocument doc, Collection<SeadPerson> set) {
    if (set == null || set.size() == 0) {
      return;
    }

    for (SeadPerson creator : set) {
      setadd(doc, SeadSolrField.CreatorField.CREATORID, creator.getId());
      setadd(doc, SeadSolrField.CreatorField.CREATORIDTYPE, creator.getIdType());
      setadd(doc, SeadSolrField.CreatorField.NAME, creator.getName());
    }
  }
Ejemplo n.º 2
0
 private static void addSubmitter(SolrInputDocument doc, SeadPerson submitter) {
   add(doc, SeadSolrField.SubmitterField.NAME, submitter.getName());
   add(doc, SeadSolrField.SubmitterField.SUBMITTERID, submitter.getId());
   add(doc, SeadSolrField.SubmitterField.SUBMITTERIDTYPE, submitter.getIdType());
 }