CCalInstanceView Class Reference

class CCalInstanceView : public CBase

View class for accessing instances of calendar entries.

Once a session to a calendar file has been created, a view to the session can be created.

An instance is a calendar entry, a repeated instance of a calendar entry, or an RDate added to an entry.

This view can be used to search for instances and also to delete instances.

Inherits from

Nested Classes and Structures

Public Member Functions
~CCalInstanceView ()
IMPORT_C void DeleteL ( CCalInstance *, CalCommon::TRecurrenceRange )
IMPORT_C CCalInstanceIterator * FindInstanceByUidL (const TDesC8 &, const TCalTime &)
IMPORT_C CCalInstanceIterator * FindInstanceByUidL ( TCalCollectionId , const TDesC8 &, const TCalTime &)
IMPORT_C void FindInstanceL ( RPointerArray < CCalInstance > &, CalCommon::TCalViewFilter , const CalCommon::TCalTimeRange &)
IMPORT_C void FindInstanceL ( RPointerArray < CCalInstance > &, CalCommon::TCalViewFilter , const CalCommon::TCalTimeRange &, const TCalSearchParams &)
IMPORT_C CCalInstanceIterator * FindInstanceL (const CCalFindInstanceSettings &)
IMPORT_C CCalInstanceIterator * FindInstanceL (const CCalFindInstanceSettings &, TCalLocalUid , const TCalTime &)
IMPORT_C CCalInstanceIterator * FindInstanceL (const CCalFindInstanceSettings &, TCalInstanceId &)
IMPORT_C CCalInstance * FindInstanceL ( TCalLocalUid , const TCalTime &)
IMPORT_C CCalInstance * FindInstanceL ( TCalInstanceId &)
IMPORT_C CCalInstanceView * NewL ( CCalSession &, MCalProgressCallBack &)
IMPORT_C CCalInstanceView * NewL ( CCalSession &)
IMPORT_C CCalInstanceView * NewL ( RPointerArray < CCalSession > &)
IMPORT_C CCalInstanceView * NewL ( RPointerArray < CCalSession > &, MCalProgressCallBack &)
IMPORT_C TCalTime NextInstanceL ( CalCommon::TCalViewFilter , const TCalTime &)
IMPORT_C TCalTime PreviousInstanceL ( CalCommon::TCalViewFilter , const TCalTime &)
Private Member Functions
CCalInstanceView ()
void ConstructL ( CCalSession &, MCalProgressCallBack *)
void ConstructL ( RPointerArray < CCalSession > &, MCalProgressCallBack *)
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
CCalInstanceViewImpl * iImpl

Constructor & Destructor Documentation

CCalInstanceView()

CCalInstanceView ( ) [private]

~CCalInstanceView()

IMPORT_C ~CCalInstanceView ( )

Member Functions Documentation

ConstructL(CCalSession &, MCalProgressCallBack *)

void ConstructL ( CCalSession & aSession,
MCalProgressCallBack * aProgressCallBack
) [private]

Parameters

CCalSession & aSession
MCalProgressCallBack * aProgressCallBack

ConstructL(RPointerArray< CCalSession > &, MCalProgressCallBack *)

void ConstructL ( RPointerArray < CCalSession > & aSessions,
MCalProgressCallBack * aProgressCallBack
) [private]

Parameters

RPointerArray < CCalSession > & aSessions
MCalProgressCallBack * aProgressCallBack

DeleteL(CCalInstance *, CalCommon::TRecurrenceRange)

IMPORT_C void DeleteL ( CCalInstance * aInstance,
CalCommon::TRecurrenceRange aWhichInstances
)

Parameters

CCalInstance * aInstance
CalCommon::TRecurrenceRange aWhichInstances

FindInstanceByUidL(const TDesC8 &, const TCalTime &)

IMPORT_C CCalInstanceIterator * FindInstanceByUidL ( const TDesC8 & aUid,
const TCalTime & aInstanceTime
) const

Parameters

const TDesC8 & aUid
const TCalTime & aInstanceTime

FindInstanceByUidL(TCalCollectionId, const TDesC8 &, const TCalTime &)

IMPORT_C CCalInstanceIterator * FindInstanceByUidL ( TCalCollectionId aCollectionId,
const TDesC8 & aUid,
const TCalTime & aInstanceTime
) const

Parameters

TCalCollectionId aCollectionId
const TDesC8 & aUid
const TCalTime & aInstanceTime

FindInstanceL(RPointerArray< CCalInstance > &, CalCommon::TCalViewFilter, const CalCommon::TCalTimeRange &)

IMPORT_C void FindInstanceL ( RPointerArray < CCalInstance > & aInstanceList,
CalCommon::TCalViewFilter aCalViewFilter,
const CalCommon::TCalTimeRange & aTimeRange
) const

Parameters

RPointerArray < CCalInstance > & aInstanceList
CalCommon::TCalViewFilter aCalViewFilter
const CalCommon::TCalTimeRange & aTimeRange

FindInstanceL(RPointerArray< CCalInstance > &, CalCommon::TCalViewFilter, const CalCommon::TCalTimeRange &, const TCalSearchParams &)

IMPORT_C void FindInstanceL ( RPointerArray < CCalInstance > & aMatchedInstanceList,
CalCommon::TCalViewFilter aCalViewFilter,
const CalCommon::TCalTimeRange & aTimeRange,
const TCalSearchParams & aSearchParams
) const

Parameters

RPointerArray < CCalInstance > & aMatchedInstanceList
CalCommon::TCalViewFilter aCalViewFilter
const CalCommon::TCalTimeRange & aTimeRange
const TCalSearchParams & aSearchParams

FindInstanceL(const CCalFindInstanceSettings &)

IMPORT_C CCalInstanceIterator * FindInstanceL ( const CCalFindInstanceSettings & aSettings ) const

Parameters

const CCalFindInstanceSettings & aSettings

FindInstanceL(const CCalFindInstanceSettings &, TCalLocalUid, const TCalTime &)

IMPORT_C CCalInstanceIterator * FindInstanceL ( const CCalFindInstanceSettings & aSettings,
TCalLocalUid aLocalId,
const TCalTime & aInstanceTime
) const

Parameters

const CCalFindInstanceSettings & aSettings
TCalLocalUid aLocalId
const TCalTime & aInstanceTime

FindInstanceL(const CCalFindInstanceSettings &, TCalInstanceId &)

IMPORT_C CCalInstanceIterator * FindInstanceL ( const CCalFindInstanceSettings & aSettings,
TCalInstanceId & aInstanceId
) const

Parameters

const CCalFindInstanceSettings & aSettings
TCalInstanceId & aInstanceId

FindInstanceL(TCalLocalUid, const TCalTime &)

IMPORT_C CCalInstance * FindInstanceL ( TCalLocalUid aLocalId,
const TCalTime & aInstanceTime
) const

Parameters

TCalLocalUid aLocalId
const TCalTime & aInstanceTime

FindInstanceL(TCalInstanceId &)

IMPORT_C CCalInstance * FindInstanceL ( TCalInstanceId & aInstanceId ) const

Parameters

TCalInstanceId & aInstanceId

NewL(CCalSession &, MCalProgressCallBack &)

IMPORT_C CCalInstanceView * NewL ( CCalSession & aSession,
MCalProgressCallBack & aProgressCallBack
) [static]

Parameters

CCalSession & aSession
MCalProgressCallBack & aProgressCallBack

NewL(CCalSession &)

IMPORT_C CCalInstanceView * NewL ( CCalSession & aSession ) [static]

Parameters

CCalSession & aSession

NewL(RPointerArray< CCalSession > &)

IMPORT_C CCalInstanceView * NewL ( RPointerArray < CCalSession > & aSessions ) [static]

Parameters

RPointerArray < CCalSession > & aSessions

NewL(RPointerArray< CCalSession > &, MCalProgressCallBack &)

IMPORT_C CCalInstanceView * NewL ( RPointerArray < CCalSession > & aSessions,
MCalProgressCallBack & aProgressCallBack
) [static]

Parameters

RPointerArray < CCalSession > & aSessions
MCalProgressCallBack & aProgressCallBack

NextInstanceL(CalCommon::TCalViewFilter, const TCalTime &)

IMPORT_C TCalTime NextInstanceL ( CalCommon::TCalViewFilter aCalViewFilter,
const TCalTime & aStartDate
) const

Parameters

CalCommon::TCalViewFilter aCalViewFilter
const TCalTime & aStartDate

PreviousInstanceL(CalCommon::TCalViewFilter, const TCalTime &)

IMPORT_C TCalTime PreviousInstanceL ( CalCommon::TCalViewFilter aCalViewFilter,
const TCalTime & aStartDate
) const

Parameters

CalCommon::TCalViewFilter aCalViewFilter
const TCalTime & aStartDate

Member Data Documentation

CCalInstanceViewImpl * iImpl

CCalInstanceViewImpl * iImpl [private]