CMsvSearchSortQuery Class Reference

class CMsvSearchSortQuery : public CBase

Class: CMsvSearchSortQuery

CMsvSearchSortQuery is used to create Searchsort Query

Inherits from

Public Member Functions
~CMsvSearchSortQuery()
IMPORT_C voidAddSearchOptionL(TMsvMessagePart, const TDesC &, TMsvRelationOp)
IMPORT_C voidAddSearchOptionL(TMsvMessagePart, const TInt, TMsvRelationOp)
IMPORT_C voidAddSearchOptionL(TMsvMessagePart, TBool)
IMPORT_C voidAddSortOptionL(TMsvMessagePart, TMsvSortOrder)
IMPORT_C CMsvSearchSortQuery *NewL()
IMPORT_C CMsvSearchSortQuery *NewLC()
IMPORT_C voidSetCaseSensitiveOption(TBool)
IMPORT_C voidSetParentId(const TMsvId)
IMPORT_C voidSetResultType(TMsvSearchSortResultType)
IMPORT_C voidSetSubFolderSearch(TBool)
IMPORT_C voidSetWholeWord(TBool)
IMPORT_C voidSetWildCardSearch(TBool)
Private Member Functions
CMsvSearchSortQuery()
voidConstructL()
TInt GetMaxQuerySize()
TMsvMessagePart GetMessagePart(TInt)
TMsvMessagePart GetMessagePart()
TMsvRelationOp GetRelationOp(TInt)
TMsvSearchSortResultType GetResultType()
TBool IsCaseSensitive()
TBool IsSearchQuery()
TBool IsSubFolderSearch()
TBool IsWholeWord()
TBool IsWildCardSearch()
TBool ValidateMessagePartAgainstEMsvEqualOperator(TMsvMessagePart)
TBool ValidateMessagePartAgainstRelationOp(TMsvRelationOp)
TInt ValidateQueryString(TMsvMessagePart, const TDesC &, TMsvRelationOp)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
TBool iCaseSensitive
TInt iCountMultilevelSort
TBool iExplicitSort
TBool iIsSearchQuery
TMsvId iParentId
TInt iQueryCount
TInt iQueryId
TMsvQueryTable *iQueryTable
TMsvSearchSortResultType iSearchSortResultType
TMsvMessagePart iSortOnMessagePart
TMsvSortOrder iSortOrder
TBool iSubFolderSearch
TBool iWholeWord
TBool iWildCardCharacter

Constructor & Destructor Documentation

CMsvSearchSortQuery()

CMsvSearchSortQuery()[private]

~CMsvSearchSortQuery()

IMPORT_C~CMsvSearchSortQuery()

Member Functions Documentation

AddSearchOptionL(TMsvMessagePart, const TDesC &, TMsvRelationOp)

IMPORT_C voidAddSearchOptionL(TMsvMessagePartaMsgPart,
const TDesC &aQueryDesValue,
TMsvRelationOpaRelOp
)

Parameters

TMsvMessagePart aMsgPart
const TDesC & aQueryDesValue
TMsvRelationOp aRelOp

AddSearchOptionL(TMsvMessagePart, const TInt, TMsvRelationOp)

IMPORT_C voidAddSearchOptionL(TMsvMessagePartaMsgPart,
const TIntaQueryIntValue,
TMsvRelationOpaRelOp
)

Parameters

TMsvMessagePart aMsgPart
const TInt aQueryIntValue
TMsvRelationOp aRelOp

AddSearchOptionL(TMsvMessagePart, TBool)

IMPORT_C voidAddSearchOptionL(TMsvMessagePartaMsgPart,
TBoolaMessagePartFlagStatus
)

Parameters

TMsvMessagePart aMsgPart
TBool aMessagePartFlagStatus

AddSortOptionL(TMsvMessagePart, TMsvSortOrder)

IMPORT_C voidAddSortOptionL(TMsvMessagePartaMessagePart,
TMsvSortOrderaSortOder
)

Parameters

TMsvMessagePart aMessagePart
TMsvSortOrder aSortOder

ConstructL()

voidConstructL()[private]

GetMaxQuerySize()

TInt GetMaxQuerySize()[private]

GetMessagePart(TInt)

TMsvMessagePart GetMessagePart(TIntaIndex)[private]

Parameters

TInt aIndex

GetMessagePart()

TMsvMessagePart GetMessagePart()[private]

GetRelationOp(TInt)

TMsvRelationOp GetRelationOp(TIntaIndex)[private]

Parameters

TInt aIndex

GetResultType()

TMsvSearchSortResultType GetResultType()[private]

IsCaseSensitive()

TBool IsCaseSensitive()[private]

IsSearchQuery()

TBool IsSearchQuery()[private]

IsSubFolderSearch()

TBool IsSubFolderSearch()[private]

IsWholeWord()

TBool IsWholeWord()[private]

IsWildCardSearch()

TBool IsWildCardSearch()[private]

NewL()

IMPORT_C CMsvSearchSortQuery *NewL()[static]

NewLC()

IMPORT_C CMsvSearchSortQuery *NewLC()[static]

SetCaseSensitiveOption(TBool)

IMPORT_C voidSetCaseSensitiveOption(TBoolaCaseSensitive)

Parameters

TBool aCaseSensitive

SetParentId(const TMsvId)

IMPORT_C voidSetParentId(const TMsvIdaParentId)

Parameters

const TMsvId aParentId

SetResultType(TMsvSearchSortResultType)

IMPORT_C voidSetResultType(TMsvSearchSortResultTypeaResultType)

Parameters

TMsvSearchSortResultType aResultType

SetSubFolderSearch(TBool)

IMPORT_C voidSetSubFolderSearch(TBoolaSubFolderSearch)

Parameters

TBool aSubFolderSearch

SetWholeWord(TBool)

IMPORT_C voidSetWholeWord(TBoolaWholeWord)

Parameters

TBool aWholeWord

SetWildCardSearch(TBool)

IMPORT_C voidSetWildCardSearch(TBoolaWildCard)

Parameters

TBool aWildCard

ValidateMessagePartAgainstEMsvEqualOperator(TMsvMessagePart)

TBool ValidateMessagePartAgainstEMsvEqualOperator(TMsvMessagePartaMessagePart)[private]

Parameters

TMsvMessagePart aMessagePart

ValidateMessagePartAgainstRelationOp(TMsvRelationOp)

TBool ValidateMessagePartAgainstRelationOp(TMsvRelationOpaRelationOp)[private]

Parameters

TMsvRelationOp aRelationOp

ValidateQueryString(TMsvMessagePart, const TDesC &, TMsvRelationOp)

TInt ValidateQueryString(TMsvMessagePartaMsgPart,
const TDesC &aQueryString,
TMsvRelationOpaRelOp
)[private]

Parameters

TMsvMessagePart aMsgPart
const TDesC & aQueryString
TMsvRelationOp aRelOp

Member Data Documentation

TBool iCaseSensitive

TBool iCaseSensitive[private]

TInt iCountMultilevelSort

TInt iCountMultilevelSort[private]

TBool iExplicitSort

TBool iExplicitSort[private]

TBool iIsSearchQuery

TBool iIsSearchQuery[private]

TMsvId iParentId

TMsvId iParentId[private]

TInt iQueryCount

TInt iQueryCount[private]

TInt iQueryId

TInt iQueryId[private]

TMsvQueryTable * iQueryTable

TMsvQueryTable *iQueryTable[private]

TMsvSearchSortResultType iSearchSortResultType

TMsvSearchSortResultType iSearchSortResultType[private]

TMsvMessagePart iSortOnMessagePart

TMsvMessagePart iSortOnMessagePart[private]

TMsvSortOrder iSortOrder

TMsvSortOrder iSortOrder[private]

TBool iSubFolderSearch

TBool iSubFolderSearch[private]

TBool iWholeWord

TBool iWholeWord[private]

TBool iWildCardCharacter

TBool iWildCardCharacter[private]