CVPbkContactIdConverter Class Reference
class CVPbkContactIdConverter : public CBase |
An ECOM interface for the virtual phonebook converter for contact IDs of the Symbian's Contacts Model and Virtual Phonebook contact links.
A client has a TContactItemId that needs to be converted to MVPbkContactLink or vice versa.
Constructor & Destructor Documentation
~CVPbkContactIdConverter()
~CVPbkContactIdConverter | ( | ) | [inline] |
Member Functions Documentation
CommitOpenContactItemL(CPbkContactItem &)
Commits the openned contact item.
ContactIdConverterExtension(TUid)
TAny * | ContactIdConverterExtension | ( | TUid | | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
IdentifierToLinkLC(TInt32)
Converts the given identifier (TContactItemId) to a contact link in the contact store defined in NewL function.
Created link is left to cleanup stack and ownership is transferred to caller.
Parameters
TInt32 aIdentifier | The contact id to convert. |
LinkToIdentifier(const MVPbkContactLink &)
Converts the given link to an Id in the contact store defined in NewL function.
Returned value is KNullContactId if the link is from any other store than the one given in NewL.
LinkToOpenPbkContactItemLCX(const MVPbkContactLink &)
Converts the given link to an new CPbkContactItem and locks it for modification.
Created contact item is left to cleanup stack and ownership is transferred to caller. Returns NULL if the link is from any other store than the one given in NewL.
CPbkContactEngine::OpenContactLCX
LinkToPbkContactItemLC(const MVPbkContactLink &)
Converts the given link to an new CPbkContactItem.
Created contact item is left to cleanup stack and ownership is transferred to caller. Returns NULL if the link is from any other store than the one given in NewL.
NewL(MVPbkContactStore &)
Creates a new conversion utility object for given contact store.
The given contact store must be from the cntdb domain, otherwise this function leaves with KErrNotSupported.
- Exceptions
-
KErrNotSupported |
if aContactStore is not from cntdb domain.
|
Parameters
MVPbkContactStore & aContactStore | Contact store that is used for conversion. Links and IDs are converted for this store only. Trying to convert links or IDs from different stores provides unspecified results. |
PbkEngFieldIndexL(const MVPbkStoreContactField &)
Returns a PbkEng field index for a Virtual Phonebook field.
Member Data Documentation
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.