#include <ClientNote.h>
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 () |
ClientItem * | copyItem () |
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. |
Implements methods to get/set specific properties for this object type.
ClientItem * ClientNote::copyItem | ( | ) | [virtual] |
Returns a (new allocated) copy of this item.
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.
destFolder | the destination ClientFolder to move this object to |
Implements ClientItem.
References safeNoteProps.