CVPbkContactStoreDomainList Class Reference

class CVPbkContactStoreDomainList : public CBase

Virtual Phonebook Contact Manager Store list.

Inherits from

  • CVPbkContactStoreDomainList
Public Member Functions
~CVPbkContactStoreDomainList()
voidAppendL(CVPbkContactStoreDomain *)
MVPbkContactStore &At(TInt)
voidCloseAll(MVPbkContactStoreListObserver &)
TAny *ContactOperationFactoryExtension(TUid)
TInt Count()
MVPbkContactOperation *CreateCommitContactsOperationL(const TArray< MVPbkStoreContact * > &, MVPbkBatchOperationObserver &)
MVPbkContactOperation *CreateCompressStoresOperationL(MVPbkBatchOperationObserver &)
MVPbkContactOperation *CreateContactRetrieverL(const MVPbkContactLink &, MVPbkSingleContactOperationObserver &)
MVPbkContactOperation *CreateContactRetrieverL(const TDesC8 &, MVPbkSingleContactOperationObserver &)
MVPbkContactOperation *CreateDeleteContactsOperationL(const MVPbkContactLinkArray &, MVPbkBatchOperationObserver &)
MVPbkContactOperation *CreateFindOperationL(const TDesC &, const MVPbkFieldTypeList &, MVPbkContactFindObserver &)
MVPbkContactOperation *CreateFindOperationL(const MDesC16Array &, const MVPbkFieldTypeList &, MVPbkContactFindFromStoresObserver &, const TCallBack &)
MVPbkContactOperation *CreateFindOperationL(const MDesC16Array &, const MVPbkFieldTypeList &, MVPbkContactFindFromStoresObserver &, const TCallBack &, const CDesC16ArrayFlat &)
MVPbkContactLink *CreateLinkLC(RReadStream &)
MVPbkContactOperation *CreateMatchPhoneNumberOperationL(const TDesC &, TInt, MVPbkContactFindObserver &)
TInt DomainCount()
MVPbkContactStore *Find(const TVPbkContactStoreUriPtr &)
voidLoadPluginStoreDomainsL(const CVPbkContactStoreUriArray &, const MVPbkFieldTypeList &, const TSecurityInfo &)
CVPbkContactStoreDomainList *NewL(const CVPbkContactStoreUriArray &, const MVPbkFieldTypeList &, const TSecurityInfo &)
voidOpenAllL(MVPbkContactStoreListObserver &)
Private Member Functions
CVPbkContactStoreDomainList()
TInt AsyncSignalOpenComplete(TAny *)
voidConstructL(const CVPbkContactStoreUriArray &, const MVPbkFieldTypeList &, const TSecurityInfo &)
CVPbkContactStoreDomain *FindDomain(const TDesC &)
voidHandleStoreEventL(MVPbkContactStore &, TVPbkContactStoreEvent)
voidLoadImplementationStoreDomainsL(const CVPbkContactStoreUriArray &, const CImplementationInformation &, const MVPbkFieldTypeList &, const TSecurityInfo &)
voidOpenComplete()
voidSignalOpenComplete()
voidStoreReady(MVPbkContactStore &)
voidStoreUnavailable(MVPbkContactStore &, TInt)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
CIdle *iAsyncCallBack
MVPbkContactStoreListObserver *iListObserver
RPointerArray< CVPbkContactStoreDomain >iStoreDomains
RPointerArray< MVPbkContactStore >iStoresToOpen

Constructor & Destructor Documentation

CVPbkContactStoreDomainList()

CVPbkContactStoreDomainList()[private, inline]

~CVPbkContactStoreDomainList()

~CVPbkContactStoreDomainList()

Member Functions Documentation

AppendL(CVPbkContactStoreDomain *)

voidAppendL(CVPbkContactStoreDomain *aStore)

Adds aStore to this container. Passes ownership.

Parameters

CVPbkContactStoreDomain * aStore

AsyncSignalOpenComplete(TAny *)

TInt AsyncSignalOpenComplete(TAny *aDomainList)[private, static]

Parameters

TAny * aDomainList

At(TInt)

MVPbkContactStore &At(TIntaIndex)const

Parameters

TInt aIndex

CloseAll(MVPbkContactStoreListObserver &)

voidCloseAll(MVPbkContactStoreListObserver &aObserver)

Parameters

MVPbkContactStoreListObserver & aObserver

ConstructL(const CVPbkContactStoreUriArray &, const MVPbkFieldTypeList &, const TSecurityInfo &)

voidConstructL(const CVPbkContactStoreUriArray &aURIList,
const MVPbkFieldTypeList &aFieldTypeList,
const TSecurityInfo &aSecurityInfo
)[private, inline]

Parameters

const CVPbkContactStoreUriArray & aURIList
const MVPbkFieldTypeList & aFieldTypeList
const TSecurityInfo & aSecurityInfo

ContactOperationFactoryExtension(TUid)

TAny *ContactOperationFactoryExtension(TUidaExtensionUid)

Parameters

TUid aExtensionUid

Count()

TInt Count()const

CreateCommitContactsOperationL(const TArray< MVPbkStoreContact * > &, MVPbkBatchOperationObserver &)

MVPbkContactOperation *CreateCommitContactsOperationL(const TArray< MVPbkStoreContact * > &aContacts,
MVPbkBatchOperationObserver &aObserver
)

Parameters

const TArray< MVPbkStoreContact * > & aContacts
MVPbkBatchOperationObserver & aObserver

CreateCompressStoresOperationL(MVPbkBatchOperationObserver &)

MVPbkContactOperation *CreateCompressStoresOperationL(MVPbkBatchOperationObserver &aObserver)

Parameters

MVPbkBatchOperationObserver & aObserver

CreateContactRetrieverL(const MVPbkContactLink &, MVPbkSingleContactOperationObserver &)

MVPbkContactOperation *CreateContactRetrieverL(const MVPbkContactLink &aLink,
MVPbkSingleContactOperationObserver &aObserver
)

Parameters

const MVPbkContactLink & aLink
MVPbkSingleContactOperationObserver & aObserver

CreateContactRetrieverL(const TDesC8 &, MVPbkSingleContactOperationObserver &)

MVPbkContactOperation *CreateContactRetrieverL(const TDesC8 &aLinkBuf,
MVPbkSingleContactOperationObserver &aObserver
)

Parameters

const TDesC8 & aLinkBuf
MVPbkSingleContactOperationObserver & aObserver

CreateDeleteContactsOperationL(const MVPbkContactLinkArray &, MVPbkBatchOperationObserver &)

MVPbkContactOperation *CreateDeleteContactsOperationL(const MVPbkContactLinkArray &aContactLinks,
MVPbkBatchOperationObserver &aObserver
)

Parameters

const MVPbkContactLinkArray & aContactLinks
MVPbkBatchOperationObserver & aObserver

CreateFindOperationL(const TDesC &, const MVPbkFieldTypeList &, MVPbkContactFindObserver &)

MVPbkContactOperation *CreateFindOperationL(const TDesC &aSearchString,
const MVPbkFieldTypeList &aFieldTypes,
MVPbkContactFindObserver &aObserver
)

Parameters

const TDesC & aSearchString
const MVPbkFieldTypeList & aFieldTypes
MVPbkContactFindObserver & aObserver

CreateFindOperationL(const MDesC16Array &, const MVPbkFieldTypeList &, MVPbkContactFindFromStoresObserver &, const TCallBack &)

MVPbkContactOperation *CreateFindOperationL(const MDesC16Array &aSearchStrings,
const MVPbkFieldTypeList &aFieldTypes,
MVPbkContactFindFromStoresObserver &aObserver,
const TCallBack &aWordParserCallBack
)

Parameters

const MDesC16Array & aSearchStrings
const MVPbkFieldTypeList & aFieldTypes
MVPbkContactFindFromStoresObserver & aObserver
const TCallBack & aWordParserCallBack

CreateFindOperationL(const MDesC16Array &, const MVPbkFieldTypeList &, MVPbkContactFindFromStoresObserver &, const TCallBack &, const CDesC16ArrayFlat &)

MVPbkContactOperation *CreateFindOperationL(const MDesC16Array &aSearchStrings,
const MVPbkFieldTypeList &aFieldTypes,
MVPbkContactFindFromStoresObserver &aObserver,
const TCallBack &aWordParserCallBack,
const CDesC16ArrayFlat &aStoreEntriesArray
)

Parameters

const MDesC16Array & aSearchStrings
const MVPbkFieldTypeList & aFieldTypes
MVPbkContactFindFromStoresObserver & aObserver
const TCallBack & aWordParserCallBack
const CDesC16ArrayFlat & aStoreEntriesArray

CreateLinkLC(RReadStream &)

MVPbkContactLink *CreateLinkLC(RReadStream &aStream)const

Parameters

RReadStream & aStream

CreateMatchPhoneNumberOperationL(const TDesC &, TInt, MVPbkContactFindObserver &)

MVPbkContactOperation *CreateMatchPhoneNumberOperationL(const TDesC &aPhoneNumber,
TIntaMaxMatchDigits,
MVPbkContactFindObserver &aObserver
)

Parameters

const TDesC & aPhoneNumber
TInt aMaxMatchDigits
MVPbkContactFindObserver & aObserver

DomainCount()

TInt DomainCount()const

Returns the count of loaded domains.

Find(const TVPbkContactStoreUriPtr &)

MVPbkContactStore *Find(const TVPbkContactStoreUriPtr &aUri)const

Parameters

const TVPbkContactStoreUriPtr & aUri

FindDomain(const TDesC &)

CVPbkContactStoreDomain *FindDomain(const TDesC &aStoreDomain)const [private]

Parameters

const TDesC & aStoreDomain

HandleStoreEventL(MVPbkContactStore &, TVPbkContactStoreEvent)

voidHandleStoreEventL(MVPbkContactStore &aContactStore,
TVPbkContactStoreEventaStoreEvent
)[private]

Parameters

MVPbkContactStore & aContactStore
TVPbkContactStoreEvent aStoreEvent

LoadImplementationStoreDomainsL(const CVPbkContactStoreUriArray &, const CImplementationInformation &, const MVPbkFieldTypeList &, const TSecurityInfo &)

voidLoadImplementationStoreDomainsL(const CVPbkContactStoreUriArray &aURIList,
const CImplementationInformation &aImplInfo,
const MVPbkFieldTypeList &aFieldTypeList,
const TSecurityInfo &aSecurityInfo
)[private]

Parameters

const CVPbkContactStoreUriArray & aURIList
const CImplementationInformation & aImplInfo
const MVPbkFieldTypeList & aFieldTypeList
const TSecurityInfo & aSecurityInfo

LoadPluginStoreDomainsL(const CVPbkContactStoreUriArray &, const MVPbkFieldTypeList &, const TSecurityInfo &)

voidLoadPluginStoreDomainsL(const CVPbkContactStoreUriArray &aURIList,
const MVPbkFieldTypeList &aFieldTypeList,
const TSecurityInfo &aSecurityInfo
)

Loads the contact store domain corresponding to aURIList.

Parameters

const CVPbkContactStoreUriArray & aURIList
const MVPbkFieldTypeList & aFieldTypeList
const TSecurityInfo & aSecurityInfo

NewL(const CVPbkContactStoreUriArray &, const MVPbkFieldTypeList &, const TSecurityInfo &)

CVPbkContactStoreDomainList *NewL(const CVPbkContactStoreUriArray &aURIList,
const MVPbkFieldTypeList &aFieldTypeList,
const TSecurityInfo &aSecurityInfo
)[static]

Creates a contact store domain list.

Parameters

const CVPbkContactStoreUriArray & aURIListList of contact stores to load.
const MVPbkFieldTypeList & aFieldTypeListFile type list that contains all possible field types in vpbk.
const TSecurityInfo & aSecurityInfoSecurity info of client process.

OpenAllL(MVPbkContactStoreListObserver &)

voidOpenAllL(MVPbkContactStoreListObserver &aObserver)

Parameters

MVPbkContactStoreListObserver & aObserver

OpenComplete()

voidOpenComplete()[private]

SignalOpenComplete()

voidSignalOpenComplete()[private]

StoreReady(MVPbkContactStore &)

voidStoreReady(MVPbkContactStore &aContactStore)[private]

Parameters

MVPbkContactStore & aContactStore

StoreUnavailable(MVPbkContactStore &, TInt)

voidStoreUnavailable(MVPbkContactStore &aContactStore,
TIntaReason
)[private]

Parameters

MVPbkContactStore & aContactStore
TInt aReason

Member Data Documentation

CIdle * iAsyncCallBack

CIdle *iAsyncCallBack[private]

MVPbkContactStoreListObserver * iListObserver

MVPbkContactStoreListObserver *iListObserver[private]

RPointerArray< CVPbkContactStoreDomain > iStoreDomains

RPointerArray< CVPbkContactStoreDomain >iStoreDomains[private]

RPointerArray< MVPbkContactStore > iStoresToOpen

RPointerArray< MVPbkContactStore >iStoresToOpen[private]