protected Element addAppointmentHit(ZimbraSoapContext zc, Element response, AppointmentHit ah, boolean inline, SearchParams params)
protected Element addAppointmentHit(ZimbraSoapContext zsc, Element response, AppointmentHit ah, boolean inline, SearchParams params)
    protected Element addAppointmentHit(ZimbraSoapContext zc, Element response, AppointmentHit ah, boolean inline, SearchParams params)    throws ServiceException {        Appointment appt = ah.getAppointment();        Element m;        if (inline) {            m = ToXML.encodeApptSummary(response, zc, appt, PendingModifications.Change.ALL_FIELDS);//          if (!msg.getFragment().equals(""))//          m.addAttribute(MailService.E_FRAG, msg.getFragment(), Element.DISP_CONTENT);        } else {            m = ToXML.encodeApptSummary(response, zc, appt, PendingModifications.Change.ALL_FIELDS);        }        if (ah.getScore() != 0) {            m.addAttribute(MailService.A_SCORE, ah.getScore());        }        m.addAttribute(MailService.A_CONTENTMATCHED, true);        return m;    }