MSearchElement Class Reference

class MSearchElement : public MXIMPBase

Interface for search element object.

Inherits from

Constructor & Destructor Documentation

~MSearchElement()

~MSearchElement()[inline, virtual]

Public destructor. Objects instancies can be deleted through this interface.

Member Functions Documentation

GetSearchId()

MXIMPIdentity &GetSearchId()const [pure virtual]

returns search identity

GetSearchKey()

TSearchKey GetSearchKey()const [pure virtual]

returns key value of the search

GetSearchLabel()

MXIMPIdentity &GetSearchLabel()const [pure virtual]

returns label identity

SetRequestL(MXIMPIdentity &, TSearchKey)

voidSetRequestL(MXIMPIdentity &aSearchStringId,
TSearchKeyaKey
)[pure virtual]

Set search values. e.g. to serach for "james" as a first name aSearchStringId has to be set with "james" aKey is EUserFirstName

leave
KErrArgument if client trys to set 'EReadLabel' as key. if aKey = EReadLabel then leaves with KErrArgument

Parameters

MXIMPIdentity & aSearchStringIdIdentification for search word.
TSearchKey aKeysearch key value.

SetRequestL(MXIMPIdentity &, MXIMPIdentity &)

voidSetRequestL(MXIMPIdentity &aSearchStringId,
MXIMPIdentity &aLabelId
)[pure virtual]

Set search values. e.g. to serach for "james" as a first name aSearchStringId has to be set with "james" aLabelId is "firstname" : this changes from server to server client has to query these labels from server and use

Parameters

MXIMPIdentity & aSearchStringIdIdentification for search word.
MXIMPIdentity & aLabelIdIdentification for label.