@Scriptable public class ExchangeAppointmentUtil extends Object implements IExchangeAppointmentUtil
Modifier and Type | Method and Description |
---|---|
void |
cancelMeeting(String p_strAppointmentId)
Cancels a meeting.
|
IExchangeAppointment |
createNewAppointment(Date p_dateStart,
Date p_dateEnd,
String p_strSubject,
String p_strBody)
Creates a new appointment in the current user's mailbox.
|
IExchangeAppointment |
createNewAppointment(Date p_dateStart,
Date p_dateEnd,
String p_strSubject,
String p_strBody,
String p_strFKUserMailbox)
Creates a new appointment in another user's mailbox.
|
IExchangeAppointment |
createNewMeeting(Date p_dateStart,
Date p_dateEnd,
String p_strSubject,
String p_strBody,
String p_strLocation,
String p_strAttendees,
boolean p_bResponseRequested)
Creates a new meeting with attendees.
|
IExchangeAppointment |
createNewMeeting(Date p_dateStart,
Date p_dateEnd,
String p_strSubject,
String p_strBody,
String p_strLocation,
String p_strAttendees,
boolean p_bResponseRequested,
String p_strFKUserMailbox)
Creates a new meeting with attendees in another user's mailbox.
|
IExchangeAppointment |
findById(String p_strId)
Loads an appointment with the given ID.
|
IExchangeAppointment |
findByPermanentUrl(String p_strPermUrl)
Loads a appointment with the given permanent URL.
|
static IExchangeAppointmentUtil |
getInstance()
Returns an instance initialized with a Exchange connection for the currently logged in user.
|
static IExchangeAppointmentUtil |
getInstance(Connection p_conn)
Returns an instance initialized with the given Exchange connection.
|
void |
sendMeetingRequest(String p_strAppointmentId)
Sends meeting request mails to all participants of an appointment.
|
public static IExchangeAppointmentUtil getInstance()
public static IExchangeAppointmentUtil getInstance(Connection p_conn)
p_conn
- The MS Exchange connection.public IExchangeAppointment createNewAppointment(Date p_dateStart, Date p_dateEnd, String p_strSubject, String p_strBody) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeAppointmentUtil
createNewAppointment
in interface IExchangeAppointmentUtil
p_dateStart
- The start date.p_dateEnd
- The end date.p_strSubject
- The appointment subject.p_strBody
- The appointment body.IExchangeAppointment
instance.ExchangeUtilException
- If appointment could not be created.public IExchangeAppointment createNewAppointment(Date p_dateStart, Date p_dateEnd, String p_strSubject, String p_strBody, String p_strFKUserMailbox) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeAppointmentUtil
createNewAppointment
in interface IExchangeAppointmentUtil
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.IExchangeAppointment
instance.ExchangeUtilException
- If appointment could not be created.public IExchangeAppointment createNewMeeting(Date p_dateStart, Date p_dateEnd, String p_strSubject, String p_strBody, String p_strLocation, String p_strAttendees, boolean p_bResponseRequested) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeAppointmentUtil
createNewMeeting
in interface IExchangeAppointmentUtil
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.IExchangeAppointment
instance.ExchangeUtilException
- If appointment could not be created.public IExchangeAppointment createNewMeeting(Date p_dateStart, Date p_dateEnd, String p_strSubject, String p_strBody, String p_strLocation, String p_strAttendees, boolean p_bResponseRequested, String p_strFKUserMailbox) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeAppointmentUtil
createNewMeeting
in interface IExchangeAppointmentUtil
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.IExchangeAppointment
instance.ExchangeUtilException
- If appointment could not be created.public IExchangeAppointment findById(String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeAppointmentUtil
findById
in interface IExchangeAppointmentUtil
p_strId
- The appointment ID.IExchangeAppointment
instance.ExchangeUtilException
- If appointment could not be found.public IExchangeAppointment findByPermanentUrl(String p_strPermUrl) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeAppointmentUtil
findByPermanentUrl
in interface IExchangeAppointmentUtil
p_strPermUrl
- The permanent URL.IExchangeAppointment
instance.ExchangeUtilException
- If appointment could not be found.public void sendMeetingRequest(String p_strAppointmentId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeAppointmentUtil
sendMeetingRequest
in interface IExchangeAppointmentUtil
p_strAppointmentId
- The ID of the appointment.ExchangeUtilException
- If operation failed.public void cancelMeeting(String p_strAppointmentId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
IExchangeAppointmentUtil
cancelMeeting
in interface IExchangeAppointmentUtil
p_strAppointmentId
- The ID of the appointment.ExchangeUtilException
- If operation failed.