Class ExchangeMessageCallable
java.lang.Object
de.uplanet.lucy.server.auxiliaries.exchange.ExchangeMessageCallable
- All Implemented Interfaces:
de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
@VelocityCallable("singleton")
public final class ExchangeMessageCallable
extends Object
implements de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
Callable for working with MS Exchange messages. The methods without a connection parameter
use the current context's Exchange connection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFolder
(String p_strParentHref, String p_strFolderName) de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage
createNewDraft
(String p_strFrom, String p_strTo, String p_strSubject, String p_strBody) de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage
createNewDraft
(Connection p_conn, String p_strFrom, String p_strTo, String p_strSubject, String p_strBody) de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage
de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage
findById
(Connection p_conn, String p_strId) de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage
findByPermanentUrl
(String p_strPermUrl) de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage
findByPermanentUrl
(Connection p_conn, String p_strPermUrl) void
saveMessageAsEML
(String p_strMsgId, File p_fileDst) void
saveMessageAsEML
(Connection p_conn, String p_strMsgId, File p_fileDst) void
saveMessageAsMSG
(String p_strMsgId, File p_fileDst) void
saveMessageAsMSG
(Connection p_conn, String p_strMsgId, File p_fileDst) void
sendMessage
(String p_strItemId) void
sendMessage
(Connection p_conn, String p_strItemId) void
setMessageRead
(String p_strItemId) void
setMessageRead
(Connection p_conn, String p_strItemId)
-
Constructor Details
-
ExchangeMessageCallable
public ExchangeMessageCallable()
-
-
Method Details
-
createNewDraft
public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage createNewDraft(String p_strFrom, String p_strTo, String p_strSubject, String p_strBody) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
createNewDraft
in interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
createNewDraft
public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage createNewDraft(Connection p_conn, String p_strFrom, String p_strTo, String p_strSubject, String p_strBody) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
findById
public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage findById(String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
findById
in interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
findById
public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage findById(Connection p_conn, String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
findByPermanentUrl
public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage findByPermanentUrl(String p_strPermUrl) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
findByPermanentUrl
in interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
findByPermanentUrl
public de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessage findByPermanentUrl(Connection p_conn, String p_strPermUrl) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
saveMessageAsEML
public void saveMessageAsEML(String p_strMsgId, File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
saveMessageAsEML
in interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
saveMessageAsEML
public void saveMessageAsEML(Connection p_conn, String p_strMsgId, File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
saveMessageAsMSG
public void saveMessageAsMSG(String p_strMsgId, File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
saveMessageAsMSG
in interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
saveMessageAsMSG
public void saveMessageAsMSG(Connection p_conn, String p_strMsgId, File p_fileDst) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
sendMessage
public void sendMessage(String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
sendMessage
in interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
sendMessage
public void sendMessage(Connection p_conn, String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
setMessageRead
public void setMessageRead(String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
setMessageRead
in interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
setMessageRead
public void setMessageRead(Connection p_conn, String p_strItemId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
createFolder
public String createFolder(String p_strParentHref, String p_strFolderName) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException - Specified by:
createFolder
in interfacede.uplanet.lucy.server.businesslogic.exchange.util.IExchangeMessageUtil
- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-