CESMRMeetingRequestEntry Class Reference

class CESMRMeetingRequestEntry : public CBase

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

Inherits from

  • CESMRMeetingRequestEntry
Public Member Functions
~CESMRMeetingRequestEntry()
TBool AnyInstancesBetweenTimePeriodL(TTime &, TTime &)
TInt AttendeeCountL(TUint)
TESMRAttendeeStatus AttendeeStatusL()
const TDesC &CalendarOwnerAddressL()
TBool CanSetRecurrenceL()
CCalEntry *CloneEntryLC(TESMRCalEntryType)
voidConfirmEntryL()
TBool Conflicts()
voidConstructReplyL(TESMRAttendeeStatus)
TBool ContainsRemoteAttachmentsL()
TESMRMailPlugin CurrentPluginL()
const CCalEntry &Entry()
CCalEntry &Entry()
TESMREntryInfoEntryAttendeeInfoL()
TInt FetchConflictingEntriesL(RPointerArray< CCalEntry > &)
voidGetAddedAttendeesL(RArray< CCalAttendee * > &, TUint)
voidGetAlarmL(MESMRCalEntry::TESMRAlarmType &, TTime &)
voidGetAttendeesL(RArray< CCalAttendee * > &, TUint)
MESMRCalDbMgr &GetDBMgr()
voidGetFirstInstanceStartAndEndTimeL(TTime &, TTime &)
TUint GetPriorityL()
voidGetRecurrenceL(TESMRRecurrenceValue &, TTime &)
voidGetRemovedAttendeesL(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()
voidMarkMeetingCancelledL()
IMPORT_C CESMRMeetingRequestEntry *NewL(const CCalEntry &, CMRMailboxUtils &, MESMRCalDbMgr &, TBool, TESMRInputParams *)
TBool OccursInPastL()
const CCalEntry &OriginalEntry()
TESMRRecurrenceModifyingRuleRecurrenceModRule()
CCalEntry *RemoveInstanceFromSeriesL()
TESMRRole RoleL()
TBool SendCanellationAvailable()
voidSetAllDayEventL(TTime, TTime)
voidSetDefaultValuesToEntryL()
voidSetModifyingRuleL(TESMRRecurrenceModifyingRule, const TBool)
voidSetPriorityL(TUint)
voidSetRecurrenceL(TESMRRecurrenceValue, TTime)
voidSetSendCanellationAvailable(TBool)
voidSetTypeChanged(TBool)
TBool StartupParameters(TESMRInputParams &)
TBool SupportsCapabilityL(MESMRCalEntry::TMREntryCapability)
voidSwitchToForwardL()
voidSwitchToOrginalL()
MMRInfoObject &SyncObjectL()
TESMRCalEntryTypeType()
voidUpdateChildEntriesSeqNumbersL()
voidUpdateComparativeEntry(CCalEntry *)
voidUpdateEntryAfterStoringL()
voidUpdateTimeStampL()
CCalEntry *ValidateEntryL()
MMRInfoObject &ValidateSyncObjectL()
Private Member Functions
CESMRMeetingRequestEntry(CMRMailboxUtils &, MESMRCalDbMgr &, TBool, TESMRInputParams *)
voidConstructL(const CCalEntry &)
HBufC *ReplaceCharactersFromBufferLC(const TDesC &, const TDesC &, const TDesC &)
voidSetDefaultDatabaseL()
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
TESMRRecurrenceModifyingRuleiRecurrenceModRule
TBool iRemoveAttachments
TBool iSendCanellation
TBool iTypeChanged

Constructor & Destructor Documentation

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

CESMRMeetingRequestEntry(CMRMailboxUtils &aMRMailboxUtils,
MESMRCalDbMgr &aCalDb,
TBoolaConflictsExists,
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(TUintaFilterFlags)const

Parameters

TUint aFilterFlags

AttendeeStatusL()

TESMRAttendeeStatus AttendeeStatusL()const

CalendarOwnerAddressL()

const TDesC &CalendarOwnerAddressL()const

CanSetRecurrenceL()

TBool CanSetRecurrenceL()const

CloneEntryLC(TESMRCalEntryType)

CCalEntry *CloneEntryLC(TESMRCalEntryTypeaType)const

Parameters

TESMRCalEntryType aType

ConfirmEntryL()

voidConfirmEntryL()

Conflicts()

TBool Conflicts()const

ConstructL(const CCalEntry &)

voidConstructL(const CCalEntry &aEntry)[private]

Parameters

const CCalEntry & aEntry

ConstructReplyL(TESMRAttendeeStatus)

voidConstructReplyL(TESMRAttendeeStatusaStatus)

Parameters

TESMRAttendeeStatus aStatus

ContainsRemoteAttachmentsL()

TBool ContainsRemoteAttachmentsL()

CurrentPluginL()

TESMRMailPlugin CurrentPluginL()

Entry()

const CCalEntry &Entry()const

Entry()

CCalEntry &Entry()

EntryAttendeeInfoL()

TESMREntryInfoEntryAttendeeInfoL()const

FetchConflictingEntriesL(RPointerArray< CCalEntry > &)

TInt FetchConflictingEntriesL(RPointerArray< CCalEntry > &aEntryArray)

Parameters

RPointerArray< CCalEntry > & aEntryArray

GetAddedAttendeesL(RArray< CCalAttendee * > &, TUint)

voidGetAddedAttendeesL(RArray< CCalAttendee * > &aAttendeeArray,
TUintaFilterFlags
)const

Parameters

RArray< CCalAttendee * > & aAttendeeArray
TUint aFilterFlags

GetAlarmL(MESMRCalEntry::TESMRAlarmType &, TTime &)

voidGetAlarmL(MESMRCalEntry::TESMRAlarmType &aAlarmType,
TTime &aAlarmTime
)

Parameters

MESMRCalEntry::TESMRAlarmType & aAlarmType
TTime & aAlarmTime

GetAttendeesL(RArray< CCalAttendee * > &, TUint)

voidGetAttendeesL(RArray< CCalAttendee * > &aAttendeeArray,
TUintaFilterFlags
)const

Parameters

RArray< CCalAttendee * > & aAttendeeArray
TUint aFilterFlags

GetDBMgr()

MESMRCalDbMgr &GetDBMgr()

GetFirstInstanceStartAndEndTimeL(TTime &, TTime &)

voidGetFirstInstanceStartAndEndTimeL(TTime &aStart,
TTime &aEnd
)

Parameters

TTime & aStart
TTime & aEnd

GetPriorityL()

TUint GetPriorityL()const

GetRecurrenceL(TESMRRecurrenceValue &, TTime &)

voidGetRecurrenceL(TESMRRecurrenceValue &aRecurrence,
TTime &aUntil
)const

Parameters

TESMRRecurrenceValue & aRecurrence
TTime & aUntil

GetRemovedAttendeesL(RArray< CCalAttendee * > &, TUint)

voidGetRemovedAttendeesL(RArray< CCalAttendee * > &aAttendeeArray,
TUintaFilterFlags
)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()

voidMarkMeetingCancelledL()

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

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

Creates and initialzes CESMRCalEntry object.

Parameters

const CCalEntry & aEntryReference to calendar entry
CMRMailboxUtils & aMRMailboxUtilsReference to mailbox utilities
MESMRCalDbMgr & aCalDbReference to cal db manager
TBool aConflictsExistsETrue, if conflicts exists
TESMRInputParams * aESMRInputParams = NULLESMR input parameters structure

OccursInPastL()

TBool OccursInPastL()const

OriginalEntry()

const CCalEntry &OriginalEntry()

RecurrenceModRule()

TESMRRecurrenceModifyingRuleRecurrenceModRule()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)

voidSetAllDayEventL(TTimeaStartDate,
TTimeaEndDate
)

Parameters

TTime aStartDate
TTime aEndDate

SetDefaultDatabaseL()

voidSetDefaultDatabaseL()[private]

SetDefaultValuesToEntryL()

voidSetDefaultValuesToEntryL()

SetModifyingRuleL(TESMRRecurrenceModifyingRule, const TBool)

voidSetModifyingRuleL(TESMRRecurrenceModifyingRuleaRule,
const TBoolaTypeChanging = EFalse
)

Parameters

TESMRRecurrenceModifyingRule aRule
const TBool aTypeChanging = EFalse

SetPriorityL(TUint)

voidSetPriorityL(TUintaPriority)

Parameters

TUint aPriority

SetRecurrenceL(TESMRRecurrenceValue, TTime)

voidSetRecurrenceL(TESMRRecurrenceValueaRecurrence,
TTimeaUntil = Time::NullTTime()
)

Parameters

TESMRRecurrenceValue aRecurrence
TTime aUntil = Time::NullTTime()

SetSendCanellationAvailable(TBool)

voidSetSendCanellationAvailable(TBoolaSendCanellation)

Parameters

TBool aSendCanellation

SetTypeChanged(TBool)

voidSetTypeChanged(TBoolaTypeChanged)

Parameters

TBool aTypeChanged

StartupParameters(TESMRInputParams &)

TBool StartupParameters(TESMRInputParams &aStarupParams)const

Parameters

TESMRInputParams & aStarupParams

SupportsCapabilityL(MESMRCalEntry::TMREntryCapability)

TBool SupportsCapabilityL(MESMRCalEntry::TMREntryCapabilityaCapability)const

Parameters

MESMRCalEntry::TMREntryCapability aCapability

SwitchToForwardL()

voidSwitchToForwardL()

SwitchToOrginalL()

voidSwitchToOrginalL()

SyncObjectL()

MMRInfoObject &SyncObjectL()

Type()

TESMRCalEntryTypeType()const

UpdateChildEntriesSeqNumbersL()

voidUpdateChildEntriesSeqNumbersL()

UpdateComparativeEntry(CCalEntry *)

voidUpdateComparativeEntry(CCalEntry *aNewComparativeEntry)

Parameters

CCalEntry * aNewComparativeEntry

UpdateEntryAfterStoringL()

voidUpdateEntryAfterStoringL()

UpdateTimeStampL()

voidUpdateTimeStampL()

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

TESMRRecurrenceModifyingRuleiRecurrenceModRule[private]

TBool iRemoveAttachments

TBool iRemoveAttachments[private]

TBool iSendCanellation

TBool iSendCanellation[private]

TBool iTypeChanged

TBool iTypeChanged[private]