MVasBasePbkHandler Class Reference

class MVasBasePbkHandler

Abstract base class for phonebook data access

Since
3.2

Constructor & Destructor Documentation

~MVasBasePbkHandler()

~MVasBasePbkHandler()[inline, virtual]

Destructor. Defined here so that client can use M-class pointer to destroy the concrete C-object

Since
3.2

Member Functions Documentation

ChangeVoiceTagFieldL(TBool)

voidChangeVoiceTagFieldL(TBoolaSet)[pure virtual]

Changes current field's voice tag field status

Since
3.2

Parameters

TBool aSetIf ETrue field is set else field is removed

CloseContactL(TBool)

voidCloseContactL(TBoolaSaveChanges)[pure virtual]

Closes contact with or without saving changes

Since
3.2

Parameters

TBool aSaveChangesETrue to save changes else EFalse

CompressL()

voidCompressL()[pure virtual]

Compresses database

Since
3.2

ContactIdArrayLC()

CContactIdArray *ContactIdArrayLC()[pure virtual]

Returns all contact ids from database

Since
3.2

CreateContactObserverL(MVasContactObserver *)

voidCreateContactObserverL(MVasContactObserver *aObserver)[pure virtual]

Creates the contact change notifier and sets observer as a listener

Since
3.2

Parameters

MVasContactObserver * aObserverContact change listener

FieldIdL()

TInt FieldIdL()[pure virtual]

Returns the field id

Since
3.2

FieldTypeL()

TFieldType FieldTypeL()[pure virtual]

Returns the field type

Since
3.2

FindContactFieldL(MNssTag *)

voidFindContactFieldL(MNssTag *aTag)[pure virtual]

Finds a field from contact

Since
3.2

Parameters

MNssTag * aTagTag that is used as a search parameter

FindContactL(MNssTag *)

voidFindContactL(MNssTag *aTag)[pure virtual]

Finds a contact from phonebook

Since
3.2

Parameters

MNssTag * aTagTag that is used as a search parameter

FindContactL(TInt32, TBool)

voidFindContactL(TInt32aContactId,
TBoolaReadOnly
)[pure virtual]

Finds a contact from phonebook

Since
3.2

Parameters

TInt32 aContactIdId of the contact that should be found
TBool aReadOnlyETrue if contact will not be edited else EFalse

FindDefaultContactFieldL(TInt)

voidFindDefaultContactFieldL(TIntaCommandType)[pure virtual]

Searches for a default field of a given type

Parameters

TInt aCommandTypeCommand type that is used as a select parameter Must be one of TVasExtensionCommand types

FindFieldL(MNssTag *)

voidFindFieldL(MNssTag *aTag)[pure virtual]

Finds a field from contact

Since
3.2

Parameters

MNssTag * aTagTag that is used as a search parameter

FindFieldL(TInt)

voidFindFieldL(TIntaFieldId)[pure virtual]

Finds a field from contact

Since
3.2

Parameters

TInt aFieldIdField id that is used as a search parameter

InitializeL()

voidInitializeL()[pure virtual]

Opens phonebook connection and contact stores

Since
3.2

IsFieldEmptyL()

TBool IsFieldEmptyL()[pure virtual]

Returns information if current field is empty

Since
3.2

LabelL()

TPtrC LabelL()[pure virtual]

Returns the field label

Since
3.2

TextL()

TPtrC TextL()[pure virtual]

Returns the field text

Since
3.2