CVPbkContactStoreDomainList Class Reference

class CVPbkContactStoreDomainList : public CBase

Virtual Phonebook Contact Manager Store list.

Inherits from

  • CVPbkContactStoreDomainList
Public Member Functions
~CVPbkContactStoreDomainList ()
void AppendL ( CVPbkContactStoreDomain *)
MVPbkContactStore & At ( TInt )
void CloseAll ( 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 &)
void LoadPluginStoreDomainsL (const CVPbkContactStoreUriArray &, const MVPbkFieldTypeList &, const TSecurityInfo &)
CVPbkContactStoreDomainList * NewL (const CVPbkContactStoreUriArray &, const MVPbkFieldTypeList &, const TSecurityInfo &)
void OpenAllL ( MVPbkContactStoreListObserver &)
Private Member Functions
CVPbkContactStoreDomainList ()
TInt AsyncSignalOpenComplete ( TAny *)
void ConstructL (const CVPbkContactStoreUriArray &, const MVPbkFieldTypeList &, const TSecurityInfo &)
CVPbkContactStoreDomain * FindDomain (const TDesC &)
void HandleStoreEventL ( MVPbkContactStore &, TVPbkContactStoreEvent )
void LoadImplementationStoreDomainsL (const CVPbkContactStoreUriArray &, const CImplementationInformation &, const MVPbkFieldTypeList &, const TSecurityInfo &)
void OpenComplete ()
void SignalOpenComplete ()
void StoreReady ( MVPbkContactStore &)
void StoreUnavailable ( 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 *)

void AppendL ( 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 ( TInt aIndex ) const

Parameters

TInt aIndex

CloseAll(MVPbkContactStoreListObserver &)

void CloseAll ( MVPbkContactStoreListObserver & aObserver )

Parameters

MVPbkContactStoreListObserver & aObserver

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

void ConstructL ( 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 ( TUid aExtensionUid )

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
)

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,
TInt aMaxMatchDigits,
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)

void HandleStoreEventL ( MVPbkContactStore & aContactStore,
TVPbkContactStoreEvent aStoreEvent
) [private]

Parameters

MVPbkContactStore & aContactStore
TVPbkContactStoreEvent aStoreEvent

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

void LoadImplementationStoreDomainsL ( 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 &)

void LoadPluginStoreDomainsL ( 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 & aURIList List of contact stores to load.
const MVPbkFieldTypeList & aFieldTypeList File type list that contains all possible field types in vpbk.
const TSecurityInfo & aSecurityInfo Security info of client process.

OpenAllL(MVPbkContactStoreListObserver &)

void OpenAllL ( MVPbkContactStoreListObserver & aObserver )

Parameters

MVPbkContactStoreListObserver & aObserver

OpenComplete()

void OpenComplete ( ) [private]

SignalOpenComplete()

void SignalOpenComplete ( ) [private]

StoreReady(MVPbkContactStore &)

void StoreReady ( MVPbkContactStore & aContactStore ) [private]

Parameters

MVPbkContactStore & aContactStore

StoreUnavailable(MVPbkContactStore &, TInt)

void StoreUnavailable ( MVPbkContactStore & aContactStore,
TInt aReason
) [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]