CCollectionProxy Class Reference
class CCollectionProxy : public CBase |
The CCollectionProxy class is a proxy for the MLplCollection class. The proxy is used for client-side access to the required collection 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.
Public Member Functions |
---|
| CCollectionProxy(const CContactDatabase &) |
CContactIdArray * | CollectionL(TLplViewType, TTime, const TDesC &) |
void | ConstructBitwiseFlagsFromTextDef(TInt &, TInt &, const CContactTextDef *) |
TInt
| ContactCountL() |
TBool
| ContactMatchesHintFieldL(TInt, TContactItemId) |
CContactIdArray * | FilterDatabaseL(CCntFilter &) |
void | FindAsyncInitL(const TDesC &, CContactItemFieldDef *) |
CContactIdArray * | FindAsyncL(TBool &, TUint) |
void | FindAsyncTextDefInitL(const CDesCArray &, CContactTextDef *) |
CContactIdArray * | FindL(const TDesC &, const CContactItemFieldDef *, TUint) |
CContactIdArray * | MatchPhoneNumberL(const TDesC &, const TInt) |
void | Reset() |
TBool
| SeekContactL(TContactItemId, TContactItemId &, TUid &, TBool &) |
TBool
| UsesIdentityFieldsOnly(TInt) |
Constructor & Destructor Documentation
CCollectionProxy(const CContactDatabase &)
Parameters
const CContactDatabase & aDb | Contacts database used to access Contacts Model session handle. |
Member Functions Documentation
CollectionL(TLplViewType, TTime, const TDesC &)
Proxy implementation of pure virtual method in MLplCollection.
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.
ConstructBitwiseFlagsFromTextDef(TInt &, TInt &, const CContactTextDef *)
void | ConstructBitwiseFlagsFromTextDef | ( | TInt & | aFindFlags, |
| TInt & | aIdentityColumnsCount, |
| const CContactTextDef * | aTextDef |
| ) | |
Dummy method - implemented in the Persistence Layer.
ContactCountL()
Proxy implementation of pure virtual method in MLplCollection.
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.
ContactMatchesHintFieldL(TInt, TContactItemId)
Dummy method - implemented in the Persistence Layer.
FilterDatabaseL(CCntFilter &)
Dummy method - implemented in the Persistence Layer.
FindAsyncInitL(const TDesC &, CContactItemFieldDef *)
Dummy method - implemented in the Persistence Layer.
FindAsyncL(TBool &, TUint)
Dummy method - implemented in the Persistence Layer.
FindAsyncTextDefInitL(const CDesCArray &, CContactTextDef *)
Dummy method - implemented in the Persistence Layer.
FindL(const TDesC &, const CContactItemFieldDef *, TUint)
Proxy implementation of pure virtual method in MLplCollection.
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.
This method could be a dummy implementation since only CContactDatabase calls the client session FindL() method.
MatchPhoneNumberL(const TDesC &, const TInt)
Dummy method - implemented in the Persistence Layer.
Parameters
const TDesC & aNumber | |
const TInt aMatchLengthFromRight | |
Reset()
Dummy method - implemented in the Persistence Layer.
SeekContactL(TContactItemId, TContactItemId &, TUid &, TBool &)
Proxy implementation of pure virtual method in MLplCollection.
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.
UsesIdentityFieldsOnly(TInt)
Dummy method - implemented in the Persistence Layer.
Member Data Documentation
const CContactDatabase & iDb
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.