CContactSynchroniser Class Reference

class CContactSynchroniser : public CBase

Abstract interface for a ECom contacts phonebook synchroniser plugin

It should be inherited by classes which implement the phonebook synchroniser API in a platform secured environment. The ECom plug-in interface uid is KUidEcomCntPhBkSyncInterface

Inherits from

Constructor & Destructor Documentation

~CContactSynchroniser()

IMPORT_C ~CContactSynchroniser ( ) [virtual]

Member Functions Documentation

CancelNotifyRequest(TUid)

void CancelNotifyRequest ( TUid aPhonebookUid ) [pure virtual]

Parameters

TUid aPhonebookUid

DeleteContact(TContactItemId)

TInt DeleteContact ( TContactItemId aId ) [pure virtual]

Parameters

TContactItemId aId

GroupIdL(TUid)

TContactItemId GroupIdL ( TUid aPhonebookUid ) [pure virtual]

Parameters

TUid aPhonebookUid

ICCTemplateIdL(TUid)

TContactItemId ICCTemplateIdL ( TUid aPhonebookUid ) [pure virtual]

Parameters

TUid aPhonebookUid

IsSynchronisedL(TUid)

TBool IsSynchronisedL ( TUid aPhonebookUid ) [pure virtual]

Parameters

TUid aPhonebookUid

NewL()

CContactSynchroniser * NewL ( ) [static]

CContactSynchroniser object factory method.

This class is copied from the Persistence Layer. It should be refactored into a shared library if possible.

NotifySyncStateChange(TRequestStatus &, TUid)

void NotifySyncStateChange ( TRequestStatus & aStatus,
TUid aPhonebookUid
) [pure virtual]

Parameters

TRequestStatus & aStatus
TUid aPhonebookUid

PhonebookList(RArray< TUid > &)

TInt PhonebookList ( RArray < TUid > & aPhonebookList ) [pure virtual]

Parameters

RArray < TUid > & aPhonebookList

Release()

void Release ( ) [pure virtual]

UpdatePostWriteL(const CContactICCEntry &)

void UpdatePostWriteL ( const CContactICCEntry & aContactItem ) [pure virtual]

Parameters

const CContactICCEntry & aContactItem

ValidateContact(TValidateOperation, TContactItemId)

TInt ValidateContact ( TValidateOperation aOp,
TContactItemId aId
) [pure virtual]

Parameters

TValidateOperation aOp
TContactItemId aId

ValidateWriteContact(CContactICCEntry &)

TInt ValidateWriteContact ( CContactICCEntry & aContactItem ) [pure virtual]

Parameters

CContactICCEntry & aContactItem

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]