/** * Obtains a list of appointments by searching the contents of this folder * and performing recurrence expansion for recurring appointments. Calling * this method results in a call to EWS. * * @param view the view * @return An object representing the results of the search operation. * @throws Exception the exception */ public FindItemsResults<Appointment> findAppointments(CalendarView view) throws Exception { EwsUtilities.validateParam(view, "view"); ServiceResponseCollection<FindItemResponse<Appointment>> responses = this.internalFindItems((SearchFilter) null, view, null /* groupBy */); return responses.getResponseAtIndex(0).getResults(); }
/** * Obtains a list of appointments by searching the contents of this folder * and performing recurrence expansion for recurring appointments. Calling * this method results in a call to EWS. * * @param view the view * @return An object representing the results of the search operation. * @throws Exception the exception */ public FindItemsResults<Appointment> findAppointments(CalendarView view) throws Exception { EwsUtilities.validateParam(view, "view"); ServiceResponseCollection<FindItemResponse<Appointment>> responses = this.internalFindItems((SearchFilter) null, view, null /* groupBy */); return responses.getResponseAtIndex(0).getResults(); }