|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Scriptable public interface IExchangeItem
Defines common properties and methods of an Exchange mailbox item.
Method Summary | |
---|---|
void |
addAttachment(java.io.File p_file)
Adds an attachment to the item. |
void |
addAttachment(java.io.File p_file,
java.lang.String p_strFileName,
java.lang.String p_strMimeType,
boolean p_bDeleteAfter)
Adds an attachment to the item. |
void |
addCategory(java.lang.String p_strCategory)
Adds a category. |
void |
delete()
Deletes the item from the mailbox (i.e. moves it to deleted items folder). |
java.util.List<IAttachmentInfo> |
getAttachments()
|
java.util.List<java.lang.String> |
getCategories()
Returns a list of category values. |
java.lang.String |
getFolderHref()
|
java.lang.String |
getHref()
|
java.lang.String |
getId()
|
java.lang.String |
getItemLink()
|
java.lang.String |
getPermanentUrl()
|
java.lang.String |
getSubject()
|
IValueHolder<?> |
getUserDefinedFieldValue(java.lang.String p_strColumnName)
Returns a user defined field value for the current item. |
void |
removeAttachment(java.lang.String p_strAttachmentId)
Removed an attachment from an item. |
void |
removeCategory(java.lang.String p_strCategory)
Removes a category from the list of categories. |
void |
save()
Saves modified item properties in Exchange. |
void |
setSubject(java.lang.String p_strSubject)
Sets the subject. |
void |
setUserDefinedFieldValue(java.lang.String p_strColumnName,
IValueHolder<?> p_vh)
Sets a user defined field value. |
Method Detail |
---|
java.lang.String getId()
java.lang.String getHref()
java.lang.String getFolderHref()
java.lang.String getSubject()
void setSubject(java.lang.String p_strSubject)
p_strSubject
- The subject.java.lang.String getPermanentUrl()
java.lang.String getItemLink()
java.util.List<IAttachmentInfo> getAttachments()
void addAttachment(java.io.File p_file) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_file
- The file to add as attachment.
ExchangeUtilException
- If operation fails.void addAttachment(java.io.File p_file, java.lang.String p_strFileName, java.lang.String p_strMimeType, boolean p_bDeleteAfter) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_file
- The file to add as attachment.p_strFileName
- The name used as attachment file name.p_strMimeType
- The MIME type.p_bDeleteAfter
- True
if the file should be deleted after it has been attached.
ExchangeUtilException
- If operation fails.void removeAttachment(java.lang.String p_strAttachmentId) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strAttachmentId
- The attachment ID.
ExchangeUtilException
- If operation fails.void save() throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
ExchangeUtilException
- If item could not be saved.void delete() throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
ExchangeUtilException
- If item could not be deleted.IValueHolder<?> getUserDefinedFieldValue(java.lang.String p_strColumnName) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strColumnName
- The column name of the user defined field (e.g. 'IntrexxGuid').
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
void setUserDefinedFieldValue(java.lang.String p_strColumnName, IValueHolder<?> p_vh) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strColumnName
- The column name of the user defined field (e.g. 'IntrexxGuid').p_vh
- The value holder for the user defined field value (must also define
the IxDataType
of the field).
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
java.util.List<java.lang.String> getCategories() throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
ExchangeUtilException
void addCategory(java.lang.String p_strCategory) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strCategory
- The category value.
ExchangeUtilException
void removeCategory(java.lang.String p_strCategory) throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
p_strCategory
- The category to remove.
ExchangeUtilException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |