|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Scriptable public interface IExchangeMessageUtil
Defines utility methods for working with MS Exchange messages.
Method Summary | |
---|---|
IExchangeMessage |
createNewDraft(java.lang.String p_strFrom,
java.lang.String p_strTo,
java.lang.String p_strSubject,
java.lang.String p_strBody)
Creates a new draft email message. |
IExchangeMessage |
findById(java.lang.String p_strId)
Loads a message with the given ID. |
IExchangeMessage |
findByPermanentUrl(java.lang.String p_strPermUrl)
Loads a message with the given permanent URL. |
void |
saveMessageAsEML(java.lang.String p_strMsgId,
java.io.File p_fileDst)
Saves an MS Exchange message item in the EML format to the given file. |
void |
saveMessageAsMSG(java.lang.String p_strMsgId,
java.io.File p_fileDst)
Saves an MS Exchange message item in the MSG format to the given file. |
void |
sendMessage(java.lang.String p_strItemId)
Sends a message identified by the given ID. |
void |
setMessageRead(java.lang.String p_strItemId)
Marks a message as read by setting the 'Read' flag to true. |
Method Detail |
---|
IExchangeMessage createNewDraft(java.lang.String p_strFrom, java.lang.String p_strTo, java.lang.String p_strSubject, java.lang.String p_strBody) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strFrom
- The sender email address.p_strTo
- The receiver email address.p_strSubject
- The message subject.p_strBody
- The message body.
IExchangeMessage
instance.
ExchangeUtilException
- If message could not be created.IExchangeMessage findById(java.lang.String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strId
- The message ID.
IExchangeMessage
instance.
ExchangeUtilException
IExchangeMessage findByPermanentUrl(java.lang.String p_strPermUrl) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strPermUrl
- The permanent URL.
IExchangeMessage
instance.
ExchangeUtilException
void saveMessageAsEML(java.lang.String p_strMsgId, java.io.File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strMsgId
- The ID identifying the message.p_fileDst
- The destination file.
ExchangeUtilException
- If the operation failed.void saveMessageAsMSG(java.lang.String p_strMsgId, java.io.File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strMsgId
- the ID identifying the messagep_fileDst
- The destination file.
ExchangeUtilException
- If the operation failed.void sendMessage(java.lang.String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strItemId
- The ID of the message.
ExchangeUtilException
- If the operation failed.void setMessageRead(java.lang.String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strItemId
- The ID of the message.
ExchangeUtilException
- If the operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |