Interface IExchangeTaskUtil
-
- All Known Implementing Classes:
ExchangeTaskUtil
@Scriptable public interface IExchangeTaskUtilUtility interface for working with MS Exchange tasks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringcreateFolder(String p_strParentHref, String p_strFolderName)Creates a new folder.IExchangeTaskcreateNew(Date p_dtStartDate, Date p_dtDueDate, String p_strSubject, String p_strUserMailbox)Deprecated.IExchangeTaskcreateNewTask(Date p_dtStartDate, Date p_dtDueDate, String p_strSubject, String p_strUserMailbox)Creates a new task.IExchangeTaskfindById(String p_strId)Finds a task by the given ID.IExchangeTaskfindByPermanentUrl(String p_strPermUrl)Finds a task by the given Permanent URL.
-
-
-
Method Detail
-
createNew
@Deprecated IExchangeTask createNew(Date p_dtStartDate, Date p_dtDueDate, String p_strSubject, String p_strUserMailbox) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Deprecated.Creates a new task.- Parameters:
p_strSubject- The subject of the task.p_strUserMailbox- The name of the mailbox in which the task will be created.- Returns:
- The new
IExchangeTaskinstance. - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException- If the task could not be created.
-
createNewTask
IExchangeTask createNewTask(Date p_dtStartDate, Date p_dtDueDate, String p_strSubject, String p_strUserMailbox) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Creates a new task.- Parameters:
p_strSubject- The subject of the task.p_strUserMailbox- The name of the mailbox in which the task will be created.- Returns:
- The new
IExchangeTaskinstance. - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException- If the task could not be created.
-
findById
IExchangeTask findById(String p_strId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Finds a task by the given ID.- Parameters:
p_strId- The task ID.- Returns:
- The
IExchangeTaskinstance. - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
findByPermanentUrl
IExchangeTask findByPermanentUrl(String p_strPermUrl) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Finds a task by the given Permanent URL.- Parameters:
p_strPermUrl- The permanent URL.- Returns:
- The
IExchangeTask. - Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
-
createFolder
String createFolder(String p_strParentHref, String p_strFolderName) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Creates a new folder. The display name can be an arbitrary string. The HREF and parent HREF parameters must include the canonical path to the folder. Consider the following structure:
+ Folder1
++ Folder2
+++ MyNewFolder
To create 'MyNewFolder' beneath 'Folder2' the following values are required:
Folder name:MyNewFolder
Parent HREF:/Folder1/Folder2/- Parameters:
p_strParentHref- The HREF of the parent folder (required).p_strFolderName- The folder name.- Returns:
- The ID of the new folder.
- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException- If operation failed.
-
-