CMsvEntryFilter Class Reference

class CMsvEntryFilter : public CBase

Used to query the Message Server for entries that match the specification defined in the filter.

It allows a query to be performed on service, MTM, type and last change date. The filter also enables the specification of the order in which the entries are returned.

CMsvSession::GetChildIdsL()

Inherits from

Constructor & Destructor Documentation

CMsvEntryFilter()

CMsvEntryFilter()[private]

Member Functions Documentation

LastChangeDate()

const TTime &LastChangeDate()const [inline]

Gets the last change date set for the filter.

Last change date set for the filter

Mtm()

TUid Mtm()const [inline]

Gets the MTM UID set for the filter.

MTM UID set for the filter

NewL()

IMPORT_C CMsvEntryFilter *NewL()[static]

NewLC()

IMPORT_C CMsvEntryFilter *NewLC()[static]

Order()

const TMsvSelectionOrdering &Order()const [inline]

Gets the selection ordering set for the filter.

Selection ordering set for the filter

Service()

TMsvId Service()const [inline]

Gets the service ID set for the filter.

Service ID set for the filter

SetLastChangeDate(const TTime &)

voidSetLastChangeDate(const TTime &aLastChange)[inline]

Sets the last date change for the filter.

This is used to retrieve entries that have changed since a particular date.

Parameters

const TTime & aLastChangeLast date change for the filter, specified in Universal Time (GMT)

SetMtm(TUid)

voidSetMtm(TUidaMtm)[inline]

Sets the MTM UID for the filter.

Parameters

TUid aMtmMTM UID for the filter

SetOrder(const TMsvSelectionOrdering &)

voidSetOrder(const TMsvSelectionOrdering &aOrder)[inline]

Sets the sort ordering for the filter.

Parameters

const TMsvSelectionOrdering & aOrderSelection ordering for the filter

SetService(TMsvId)

voidSetService(TMsvIdaServiceId)[inline]

Sets the service ID for the filter.

Parameters

TMsvId aServiceIdService ID for the filter

SetSortMtm(TUid)

voidSetSortMtm(TUidaSortMtm)[inline]

Sets the sorting by MTM for the filter.

Parameters

TUid aSortMtmSorting by MTM for the filter

SetType(TUid)

voidSetType(TUidaType)[inline]

Sets the entry type for the filter.

Parameters

TUid aTypeEntry type for the filter

SortMtm()

TUid SortMtm()const [inline]

Gets the sorting by MTM for the filter.

Sorting by MTM for the filter

Type()

TUid Type()const [inline]

Gets the entry type set for the filter.

Entry type set for the filter

Member Data Documentation

TTime iLastChange

TTime iLastChange[private]

TUid iMtm

TUid iMtm[private]

TMsvSelectionOrdering iOrdering

TMsvSelectionOrdering iOrdering[private]

TMsvId iServiceId

TMsvId iServiceId[private]

TUid iSortMtm

TUid iSortMtm[private]

TUid iType

TUid iType[private]