Skip to content

Commit

Permalink
Implement fetch of contacts
Browse files Browse the repository at this point in the history
  • Loading branch information
douglm committed Jun 22, 2018
1 parent cf94c92 commit 6c99a07
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import org.bedework.calfacade.annotations.Dump;
import org.bedework.calfacade.annotations.NoDump;
import org.bedework.calfacade.annotations.ical.IcalProperties;
import org.bedework.calfacade.annotations.ical.IcalProperty;
import org.bedework.calfacade.base.CollatableEntity;
import org.bedework.calfacade.base.SizedEntity;
Expand Down Expand Up @@ -64,8 +65,14 @@ public BwContact() {
*
* @param val BwString name
*/
@IcalProperty(pindex = PropertyInfoIndex.CN,
analyzed = true)
@IcalProperties({
@IcalProperty(pindex = PropertyInfoIndex.CN,
analyzed = true),
@IcalProperty(pindex = PropertyInfoIndex.CONTACT_ALL,
jname = "contact_all",
termsField = "contact_all_terms",
analyzed = true)
})
public void setCn(final BwString val) {
cn = val;
}
Expand Down

0 comments on commit 6c99a07

Please sign in to comment.