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

  • CViewIteratorProxyManager

Constructor & Destructor Documentation

CViewIteratorProxyManager(const CContactDatabase &)

CViewIteratorProxyManager(const CContactDatabase &aDb)[private]

CViewIteratorProxyManager first phase constructor.

Parameters

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

~CViewIteratorProxyManager()

~CViewIteratorProxyManager()

Member Functions Documentation

BeginIterateL(TInt)

voidBeginIterateL(TIntaViewId)

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 &)

voidChangeSortOrderL(TIntaViewId,
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)

voidCloseView(TIntaViewId)

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()

voidConstructL()[private]

CViewIteratorProxyManager second phase constructor.

EndIterateL(TInt)

voidEndIterateL(TIntaViewId)

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(TContactItemIdaContactId,
TIntaViewId
)

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 & aDbContacts database used to access Contacts Model session handle.

NextItemL(TInt, TContactViewPreferences)

CViewContact *NextItemL(TIntaViewId,
TContactViewPreferencesaViewPrefs
)

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,
TContactViewPreferencesaViewPrefs
)

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(TContactItemIdaContactId,
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 &)

voidTextFieldL(TIntaCntItemId,
TFieldTypeaFieldType,
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]