CESMRMeetingRequestEntry Class Reference

class CESMRMeetingRequestEntry : public CBase

CESMRCalEntry is wrapper for CCalEntry . It provides also some utility functions for handling MR Entry

Inherits from

Public Member Functions
~CESMRMeetingRequestEntry ()
TBool AnyInstancesBetweenTimePeriodL ( TTime &, TTime &)
TInt AttendeeCountL ( TUint )
TESMRAttendeeStatus AttendeeStatusL ()
const TDesC & CalendarOwnerAddressL ()
TBool CanSetRecurrenceL ()
CCalEntry * CloneEntryLC (TESMRCalEntryType)
void ConfirmEntryL ()
TBool Conflicts ()
void ConstructReplyL ( TESMRAttendeeStatus )
TBool ContainsRemoteAttachmentsL ()
TESMRMailPlugin CurrentPluginL ()
const CCalEntry & Entry ()
CCalEntry & Entry ()
TESMREntryInfo EntryAttendeeInfoL ()
TInt FetchConflictingEntriesL ( RPointerArray < CCalEntry > &)
void GetAddedAttendeesL ( RArray < CCalAttendee * > &, TUint )
void GetAlarmL ( MESMRCalEntry::TESMRAlarmType &, TTime &)
void GetAttendeesL ( RArray < CCalAttendee * > &, TUint )
MESMRCalDbMgr & GetDBMgr ()
void GetFirstInstanceStartAndEndTimeL ( TTime &, TTime &)
TUint GetPriorityL ()
void GetRecurrenceL ( TESMRRecurrenceValue &, TTime &)
void GetRemovedAttendeesL ( RArray < CCalAttendee * > &, TUint )
CCalInstance * InstanceL ()
TBool IsAllDayEventL ()
TBool IsEntryEditedL ()
TBool IsEntryOutOfDateL ()
TBool IsEntryTypeChangedL ()
TBool IsForwardedL ()
TBool IsMeetingCancelledL ()
TBool IsOpenedFromMail ()
TBool IsRecurrentEventL ()
TBool IsSentL ()
TBool IsStoredL ()
TBool IsSyncObjectPresent ()
MESMRCalEntry & MESMRCalEntryRef ()
const MESMRCalEntry & MESMRCalEntryRef ()
CMRMailboxUtils & MailboxUtils ()
void MarkMeetingCancelledL ()
IMPORT_C CESMRMeetingRequestEntry * NewL (const CCalEntry &, CMRMailboxUtils &, MESMRCalDbMgr &, TBool , TESMRInputParams *)
TBool OccursInPastL ()
const CCalEntry & OriginalEntry ()
TESMRRecurrenceModifyingRule RecurrenceModRule ()
CCalEntry * RemoveInstanceFromSeriesL ()
TESMRRole RoleL ()
TBool SendCanellationAvailable ()
void SetAllDayEventL ( TTime , TTime )
void SetDefaultValuesToEntryL ()
void SetModifyingRuleL (TESMRRecurrenceModifyingRule, const TBool )
void SetPriorityL ( TUint )
void SetRecurrenceL ( TESMRRecurrenceValue , TTime )
void SetSendCanellationAvailable ( TBool )
void SetTypeChanged ( TBool )
TBool StartupParameters ( TESMRInputParams &)
TBool SupportsCapabilityL ( MESMRCalEntry::TMREntryCapability )
void SwitchToForwardL ()
void SwitchToOrginalL ()
MMRInfoObject & SyncObjectL ()
TESMRCalEntryType Type ()
void UpdateChildEntriesSeqNumbersL ()
void UpdateComparativeEntry ( CCalEntry *)
void UpdateEntryAfterStoringL ()
void UpdateTimeStampL ()
CCalEntry * ValidateEntryL ()
MMRInfoObject & ValidateSyncObjectL ()
Private Member Functions
CESMRMeetingRequestEntry ( CMRMailboxUtils &, MESMRCalDbMgr &, TBool , TESMRInputParams *)
void ConstructL (const CCalEntry &)
HBufC * ReplaceCharactersFromBufferLC (const TDesC &, const TDesC &, const TDesC &)
void SetDefaultDatabaseL ()
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
MESMRCalDbMgr & iCalDb
TBool iConflictsExists
TESMRMailPlugin iCurrentFSEmailPlugin
TESMRInputParams * iESMRInputParams
CCalEntry * iEntry
CCalEntry * iForwardEntry
CMRMailboxUtils & iMRMailboxUtils
CCalEntry * iOrginalEntry
CCalEntry * iParameterEntry
TESMRRecurrenceModifyingRule iRecurrenceModRule
TBool iRemoveAttachments
TBool iSendCanellation
TBool iTypeChanged

Constructor & Destructor Documentation

CESMRMeetingRequestEntry(CMRMailboxUtils &, MESMRCalDbMgr &, TBool, TESMRInputParams *)

CESMRMeetingRequestEntry ( CMRMailboxUtils & aMRMailboxUtils,
MESMRCalDbMgr & aCalDb,
TBool aConflictsExists,
TESMRInputParams * aESMRInputParams
) [private, inline]

Parameters

CMRMailboxUtils & aMRMailboxUtils
MESMRCalDbMgr & aCalDb
TBool aConflictsExists
TESMRInputParams * aESMRInputParams

~CESMRMeetingRequestEntry()

IMPORT_C ~CESMRMeetingRequestEntry ( )

C++ destructor

Member Functions Documentation

AnyInstancesBetweenTimePeriodL(TTime &, TTime &)

TBool AnyInstancesBetweenTimePeriodL ( TTime & aStart,
TTime & aEnd
)

Parameters

TTime & aStart
TTime & aEnd

AttendeeCountL(TUint)

TInt AttendeeCountL ( TUint aFilterFlags ) const

Parameters

TUint aFilterFlags

AttendeeStatusL()

TESMRAttendeeStatus AttendeeStatusL ( ) const

CalendarOwnerAddressL()

const TDesC & CalendarOwnerAddressL ( ) const

CanSetRecurrenceL()

TBool CanSetRecurrenceL ( ) const

CloneEntryLC(TESMRCalEntryType)

CCalEntry * CloneEntryLC ( TESMRCalEntryType aType ) const

Parameters

TESMRCalEntryType aType

ConfirmEntryL()

void ConfirmEntryL ( )

Conflicts()

TBool Conflicts ( ) const

ConstructL(const CCalEntry &)

void ConstructL ( const CCalEntry & aEntry ) [private]

Parameters

const CCalEntry & aEntry

ConstructReplyL(TESMRAttendeeStatus)

void ConstructReplyL ( TESMRAttendeeStatus aStatus )

Parameters

TESMRAttendeeStatus aStatus

ContainsRemoteAttachmentsL()

TBool ContainsRemoteAttachmentsL ( )

CurrentPluginL()

TESMRMailPlugin CurrentPluginL ( )

Entry()

const CCalEntry & Entry ( ) const

Entry()

CCalEntry & Entry ( )

EntryAttendeeInfoL()

TESMREntryInfo EntryAttendeeInfoL ( ) const

FetchConflictingEntriesL(RPointerArray< CCalEntry > &)

TInt FetchConflictingEntriesL ( RPointerArray < CCalEntry > & aEntryArray )

Parameters

RPointerArray < CCalEntry > & aEntryArray

GetAddedAttendeesL(RArray< CCalAttendee * > &, TUint)

void GetAddedAttendeesL ( RArray < CCalAttendee * > & aAttendeeArray,
TUint aFilterFlags
) const

Parameters

RArray < CCalAttendee * > & aAttendeeArray
TUint aFilterFlags

GetAlarmL(MESMRCalEntry::TESMRAlarmType &, TTime &)

void GetAlarmL ( MESMRCalEntry::TESMRAlarmType & aAlarmType,
TTime & aAlarmTime
)

Parameters

MESMRCalEntry::TESMRAlarmType & aAlarmType
TTime & aAlarmTime

GetAttendeesL(RArray< CCalAttendee * > &, TUint)

void GetAttendeesL ( RArray < CCalAttendee * > & aAttendeeArray,
TUint aFilterFlags
) const

Parameters

RArray < CCalAttendee * > & aAttendeeArray
TUint aFilterFlags

GetDBMgr()

MESMRCalDbMgr & GetDBMgr ( )

GetFirstInstanceStartAndEndTimeL(TTime &, TTime &)

void GetFirstInstanceStartAndEndTimeL ( TTime & aStart,
TTime & aEnd
)

Parameters

TTime & aStart
TTime & aEnd

GetPriorityL()

TUint GetPriorityL ( ) const

GetRecurrenceL(TESMRRecurrenceValue &, TTime &)

void GetRecurrenceL ( TESMRRecurrenceValue & aRecurrence,
TTime & aUntil
) const

Parameters

TESMRRecurrenceValue & aRecurrence
TTime & aUntil

GetRemovedAttendeesL(RArray< CCalAttendee * > &, TUint)

void GetRemovedAttendeesL ( RArray < CCalAttendee * > & aAttendeeArray,
TUint aFilterFlags
) const

Parameters

RArray < CCalAttendee * > & aAttendeeArray
TUint aFilterFlags

InstanceL()

CCalInstance * InstanceL ( ) const

IsAllDayEventL()

TBool IsAllDayEventL ( ) const

IsEntryEditedL()

TBool IsEntryEditedL ( ) const

IsEntryOutOfDateL()

TBool IsEntryOutOfDateL ( ) const

IsEntryTypeChangedL()

TBool IsEntryTypeChangedL ( ) const

IsForwardedL()

TBool IsForwardedL ( ) const

IsMeetingCancelledL()

TBool IsMeetingCancelledL ( ) const

IsOpenedFromMail()

TBool IsOpenedFromMail ( ) const

IsRecurrentEventL()

TBool IsRecurrentEventL ( ) const

IsSentL()

TBool IsSentL ( ) const

IsStoredL()

TBool IsStoredL ( ) const

IsSyncObjectPresent()

TBool IsSyncObjectPresent ( ) const

MESMRCalEntryRef()

MESMRCalEntry & MESMRCalEntryRef ( )

MESMRCalEntryRef()

const MESMRCalEntry & MESMRCalEntryRef ( ) const

MailboxUtils()

CMRMailboxUtils & MailboxUtils ( ) const

MarkMeetingCancelledL()

void MarkMeetingCancelledL ( )

NewL(const CCalEntry &, CMRMailboxUtils &, MESMRCalDbMgr &, TBool, TESMRInputParams *)

IMPORT_C CESMRMeetingRequestEntry * NewL ( const CCalEntry & aEntry,
CMRMailboxUtils & aMRMailboxUtils,
MESMRCalDbMgr & aCalDb,
TBool aConflictsExists,
TESMRInputParams * aESMRInputParams = NULL
) [static]

Creates and initialzes CESMRCalEntry object.

Parameters

const CCalEntry & aEntry Reference to calendar entry
CMRMailboxUtils & aMRMailboxUtils Reference to mailbox utilities
MESMRCalDbMgr & aCalDb Reference to cal db manager
TBool aConflictsExists ETrue, if conflicts exists
TESMRInputParams * aESMRInputParams = NULL ESMR input parameters structure

OccursInPastL()

TBool OccursInPastL ( ) const

OriginalEntry()

const CCalEntry & OriginalEntry ( )

RecurrenceModRule()

TESMRRecurrenceModifyingRule RecurrenceModRule ( ) const

RemoveInstanceFromSeriesL()

CCalEntry * RemoveInstanceFromSeriesL ( )

ReplaceCharactersFromBufferLC(const TDesC &, const TDesC &, const TDesC &)

HBufC * ReplaceCharactersFromBufferLC ( const TDesC & aTarget,
const TDesC & aFindString,
const TDesC & aReplacement
) [private]

Parameters

const TDesC & aTarget
const TDesC & aFindString
const TDesC & aReplacement

RoleL()

TESMRRole RoleL ( ) const

SendCanellationAvailable()

TBool SendCanellationAvailable ( )

SetAllDayEventL(TTime, TTime)

void SetAllDayEventL ( TTime aStartDate,
TTime aEndDate
)

Parameters

TTime aStartDate
TTime aEndDate

SetDefaultDatabaseL()

void SetDefaultDatabaseL ( ) [private]

SetDefaultValuesToEntryL()

void SetDefaultValuesToEntryL ( )

SetModifyingRuleL(TESMRRecurrenceModifyingRule, const TBool)

void SetModifyingRuleL ( TESMRRecurrenceModifyingRule aRule,
const TBool aTypeChanging = EFalse
)

Parameters

TESMRRecurrenceModifyingRule aRule
const TBool aTypeChanging = EFalse

SetPriorityL(TUint)

void SetPriorityL ( TUint aPriority )

Parameters

TUint aPriority

SetRecurrenceL(TESMRRecurrenceValue, TTime)

void SetRecurrenceL ( TESMRRecurrenceValue aRecurrence,
TTime aUntil = Time::NullTTime()
)

Parameters

TESMRRecurrenceValue aRecurrence
TTime aUntil = Time::NullTTime()

SetSendCanellationAvailable(TBool)

void SetSendCanellationAvailable ( TBool aSendCanellation )

Parameters

TBool aSendCanellation

SetTypeChanged(TBool)

void SetTypeChanged ( TBool aTypeChanged )

Parameters

TBool aTypeChanged

StartupParameters(TESMRInputParams &)

TBool StartupParameters ( TESMRInputParams & aStarupParams ) const

Parameters

TESMRInputParams & aStarupParams

SupportsCapabilityL(MESMRCalEntry::TMREntryCapability)

TBool SupportsCapabilityL ( MESMRCalEntry::TMREntryCapability aCapability ) const

SwitchToForwardL()

void SwitchToForwardL ( )

SwitchToOrginalL()

void SwitchToOrginalL ( )

SyncObjectL()

MMRInfoObject & SyncObjectL ( )

Type()

TESMRCalEntryType Type ( ) const

UpdateChildEntriesSeqNumbersL()

void UpdateChildEntriesSeqNumbersL ( )

UpdateComparativeEntry(CCalEntry *)

void UpdateComparativeEntry ( CCalEntry * aNewComparativeEntry )

Parameters

CCalEntry * aNewComparativeEntry

UpdateEntryAfterStoringL()

void UpdateEntryAfterStoringL ( )

UpdateTimeStampL()

void UpdateTimeStampL ( )

ValidateEntryL()

CCalEntry * ValidateEntryL ( )

ValidateSyncObjectL()

MMRInfoObject & ValidateSyncObjectL ( )

Member Data Documentation

MESMRCalDbMgr & iCalDb

MESMRCalDbMgr & iCalDb [private]

TBool iConflictsExists

TBool iConflictsExists [private]

TESMRMailPlugin iCurrentFSEmailPlugin

TESMRMailPlugin iCurrentFSEmailPlugin [private]

TESMRInputParams * iESMRInputParams

TESMRInputParams * iESMRInputParams [private]

CCalEntry * iEntry

CCalEntry * iEntry [private]

CCalEntry * iForwardEntry

CCalEntry * iForwardEntry [private]

CMRMailboxUtils & iMRMailboxUtils

CMRMailboxUtils & iMRMailboxUtils [private]

CCalEntry * iOrginalEntry

CCalEntry * iOrginalEntry [private]

CCalEntry * iParameterEntry

CCalEntry * iParameterEntry [private]

TESMRRecurrenceModifyingRule iRecurrenceModRule

TESMRRecurrenceModifyingRule iRecurrenceModRule [private]

TBool iRemoveAttachments

TBool iRemoveAttachments [private]

TBool iSendCanellation

TBool iSendCanellation [private]

TBool iTypeChanged

TBool iTypeChanged [private]