Location:
msvstd.h
Link against: msgs.lib
CMsvEntryFilter
Supported from 6.0
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.
|
Defined in CMsvEntryFilter
:
LastChangeDate()
, Mtm()
, NewL()
, NewLC()
, Order()
, Service()
, SetLastChangeDate()
, SetMtm()
, SetOrder()
, SetService()
, SetSortMtm()
, SetType()
, SortMtm()
, Type()
Inherited from CBase
:
operator new()
static CMsvEntryFilter* NewL();
Allocates and constructs a new entry filter.
Default values are as follows:
service: KMsvNullIndexEntryId
MTM: KNullUid
entry type: KNullUid
last change date: no date
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.
|
static CMsvEntryFilter* NewLC();
Allocates and constructs a new entry filter, and leaves the pointer on the cleanup stack.
For default values, see the NewL()
function.
|
const TTime& LastChangeDate() const;
Gets the last change date set for the filter.
|
TUid Mtm() const;
Gets the MTM UID set for the filter.
|
const TMsvSelectionOrdering& Order() const;
Gets the selection ordering set for the filter.
|
TMsvId Service() const;
Gets the service ID set for the filter.
|
TUid SortMtm() const;
Gets the sorting by MTM for the filter.
|
TUid Type() const;
Gets the entry type set for the filter.
|
void SetLastChangeDate(const TTime& aLastChange);
Sets the last date change for the filter.
This is used to retrieve entries that have changed since a particular date.
|
void SetMtm(TUid aMtm);
Sets the MTM UID for the filter.
|
void SetOrder(const TMsvSelectionOrdering& aOrder);
Sets the sort ordering for the filter.
|
void SetService(TMsvId aServiceId);
Sets the service ID for the filter.
|
void SetSortMtm(TUid aSortMtm);
Sets the sorting by MTM for the filter.
|
void SetType(TUid aType);
Sets the entry type for the filter.
|