/** * Accepts the meeting. * * @param tentative True if tentative accept. * @param sendResponse Indicates whether to send a response to the organizer. * @return A CalendarActionResults object containing the various item that * were created or modified as a results of this operation. * @throws Exception throws Exception */ protected CalendarActionResults internalAccept(boolean tentative, boolean sendResponse) throws Exception { AcceptMeetingInvitationMessage accept = this .createAcceptMessage(tentative); if (sendResponse) { return accept.calendarSendAndSaveCopy(); } else { return accept.calendarSave(); } }
/** * Accepts the meeting. * * @param tentative True if tentative accept. * @param sendResponse Indicates whether to send a response to the organizer. * @return A CalendarActionResults object containing the various item that * were created or modified as a results of this operation. * @throws Exception throws Exception */ protected CalendarActionResults internalAccept(boolean tentative, boolean sendResponse) throws Exception { AcceptMeetingInvitationMessage accept = this .createAcceptMessage(tentative); if (sendResponse) { return accept.calendarSendAndSaveCopy(); } else { return accept.calendarSave(); } }