MLplCollection Class Reference

class MLplCollection

This interface provides a simplified way of querying the database. The result of the query is typically an array of the contact IDs satisfying the given criteria. For example, IDs of all the contacts changed since the given date.

Member Functions Documentation

CollectionL(TLplViewType, TTime, const TDesC &)

CContactIdArray *CollectionL(TLplViewTypeaViewType,
TTimeaTime = 0,
const TDesC &aGuid =  KNullDesC
)[pure virtual]

Parameters

TLplViewType aViewType
TTime aTime = 0
const TDesC & aGuid =  KNullDesC

ConstructBitwiseFlagsFromTextDef(TInt &, TInt &, const CContactTextDef *)

voidConstructBitwiseFlagsFromTextDef(TInt &aFindFlags,
TInt &aIdentityColumnsCount,
const CContactTextDef *aTextDef
)[pure virtual]

Parameters

TInt & aFindFlags
TInt & aIdentityColumnsCount
const CContactTextDef * aTextDef

ContactCountL()

TInt ContactCountL()[pure virtual]

ContactMatchesHintFieldL(TInt, TContactItemId)

TBool ContactMatchesHintFieldL(TIntaBitWiseFilter,
TContactItemIdaContactId
)[pure virtual]

Parameters

TInt aBitWiseFilter
TContactItemId aContactId

FilterDatabaseL(CCntFilter &)

CContactIdArray *FilterDatabaseL(CCntFilter &aFilter)[pure virtual]

Parameters

CCntFilter & aFilter

FindAsyncInitL(const TDesC &, CContactItemFieldDef *)

voidFindAsyncInitL(const TDesC &aText,
CContactItemFieldDef *aFieldDef
)[pure virtual]

Parameters

const TDesC & aText
CContactItemFieldDef * aFieldDef

FindAsyncL(TBool &, TUint)

CContactIdArray *FindAsyncL(TBool &aMoreToGo,
TUintaSessionId
)[pure virtual]

Parameters

TBool & aMoreToGo
TUint aSessionId

FindAsyncTextDefInitL(const CDesCArray &, CContactTextDef *)

voidFindAsyncTextDefInitL(const CDesCArray &aWords,
CContactTextDef *aTextDef
)[pure virtual]

Parameters

const CDesCArray & aWords
CContactTextDef * aTextDef

FindL(const TDesC &, const CContactItemFieldDef *, TUint)

CContactIdArray *FindL(const TDesC &aText,
const CContactItemFieldDef *aFieldDef,
TUintaSessionId
)[pure virtual]

Parameters

const TDesC & aText
const CContactItemFieldDef * aFieldDef
TUint aSessionId

MatchPhoneNumberL(const TDesC &, const TInt)

CContactIdArray *MatchPhoneNumberL(const TDesC &aNumber,
const TIntaMatchLengthFromRight
)[pure virtual]

Parameters

const TDesC & aNumber
const TInt aMatchLengthFromRight

Reset()

voidReset()[pure virtual]

SeekContactL(TContactItemId, TContactItemId &, TUid &, TBool &)

TBool SeekContactL(TContactItemIdaReqId,
TContactItemId &aId,
TUid &aContactType,
TBool &aDeleted
)[pure virtual]

Parameters

TContactItemId aReqId
TContactItemId & aId
TUid & aContactType
TBool & aDeleted

UsesIdentityFieldsOnly(TInt)

TBool UsesIdentityFieldsOnly(TIntaFindFlags)[pure virtual]

Parameters

TInt aFindFlags

Member Enumerations Documentation

Enum TLplViewType

Enumerators

EFilter
EChangedSince
EFindInIdFields
EFindInEmail
EFindInAll
EFindType
EFindGuid
EPhoneMatch
EViewData
EUnfiled
EDeleted
ESortNoText
ESortWithText
EMatchPhoneNos