MVPbkContactOperationFactory Class Reference
class MVPbkContactOperationFactory |
A factory interface for asynchronous contact operations. This interface is used to create contact operations.
Public Member Functions |
---|
TAny * | ContactOperationFactoryExtension(TUid) |
MVPbkContactOperation * | CreateCommitContactsOperationL(const TArray< MVPbkStoreContact * > &, MVPbkBatchOperationObserver &) |
MVPbkContactOperation * | CreateCompressStoresOperationL(MVPbkBatchOperationObserver &) |
MVPbkContactOperation * | CreateContactRetrieverL(const MVPbkContactLink &, MVPbkSingleContactOperationObserver &) |
MVPbkContactOperation * | CreateDeleteContactsOperationL(const MVPbkContactLinkArray &, MVPbkBatchOperationObserver &) |
MVPbkContactOperation * | CreateFindOperationL(const TDesC &, const MVPbkFieldTypeList &, MVPbkContactFindObserver &) |
MVPbkContactOperation * | CreateFindOperationL(const MDesC16Array &, const MVPbkFieldTypeList &, MVPbkContactFindFromStoresObserver &, const TCallBack &) |
MVPbkContactOperation * | CreateMatchPhoneNumberOperationL(const TDesC &, TInt, MVPbkContactFindObserver &) |
Member Functions Documentation
ContactOperationFactoryExtension(TUid)
TAny * | ContactOperationFactoryExtension | ( | TUid | | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
CreateCommitContactsOperationL(const TArray< MVPbkStoreContact * > &, MVPbkBatchOperationObserver &)
Creates an operation for committing multiple contacts.
CreateCompressStoresOperationL(MVPbkBatchOperationObserver &)
Creates an operation for compressing the store.
CreateContactRetrieverL(const MVPbkContactLink &, MVPbkSingleContactOperationObserver &)
Creates an operation for contact retrieval.
CreateDeleteContactsOperationL(const MVPbkContactLinkArray &, MVPbkBatchOperationObserver &)
Creates an operation for deleting multiple contacts.
CreateFindOperationL(const TDesC &, const MVPbkFieldTypeList &, MVPbkContactFindObserver &)
Creates an operation for asynchronous contact finding.
CreateFindOperationL(const MDesC16Array &, const MVPbkFieldTypeList &, MVPbkContactFindFromStoresObserver &, const TCallBack &)
Creates an operation for asynchronous contact finding. Finds a string containing text that is stored in one or more fields. Client can give multiple find words. All the words must match to separated data. E.g if there are two find words: "Jo" and "Jo" then field data "John Johnson" matches but "John Doe" doesn't if the word parser uses white space as a word separator.
NOTE: The accuracy of the results depends on the ability of the store implementation to implement the find. The performance can vary too depending on the store.
Parameters
const MDesC16Array & aSearchStrings | Words that are compared to field data. |
const MVPbkFieldTypeList & aFieldTypes | Types of the fields that are used. |
MVPbkContactFindFromStoresObserver & aObserver | An observer for asynchronous operation. |
const TCallBack & aWordParserCallBack | a client implementation of word parser function that separates the field data into words. Parameter to function is TVPbkWordParserParam. |
CreateMatchPhoneNumberOperationL(const TDesC &, TInt, MVPbkContactFindObserver &)
Creates an operation for asynchronous phone number matching.
Parameters
const TDesC & aPhoneNumber | A phone number to search for. |
TInt aMaxMatchDigits | Maximum number of digits to match from the end of the number. |
MVPbkContactFindObserver & aObserver | Observer for the find process. |
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.