|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uplanet.lucy.server.businesslogic.exchange.util.impl.ExchangeAppointmentUtil
@Scriptable public class ExchangeAppointmentUtil
Utility class for MS Exchange appointments.
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. |
static IExchangeAppointmentUtil |
getInstance()
Returns an instance initialized with a Exchange connection for the currently logged in user. |
static IExchangeAppointmentUtil |
getInstance(java.sql.Connection p_conn)
Returns an instance initialized with the given Exchange connection. |
void |
sendMeetingRequest(java.lang.String p_strAppointmentId)
Sends meeting request mails to all participants of an appointment. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IExchangeAppointmentUtil getInstance()
public static IExchangeAppointmentUtil getInstance(java.sql.Connection p_conn)
p_conn
- The MS Exchange connection.
public 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
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(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
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(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
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(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
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(java.lang.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(java.lang.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(java.lang.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(java.lang.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |