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.
TAny * | ContactAttributeManagerExtension | ( | TUid | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
TUid |
MVPbkStoreContactField * | FindFieldWithAttributeL | ( | const MVPbkContactAttribute & | aAttr, |
MVPbkStoreContact & | aContact | |||
) | const [pure virtual] |
Finds the first field that has the aAttr and returns a reference to the field or NULL if not found.
Note: the returned reference will become invalid if MVPbkStoreContactFieldCollection::FieldAt is called for different field. If this is a problem then use MVPbkStoreContactField::CloneLC for permanent copy of the field.
const MVPbkContactAttribute & aAttr | The attribute that is looked for. |
MVPbkStoreContact & aContact | Contact whose fields are iterated. |
MVPbkContactOperationBase * | FindFieldsWithAttributeL | ( | TUid | aAttributeType, |
MVPbkStoreContact & | aContact, | |||
MVPbkMultiAttributePresenceObserver & | aObserver | |||
) | const [pure virtual] |
Initiates an asynchronous operation, which finds the aAttribute type attributed fields from the contact.
TUid aAttributeType | Type of the attribute to find for. |
MVPbkStoreContact & aContact | Contact whose attributes are checked. |
MVPbkMultiAttributePresenceObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | FindFieldsWithAttributeL | ( | const MVPbkContactAttribute & | aAttribute, |
MVPbkStoreContact & | aContact, | |||
MVPbkMultiAttributePresenceObserver & | aObserver | |||
) | const [pure virtual] |
Initiates an asynchronous operation, which finds the aAttribute type attributed fields from the contact.
const MVPbkContactAttribute & aAttribute | Attribute prototype to match against. |
MVPbkStoreContact & aContact | Contact whose attributes are checked. |
MVPbkMultiAttributePresenceObserver & aObserver | Observer for the asynchronous process. |
MVPbkStoreContactFieldCollection * | FindFieldsWithAttributeLC | ( | TUid | aAttributeType, |
MVPbkStoreContact & | aContact | |||
) | const [pure virtual] |
Returns fields with attribute type aAttributeType, or NULL if there is no fields with that attribute in this contact.
TUid aAttributeType | Type of the attribute to find for. |
MVPbkStoreContact & aContact | Contact whose attributes are checked. |
MVPbkStoreContactFieldCollection * | FindFieldsWithAttributeLC | ( | const MVPbkContactAttribute & | aAttribute, |
MVPbkStoreContact & | aContact | |||
) | const [pure virtual] |
Returns fields with attribute aAttribute, or NULL if there is no fields with that attribute in this contact.
const MVPbkContactAttribute & aAttribute | Attribute prototype to match against. |
MVPbkStoreContact & aContact | Contact whose attributes are checked. |
TBool | HasContactAttributeL | ( | TUid | aAttributeType, |
const MVPbkStoreContact & | aContact | |||
) | const [pure virtual] |
Checks if the given contact has the given attribute.
TUid aAttributeType | Type of the attribute to check for. |
const MVPbkStoreContact & aContact | Contact whose attributes are checked. |
TBool | HasContactAttributeL | ( | const MVPbkContactAttribute & | aAttribute, |
const MVPbkStoreContact & | aContact | |||
) | const [pure virtual] |
Checks if the given contact has an attribute matching the given attribute.
const MVPbkContactAttribute & aAttribute | Attribute prototype to match against. |
const MVPbkStoreContact & aContact | Contact whose attributes are checked. |
MVPbkContactOperationBase * | HasContactAttributeL | ( | TUid | aAttributeType, |
const MVPbkStoreContact & | aContact, | |||
MVPbkSingleAttributePresenceObserver & | aObserver | |||
) | const [pure virtual] |
Checks if the given contact has the given attribute asynchronously.
TUid aAttributeType | Type of the attribute to check for. |
const MVPbkStoreContact & aContact | Contact whose attributes are checked. |
MVPbkSingleAttributePresenceObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | HasContactAttributeL | ( | const MVPbkContactAttribute & | aAttribute, |
const MVPbkStoreContact & | aContact, | |||
MVPbkSingleAttributePresenceObserver & | aObserver | |||
) | const [pure virtual] |
Checks if the given contact has an attribute matching the given attribute asynchronously.
const MVPbkContactAttribute & aAttribute | Attribute prototype to match against. |
const MVPbkStoreContact & aContact | Contact whose attributes are checked. |
MVPbkSingleAttributePresenceObserver & aObserver | Observer for the asynchronous process. |
TBool | HasFieldAttributeL | ( | TUid | aAttributeType, |
const MVPbkStoreContactField & | aField | |||
) | const [pure virtual] |
Checks if the given contact field has the given attribute.
TUid aAttributeType | Type of the attribute to check for. |
const MVPbkStoreContactField & aField | Field whose attributes are checked. |
TBool | HasFieldAttributeL | ( | const MVPbkContactAttribute & | aAttribute, |
const MVPbkStoreContactField & | aField | |||
) | const [pure virtual] |
Checks if the given contact field has an attribute matching the given attribute.
const MVPbkContactAttribute & aAttribute | Attribute prototype to match against. |
const MVPbkStoreContactField & aField | Contact field whose attribute is checked. |
MVPbkContactOperationBase * | HasFieldAttributeL | ( | TUid | aAttributeType, |
const MVPbkStoreContactField & | aField, | |||
MVPbkSingleAttributePresenceObserver & | aObserver | |||
) | const [pure virtual] |
Checks if the given contact field has the given attribute asynchronously.
TUid aAttributeType | Type of the attribute to check for. |
const MVPbkStoreContactField & aField | Field whose attributes are checked. |
MVPbkSingleAttributePresenceObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | HasFieldAttributeL | ( | const MVPbkContactAttribute & | aAttribute, |
const MVPbkStoreContactField & | aField, | |||
MVPbkSingleAttributePresenceObserver & | aObserver | |||
) | const [pure virtual] |
Checks if the given contact field has an attribute matching the given attribute asynchronously.
const MVPbkContactAttribute & aAttribute | Attribute prototype to match against. |
const MVPbkStoreContactField & aField | Contact field whose attribute is checked. |
MVPbkSingleAttributePresenceObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | ListContactsL | ( | TUid | aAttributeType, |
MVPbkContactFindObserver & | aObserver | |||
) | [pure virtual] |
Lists all contacts having the requested type of attribute asynchronously.
TUid aAttributeType | Type of the attribute to search for. |
MVPbkContactFindObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | ListContactsL | ( | const MVPbkContactAttribute & | aAttribute, |
MVPbkContactFindObserver & | aObserver | |||
) | [pure virtual] |
Lists all contacts matching the given attribute asynchronously.
const MVPbkContactAttribute & aAttribute | Attribute prototype to match against. |
MVPbkContactFindObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | RemoveContactAttributeL | ( | const MVPbkContactLink & | aContactLink, |
const MVPbkContactAttribute & | aAttribute, | |||
MVPbkSetAttributeObserver & | aObserver | |||
) | [pure virtual] |
asynchronously removes the given attribute from the contact referred by the aContactLink.
const MVPbkContactLink & aContactLink | Link to the contact whose attribute to remove. |
const MVPbkContactAttribute & aAttribute | Attribute to remove from the contact. |
MVPbkSetAttributeObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | RemoveContactAttributeL | ( | const MVPbkContactLink & | aContactLink, |
TUid | aAttributeType, | |||
MVPbkSetAttributeObserver & | aObserver | |||
) | [pure virtual] |
asynchronously removes all attributes having the attribute type aAttributeType from the contact.
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. |
MVPbkContactOperationBase * | RemoveFieldAttributeL | ( | MVPbkStoreContactField & | aField, |
const MVPbkContactAttribute & | aAttribute, | |||
MVPbkSetAttributeObserver & | aObserver | |||
) | [pure virtual] |
Asynchronously removes the given attribute from the given contact field.
MVPbkStoreContactField & aField | Field whose attribute to remove. |
const MVPbkContactAttribute & aAttribute | Attribute to remove from the contact field. |
MVPbkSetAttributeObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | RemoveFieldAttributeL | ( | MVPbkStoreContactField & | aField, |
TUid | aAttributeType, | |||
MVPbkSetAttributeObserver & | aObserver | |||
) | [pure virtual] |
Asynchronously removes all attributes having the attribute type aAttributeType from the contact field.
MVPbkStoreContactField & aField | Field whose attribute to remove. |
TUid aAttributeType | Type of the attributes to remove from the contact field. |
MVPbkSetAttributeObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | SetContactAttributeL | ( | const MVPbkContactLink & | aContactLink, |
const MVPbkContactAttribute & | aAttribute, | |||
MVPbkSetAttributeObserver & | aObserver | |||
) | [pure virtual] |
Asynchronously sets the contact attribute for the contact referred by the given contact link.
const MVPbkContactLink & aContactLink | Link to contact whose attribute to set. |
const MVPbkContactAttribute & aAttribute | Attribute to set for the contact. |
MVPbkSetAttributeObserver & aObserver | Observer for the asynchronous process. |
MVPbkContactOperationBase * | SetFieldAttributeL | ( | MVPbkStoreContactField & | aField, |
const MVPbkContactAttribute & | aAttribute, | |||
MVPbkSetAttributeObserver & | aObserver | |||
) | [pure virtual] |
Asynchronously sets the contact field attribute for the give contact field.
MVPbkStoreContactField & aField | Contact field whose attribute to set. |
const MVPbkContactAttribute & aAttribute | Attribute to set for the contact field. |
MVPbkSetAttributeObserver & aObserver | Observer for the asynchronous 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.