ClientTask Class Reference
[Items]

Wraps the Outlook task object. More...

#include <ClientTask.h>

Inheritance diagram for ClientTask:

Inheritance graph
[legend]
Collaboration diagram for ClientTask:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClientTask ()
 Constructor.
 ClientTask (const ClientTask &c)
ClientTask operator= (const ClientTask &c)
 ~ClientTask ()
 Destructor.
void setCOMPtr (_TaskItemPtr &ptr, const std::wstring &itemID)
 Set a COM pointer to this object: refresh all members.
void setCOMPtr (_TaskItemPtr &ptr)
_TaskItemPtr & getCOMPtr ()
 Returns a reference to the internal COM pointer.
ClientRecurrencegetRecPattern ()
 Returns a pointer to the internal ClientRecurrence object (NULL if not recurring).
int saveItem ()
int deleteItem ()
ClientItemcopyItem ()
 Returns a (new allocated) copy of this item.

Private Member Functions

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

_TaskItemPtr pTask
 Pointer to microsoft outlook objects.
Redemption::ISafeTaskItemPtr pSafeTask
 Pointer to Redemption safe objects.
ClientRecurrence recPattern
 Internal Object: to manage recurrence pattern.

Detailed Description

Wraps the Outlook task object.

Implements methods to get/set specific properties for this object type. Contains a ClientRecurrence object that describes the recurrence pattern.


Member Function Documentation

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

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

ClientItem * ClientTask::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.


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 12:21:32 2007 for Funambol Outlook Plug-in Library by  doxygen 1.5.2