MVPbkContactAttributeManager Class Reference
class MVPbkContactAttributeManager |
Abstract interface for contact attribute manager.
Contact attribute manager can be used to set global attributes such as speed dials for contacts or fields of contacts. The attributes can be stored in external databases so that some kind of mapping is maintained between contacts and attributes. This interface provides unified access to all global attributes.
Public Member Functions |
---|
| ~MVPbkContactAttributeManager() |
TAny * | ContactAttributeManagerExtension(TUid) |
MVPbkStoreContactField * | FindFieldWithAttributeL(const MVPbkContactAttribute &, MVPbkStoreContact &) |
MVPbkContactOperationBase * | FindFieldsWithAttributeL(TUid, MVPbkStoreContact &, MVPbkMultiAttributePresenceObserver &) |
MVPbkContactOperationBase * | FindFieldsWithAttributeL(const MVPbkContactAttribute &, MVPbkStoreContact &, MVPbkMultiAttributePresenceObserver &) |
MVPbkStoreContactFieldCollection * | FindFieldsWithAttributeLC(TUid, MVPbkStoreContact &) |
MVPbkStoreContactFieldCollection * | FindFieldsWithAttributeLC(const MVPbkContactAttribute &, MVPbkStoreContact &) |
TBool
| HasContactAttributeL(TUid, const MVPbkStoreContact &) |
TBool
| HasContactAttributeL(const MVPbkContactAttribute &, const MVPbkStoreContact &) |
MVPbkContactOperationBase * | HasContactAttributeL(TUid, const MVPbkStoreContact &, MVPbkSingleAttributePresenceObserver &) |
MVPbkContactOperationBase * | HasContactAttributeL(const MVPbkContactAttribute &, const MVPbkStoreContact &, MVPbkSingleAttributePresenceObserver &) |
TBool
| HasFieldAttributeL(TUid, const MVPbkStoreContactField &) |
TBool
| HasFieldAttributeL(const MVPbkContactAttribute &, const MVPbkStoreContactField &) |
MVPbkContactOperationBase * | HasFieldAttributeL(TUid, const MVPbkStoreContactField &, MVPbkSingleAttributePresenceObserver &) |
MVPbkContactOperationBase * | HasFieldAttributeL(const MVPbkContactAttribute &, const MVPbkStoreContactField &, MVPbkSingleAttributePresenceObserver &) |
MVPbkContactOperationBase * | ListContactsL(TUid, MVPbkContactFindObserver &) |
MVPbkContactOperationBase * | ListContactsL(const MVPbkContactAttribute &, MVPbkContactFindObserver &) |
MVPbkContactOperationBase * | RemoveContactAttributeL(const MVPbkContactLink &, const MVPbkContactAttribute &, MVPbkSetAttributeObserver &) |
MVPbkContactOperationBase * | RemoveContactAttributeL(const MVPbkContactLink &, TUid, MVPbkSetAttributeObserver &) |
MVPbkContactOperationBase * | RemoveFieldAttributeL(MVPbkStoreContactField &, const MVPbkContactAttribute &, MVPbkSetAttributeObserver &) |
MVPbkContactOperationBase * | RemoveFieldAttributeL(MVPbkStoreContactField &, TUid, MVPbkSetAttributeObserver &) |
MVPbkContactOperationBase * | SetContactAttributeL(const MVPbkContactLink &, const MVPbkContactAttribute &, MVPbkSetAttributeObserver &) |
MVPbkContactOperationBase * | SetFieldAttributeL(MVPbkStoreContactField &, const MVPbkContactAttribute &, MVPbkSetAttributeObserver &) |
Constructor & Destructor Documentation
~MVPbkContactAttributeManager()
~MVPbkContactAttributeManager | ( | ) | [inline, virtual] |
Member Functions Documentation
ContactAttributeManagerExtension(TUid)
TAny * | ContactAttributeManagerExtension | ( | TUid | | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
FindFieldWithAttributeL(const MVPbkContactAttribute &, MVPbkStoreContact &)
FindFieldsWithAttributeL(TUid, MVPbkStoreContact &, MVPbkMultiAttributePresenceObserver &)
Initiates an asynchronous operation, which finds the aAttribute type attributed fields from the contact.
FindFieldsWithAttributeL(const MVPbkContactAttribute &, MVPbkStoreContact &, MVPbkMultiAttributePresenceObserver &)
Initiates an asynchronous operation, which finds the aAttribute type attributed fields from the contact.
FindFieldsWithAttributeLC(TUid, MVPbkStoreContact &)
Returns fields with attribute type aAttributeType, or NULL if there is no fields with that attribute in this contact.
Parameters
TUid aAttributeType | Type of the attribute to find for. |
MVPbkStoreContact & aContact | Contact whose attributes are checked. |
FindFieldsWithAttributeLC(const MVPbkContactAttribute &, MVPbkStoreContact &)
Returns fields with attribute aAttribute, or NULL if there is no fields with that attribute in this contact.
HasContactAttributeL(TUid, const MVPbkStoreContact &)
Checks if the given contact has the given attribute.
Parameters
TUid aAttributeType | Type of the attribute to check for. |
const MVPbkStoreContact & aContact | Contact whose attributes are checked. |
HasContactAttributeL(const MVPbkContactAttribute &, const MVPbkStoreContact &)
Checks if the given contact has an attribute matching the given attribute.
HasContactAttributeL(TUid, const MVPbkStoreContact &, MVPbkSingleAttributePresenceObserver &)
Checks if the given contact has the given attribute asynchronously.
HasContactAttributeL(const MVPbkContactAttribute &, const MVPbkStoreContact &, MVPbkSingleAttributePresenceObserver &)
Checks if the given contact has an attribute matching the given attribute asynchronously.
HasFieldAttributeL(TUid, const MVPbkStoreContactField &)
Checks if the given contact field has the given attribute.
HasFieldAttributeL(const MVPbkContactAttribute &, const MVPbkStoreContactField &)
Checks if the given contact field has an attribute matching the given attribute.
HasFieldAttributeL(TUid, const MVPbkStoreContactField &, MVPbkSingleAttributePresenceObserver &)
Checks if the given contact field has the given attribute asynchronously.
HasFieldAttributeL(const MVPbkContactAttribute &, const MVPbkStoreContactField &, MVPbkSingleAttributePresenceObserver &)
Checks if the given contact field has an attribute matching the given attribute asynchronously.
ListContactsL(TUid, MVPbkContactFindObserver &)
Lists all contacts having the requested type of attribute asynchronously.
ListContactsL(const MVPbkContactAttribute &, MVPbkContactFindObserver &)
Lists all contacts matching the given attribute asynchronously.
RemoveContactAttributeL(const MVPbkContactLink &, const MVPbkContactAttribute &, MVPbkSetAttributeObserver &)
asynchronously removes the given attribute from the contact referred by the aContactLink.
RemoveContactAttributeL(const MVPbkContactLink &, TUid, MVPbkSetAttributeObserver &)
asynchronously removes all attributes having the attribute type aAttributeType from the contact.
Parameters
const MVPbkContactLink & aContactLink | Link to the contact whose attribute to remove. |
TUid aAttributeType | Type of the attributes to remove from the contact. |
MVPbkSetAttributeObserver & aObserver | Observer for the asynchronous process. |
RemoveFieldAttributeL(MVPbkStoreContactField &, const MVPbkContactAttribute &, MVPbkSetAttributeObserver &)
Asynchronously removes the given attribute from the given contact field.
RemoveFieldAttributeL(MVPbkStoreContactField &, TUid, MVPbkSetAttributeObserver &)
Asynchronously removes all attributes having the attribute type aAttributeType from the contact field.
SetContactAttributeL(const MVPbkContactLink &, const MVPbkContactAttribute &, MVPbkSetAttributeObserver &)
Asynchronously sets the contact attribute for the contact referred by the given contact link.
SetFieldAttributeL(MVPbkStoreContactField &, const MVPbkContactAttribute &, MVPbkSetAttributeObserver &)
Asynchronously sets the contact field attribute for the give contact field.
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.