de.uplanet.lucy.server.businesslogic.exchange.util
Interface IExchangeAppointmentUtil

All Known Implementing Classes:
ExchangeAppointmentUtil

@Scriptable
public interface IExchangeAppointmentUtil

Defines utility methods for MS Exchange appointments.

Version:
$Revision: 92899 $

Method Summary
 void cancelMeeting(java.lang.String p_strAppointmentId)
          Cancels a meeting.
 IExchangeAppointment createNewAppointment(java.util.Date p_dateStart, java.util.Date p_dateEnd, java.lang.String p_strSubject, java.lang.String p_strBody)
          Creates a new appointment in the current user's mailbox.
 IExchangeAppointment createNewAppointment(java.util.Date p_dateStart, java.util.Date p_dateEnd, java.lang.String p_strSubject, java.lang.String p_strBody, java.lang.String p_strFKUserMailbox)
          Creates a new appointment in another user's mailbox.
 IExchangeAppointment createNewMeeting(java.util.Date p_dateStart, java.util.Date p_dateEnd, java.lang.String p_strSubject, java.lang.String p_strBody, java.lang.String p_strLocation, java.lang.String p_strAttendees, boolean p_bResponseRequested)
          Creates a new meeting with attendees.
 IExchangeAppointment createNewMeeting(java.util.Date p_dateStart, java.util.Date p_dateEnd, java.lang.String p_strSubject, java.lang.String p_strBody, java.lang.String p_strLocation, java.lang.String p_strAttendees, boolean p_bResponseRequested, java.lang.String p_strFKUserMailbox)
          Creates a new meeting with attendees in another user's mailbox.
 IExchangeAppointment findById(java.lang.String p_strId)
          Loads an appointment with the given ID.
 IExchangeAppointment findByPermanentUrl(java.lang.String p_strPermUrl)
          Loads a appointment with the given permanent URL.
 void sendMeetingRequest(java.lang.String p_strAppointmentId)
          Sends meeting request mails to all participants of an appointment.
 

Method Detail

createNewAppointment

IExchangeAppointment createNewAppointment(java.util.Date p_dateStart,
                                          java.util.Date p_dateEnd,
                                          java.lang.String p_strSubject,
                                          java.lang.String p_strBody)
                                          throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Creates a new appointment in the current user's mailbox.

Parameters:
p_dateStart - The start date.
p_dateEnd - The end date.
p_strSubject - The appointment subject.
p_strBody - The appointment body.
Returns:
The IExchangeAppointment instance.
Throws:
ExchangeUtilException - If appointment could not be created.

createNewAppointment

IExchangeAppointment createNewAppointment(java.util.Date p_dateStart,
                                          java.util.Date p_dateEnd,
                                          java.lang.String p_strSubject,
                                          java.lang.String p_strBody,
                                          java.lang.String p_strFKUserMailbox)
                                          throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Creates a new appointment in another user's mailbox.

Parameters:
p_dateStart - The start date.
p_dateEnd - The end date.
p_strSubject - The appointment subject.
p_strBody - The appointment body.
p_strFKUserMailbox - The name of the user's mailbox.
Returns:
The IExchangeAppointment instance.
Throws:
ExchangeUtilException - If appointment could not be created.

createNewMeeting

IExchangeAppointment createNewMeeting(java.util.Date p_dateStart,
                                      java.util.Date p_dateEnd,
                                      java.lang.String p_strSubject,
                                      java.lang.String p_strBody,
                                      java.lang.String p_strLocation,
                                      java.lang.String p_strAttendees,
                                      boolean p_bResponseRequested)
                                      throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Creates a new meeting with attendees.

Parameters:
p_dateStart - The start date.
p_dateEnd - The end date.
p_strSubject - The appointment subject.
p_strBody - The appointment body.
p_strLocation - The meeting location.
p_strAttendees - A comma-separated list of attendees (email address).
p_bResponseRequested - True if a response is requested from the attendees.
Returns:
The IExchangeAppointment instance.
Throws:
ExchangeUtilException - If appointment could not be created.

createNewMeeting

IExchangeAppointment createNewMeeting(java.util.Date p_dateStart,
                                      java.util.Date p_dateEnd,
                                      java.lang.String p_strSubject,
                                      java.lang.String p_strBody,
                                      java.lang.String p_strLocation,
                                      java.lang.String p_strAttendees,
                                      boolean p_bResponseRequested,
                                      java.lang.String p_strFKUserMailbox)
                                      throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Creates a new meeting with attendees in another user's mailbox.

Parameters:
p_dateStart - The start date.
p_dateEnd - The end date.
p_strSubject - The appointment subject.
p_strBody - The appointment body.
p_strLocation - The meeting location.
p_strAttendees - A comma-separated list of attendees (email address).
p_bResponseRequested - True if a response is requested from the attendees.
p_strFKUserMailbox - The name of the user's mailbox.
Returns:
The IExchangeAppointment instance.
Throws:
ExchangeUtilException - If appointment could not be created.

findById

IExchangeAppointment findById(java.lang.String p_strId)
                              throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Loads an appointment with the given ID.

Parameters:
p_strId - The appointment ID.
Returns:
The IExchangeAppointment instance.
Throws:
ExchangeUtilException - If appointment could not be found.

findByPermanentUrl

IExchangeAppointment findByPermanentUrl(java.lang.String p_strPermUrl)
                                        throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Loads a appointment with the given permanent URL.

Parameters:
p_strPermUrl - The permanent URL.
Returns:
The IExchangeAppointment instance.
Throws:
ExchangeUtilException - If appointment could not be found.

sendMeetingRequest

void sendMeetingRequest(java.lang.String p_strAppointmentId)
                        throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Sends meeting request mails to all participants of an appointment.

Parameters:
p_strAppointmentId - The ID of the appointment.
Throws:
ExchangeUtilException - If operation failed.

cancelMeeting

void cancelMeeting(java.lang.String p_strAppointmentId)
                   throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Cancels a meeting.

Parameters:
p_strAppointmentId - The ID of the appointment.
Throws:
ExchangeUtilException - If operation failed.


Last updated: 2012-07-06 09-36
Copyright © 2000-2012 United Planet. All Rights Reserved.