ClientNote Class Reference
[Items]

Wraps the Outlook note object. More...

#include <ClientNote.h>

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

List of all members.

Public Member Functions

 ClientNote ()
 Constructor.
 ClientNote (const ClientNote &c)
ClientNote operator= (const ClientNote &c)
 ~ClientNote ()
 Destructor.
void setCOMPtr (_NoteItemPtr &ptr, const std::wstring &itemID)
 Set a COM pointer to this object: refresh all members.
void setCOMPtr (_NoteItemPtr &ptr)
_NoteItemPtr & 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

bool isSecureProperty (const std::wstring &propertyName)
 Moves this ClientNote 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

_NoteItemPtr pNote
 Pointer to microsoft outlook objects.


Detailed Description

Wraps the Outlook note object.

Implements methods to get/set specific properties for this object type.


Member Function Documentation

ClientItem * ClientNote::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 ClientNote(), pNote, and setCOMPtr().

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

Moves this ClientNote 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.

References safeNoteProps.


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