CViewIteratorProxyManager Class Reference

class CViewIteratorProxyManager : public CBase

The CViewIteratorProxyManager class is a proxy for the MLplViewIteratorManager class. The proxy is used for client-side access to the required view functions in the Persistence Layer on the server.

Internally the proxy makes the relevant IPC calls using the Contacts Model session handle from the Contacts database used to create the proxy object.

Inherits from

Constructor & Destructor Documentation

CViewIteratorProxyManager(const CContactDatabase &)

CViewIteratorProxyManager ( const CContactDatabase & aDb ) [private]

CViewIteratorProxyManager first phase constructor.

Parameters

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

~CViewIteratorProxyManager()

~CViewIteratorProxyManager ( )

Member Functions Documentation

BeginIterateL(TInt)

void BeginIterateL ( TInt aViewId )

Proxy implementation of pure virtual methods in MLplViewItemManager.

The proxy does not access the Persistence Layer directly. Instead it uses the Contacts Model session handle to access the Persistence Layer via the server.

Parameters

TInt aViewId

ChangeSortOrderL(TInt, const CContactTextDef &)

void ChangeSortOrderL ( TInt aViewId,
const CContactTextDef & aTextDef
)

Proxy implementation of pure virtual methods in MLplViewItemManager.

The proxy does not access the Persistence Layer directly. Instead it uses the Contacts Model session handle to access the Persistence Layer via the server.

Parameters

TInt aViewId
const CContactTextDef & aTextDef

CloseView(TInt)

void CloseView ( TInt aViewId )

Proxy implementation of pure virtual methods in MLplViewItemManager.

The proxy does not access the Persistence Layer directly. Instead it uses the Contacts Model session handle to access the Persistence Layer via the server.

Parameters

TInt aViewId

ConstructL()

void ConstructL ( ) [private]

CViewIteratorProxyManager second phase constructor.

EndIterateL(TInt)

void EndIterateL ( TInt aViewId )

Proxy implementation of pure virtual methods in MLplViewItemManager.

The proxy does not access the Persistence Layer directly. Instead it uses the Contacts Model session handle to access the Persistence Layer via the server.

Parameters

TInt aViewId

ItemAtL(TContactItemId, TInt)

CViewContact * ItemAtL ( TContactItemId aContactId,
TInt aViewId
)

Proxy implementation of pure virtual methods in MLplViewItemManager.

The proxy does not access the Persistence Layer directly. Instead it uses the Contacts Model session handle to access the Persistence Layer via the server.

Parameters

TContactItemId aContactId
TInt aViewId

NewL(const CContactDatabase &)

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

CViewIteratorProxyManager object factory method.

Parameters

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

NextItemL(TInt, TContactViewPreferences)

CViewContact * NextItemL ( TInt aViewId,
TContactViewPreferences aViewPrefs
)

Proxy implementation of pure virtual methods in MLplViewItemManager.

The proxy does not access the Persistence Layer directly. Instead it uses the Contacts Model session handle to access the Persistence Layer via the server.

Parameters

TInt aViewId
TContactViewPreferences aViewPrefs

OpenViewL(const CContactTextDef &, TContactViewPreferences)

TInt OpenViewL ( const CContactTextDef & aTextDef,
TContactViewPreferences aViewPrefs
)

Proxy implementation of pure virtual methods in MLplViewItemManager.

The proxy does not access the Persistence Layer directly. Instead it uses the Contacts Model session handle to access the Persistence Layer via the server.

Parameters

const CContactTextDef & aTextDef
TContactViewPreferences aViewPrefs

ReadContactTextDefL(TContactItemId, TDes &, const CContactTextDef &)

TUid ReadContactTextDefL ( TContactItemId aContactId,
TDes & aResult,
const CContactTextDef & aTextDef
)

Proxy implementation of pure virtual methods in MLplViewItemManager.

The proxy does not access the Persistence Layer directly. Instead it uses the Contacts Model session handle to access the Persistence Layer via the server.

Parameters

TContactItemId aContactId
TDes & aResult
const CContactTextDef & aTextDef

TextFieldL(TInt, TFieldType, TDes &)

void TextFieldL ( TInt aCntItemId,
TFieldType aFieldType,
TDes & aText
)

Proxy implementation of pure virtual methods in MLplViewItemManager.

The proxy does not access the Persistence Layer directly. Instead it uses the Contacts Model session handle to access the Persistence Layer via the server.

Parameters

TInt aCntItemId
TFieldType aFieldType
TDes & aText

Member Data Documentation

const CContactDatabase & iDb

const CContactDatabase & iDb [private]