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.
Public Member Functions | |
---|---|
const TTime & | LastChangeDate() |
TUid | Mtm() |
IMPORT_C CMsvEntryFilter * | NewL() |
IMPORT_C CMsvEntryFilter * | NewLC() |
const TMsvSelectionOrdering & | Order() |
TMsvId | Service() |
void | SetLastChangeDate(const TTime &) |
void | SetMtm(TUid) |
void | SetOrder(const TMsvSelectionOrdering &) |
void | SetService(TMsvId) |
void | SetSortMtm(TUid) |
void | SetType(TUid) |
TUid | SortMtm() |
TUid | Type() |
Private Member Functions | |
---|---|
CMsvEntryFilter() |
Private Attributes | |
---|---|
TTime | iLastChange |
TUid | iMtm |
TMsvSelectionOrdering | iOrdering |
TMsvId | iServiceId |
TUid | iSortMtm |
TUid | iType |
const TTime & | LastChangeDate | ( | ) | const [inline] |
Gets the last change date set for the filter.
IMPORT_C CMsvEntryFilter * | NewL | ( | ) | [static] |
Allocates and constructs a new entry filter.
Default values are as follows:
1. service: KMsvNullIndexEntryId
2. MTM: KNullUid
3. entry type: KNullUid
4. last change date: no date
5. sort order defaults to EMsvSortByNone
These values mean that entries with any values for service, MTM, type and last change date will be returned, with no grouping or sort MTM.
IMPORT_C CMsvEntryFilter * | NewLC | ( | ) | [static] |
Allocates and constructs a new entry filter, and leaves the pointer on the cleanup stack.
For default values, see the NewL() function.
const TMsvSelectionOrdering & | Order | ( | ) | const [inline] |
Gets the selection ordering set for the filter.
void | SetLastChangeDate | ( | 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.
const TTime & aLastChange | Last date change for the filter, specified in Universal Time (GMT) |
void | SetMtm | ( | TUid | aMtm | ) | [inline] |
Sets the MTM UID for the filter.
TUid aMtm | MTM UID for the filter |
void | SetOrder | ( | const TMsvSelectionOrdering & | aOrder | ) | [inline] |
Sets the sort ordering for the filter.
const TMsvSelectionOrdering & aOrder | Selection ordering for the filter |
void | SetService | ( | TMsvId | aServiceId | ) | [inline] |
Sets the service ID for the filter.
TMsvId aServiceId | Service ID for the filter |
void | SetSortMtm | ( | TUid | aSortMtm | ) | [inline] |
Sets the sorting by MTM for the filter.
TUid aSortMtm | Sorting by MTM for the filter |
void | SetType | ( | TUid | aType | ) | [inline] |
Sets the entry type for the filter.
TUid aType | Entry type for the filter |
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.