ClientMail Class Reference
[Items]

Inheritance diagram for ClientMail:
[legend]
Collaboration diagram for ClientMail:
[legend]

List of all members.

Public Member Functions

 ClientMail (const ClientMail &c)
ClientMail operator= (const ClientMail &c)
void setCOMPtr (_MailItemPtr &ptr, const std::wstring &itemID)
void setCOMPtr (_MailItemPtr &ptr)
_MailItemPtr & getCOMPtr ()
 Returns a reference to the internal COM pointer.
int saveItem ()
int deleteItem ()
ClientItemcopyItem ()
 Returns a (new allocated) copy of this item.

Private Member Functions

void createSafeMailInstance ()
bool isSecureProperty (const std::wstring &propertyName)
 Moves this ClientMail into the passed destination folder.
bool isComplexProperty (const std::wstring &propertyName)
const std::wstring getSafeProperty (const std::wstring &propertyName)
const std::wstring getComplexProperty (const std::wstring &propertyName)
int setComplexProperty (const std::wstring &propertyName, const std::wstring &propertyValue)

Private Attributes

_MailItemPtr pMail
Redemption::ISafeMailItemPtr pSafeMail


Detailed Description


Member Function Documentation

ClientItem * ClientMail::copyItem (  )  [virtual]

Returns a (new allocated) copy of this item.

Returns:
: a pointer to the new ClientItem object (must bee deleted by the caller). NULL in case of errors.

Implements ClientItem.

References setCOMPtr().

bool ClientMail::isSecureProperty ( const std::wstring &  propertyName  )  [private, virtual]

Moves this ClientMail into the passed destination folder.

The move operation changes only the item location in Outlook, so the item's ID is preserved.

Parameters:
destFolder the destination ClientFolder to move this object to
Returns:
0 if no errors

Implements ClientItem.


The documentation for this class was generated from the following files:

Generated on Tue Apr 6 13:00:41 2010 for Funambol Outlook Plug-in Library by  doxygen 1.5.7.1