CProxyFactory Class Reference

class CProxyFactory : public CBase

The CProxyFactory class is a proxy for the MLplPersistenceLayerFactory class. It provides methods for accessing several interfaces (which at this level are themselves implemented as proxies).

Inherits from

Constructor & Destructor Documentation

CProxyFactory(const CContactDatabase &)

CProxyFactory ( const CContactDatabase & aDb ) [private]

CProxyFactory first phase constructor.

Parameters

const CContactDatabase & aDb Contacts database used to access Contacts Model session handle.

~CProxyFactory()

~CProxyFactory ( )

CProxyFactory destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

CProxyFactory second phase constructor.

GetCollectorL()

MLplCollection & GetCollectorL ( )

Get the MLplCollection proxy interface. If the CCollectionProxy proxy object does not yet exist then create it (lazy initialisation).

GetContactSynchroniserL(TUint)

MContactSynchroniser & GetContactSynchroniserL ( TUint aSessionId )

Get the MContactSynchroniser interface. If the CContactSynchroniser object does not yet exist then create it (lazy initialisation).

Parameters

TUint aSessionId

GetViewIteratorManagerL()

MLplViewIteratorManager & GetViewIteratorManagerL ( )

Get the MLplViewItemManager proxy interface. If the CViewIteratorProxyManager object does not yet exist then create it.

NewL(const CContactDatabase &)

CProxyFactory * NewL ( const CContactDatabase & aDb ) [static]

CProxyFactory object factory method.

Parameters

const CContactDatabase & aDb Contacts database used by the proxies this factory provides.

Member Data Documentation

CCollectionProxy * iCollection

CCollectionProxy * iCollection [private]

const CContactDatabase & iDb

const CContactDatabase & iDb [private]

CViewIteratorProxyManager * iManager

CViewIteratorProxyManager * iManager [private]

CContactSynchroniser * iSynchroniser

CContactSynchroniser * iSynchroniser [private]