From 6c99a071ca573a23a8c99674c8f9980169b5f535 Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 22 Jun 2018 17:05:35 -0400 Subject: [PATCH] Implement fetch of contacts --- .../main/java/org/bedework/calfacade/BwContact.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/bw-calendar-engine-facade/src/main/java/org/bedework/calfacade/BwContact.java b/bw-calendar-engine-facade/src/main/java/org/bedework/calfacade/BwContact.java index f3232da1..ba0cdbcf 100644 --- a/bw-calendar-engine-facade/src/main/java/org/bedework/calfacade/BwContact.java +++ b/bw-calendar-engine-facade/src/main/java/org/bedework/calfacade/BwContact.java @@ -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; @@ -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; }