MESMRMeetingRequestEntry Class Reference

class MESMRMeetingRequestEntry : public MESMRCalEntry

MESMRCalEntry provides utility functions for handling MR Entry.

esmrservices.lib

Inherits from

Public Member Functions
~MESMRMeetingRequestEntry()
TBool AnyInstancesBetweenTimePeriodL(TTime &, TTime &)
TInt AttendeeCountL(TUint)
TESMRAttendeeStatus AttendeeStatusL()
const TDesC &CalendarOwnerAddressL()
voidConfirmEntryL()
TBool Conflicts()
voidConstructReplyL(TESMRAttendeeStatus)
TESMRMailPlugin CurrentPluginL()
TESMREntryInfo EntryAttendeeInfoL()
TInt FetchConflictingEntriesL(RPointerArray< CCalEntry > &)
voidGetAddedAttendeesL(RArray< CCalAttendee * > &, TUint)
voidGetAttendeesL(RArray< CCalAttendee * > &, TUint)
voidGetFirstInstanceStartAndEndTimeL(TTime &, TTime &)
voidGetRemovedAttendeesL(RArray< CCalAttendee * > &, TUint)
TBool IsEntryOutOfDateL()
TBool IsForwardedL()
TBool IsMeetingCancelledL()
TBool IsOpenedFromMail()
TBool IsSentL()
TBool IsSyncObjectPresent()
CMRMailboxUtils &MailboxUtils()
voidMarkMeetingCancelledL()
TBool OccursInPastL()
TESMRRole RoleL()
TBool SendCanellationAvailable()
voidSetSendCanellationAvailable(TBool)
TBool StartupParameters(TESMRInputParams &)
voidSwitchToForwardL()
voidSwitchToOrginalL()
MMRInfoObject &SyncObjectL()
voidUpdateChildEntriesSeqNumbersL()
MMRInfoObject &ValidateSyncObjectL()
Inherited Functions
MESMRCalEntry::CanSetRecurrenceL()const
MESMRCalEntry::CloneEntryLC(TESMRCalEntryType)const
MESMRCalEntry::ContainsRemoteAttachmentsL()
MESMRCalEntry::Entry()
MESMRCalEntry::Entry()const
MESMRCalEntry::GetAlarmL(TESMRAlarmType &,TTime &)
MESMRCalEntry::GetDBMgr()
MESMRCalEntry::GetPriorityL()const
MESMRCalEntry::GetRecurrenceL(TESMRRecurrenceValue &,TTime &)const
MESMRCalEntry::InstanceL()const
MESMRCalEntry::IsAllDayEventL()const
MESMRCalEntry::IsEntryEditedL()const
MESMRCalEntry::IsEntryTypeChangedL()const
MESMRCalEntry::IsRecurrentEventL()const
MESMRCalEntry::IsStoredL()const
MESMRCalEntry::MESMRCalEntryRef()
MESMRCalEntry::MESMRCalEntryRef()const
MESMRCalEntry::OriginalEntry()
MESMRCalEntry::RecurrenceModRule()const
MESMRCalEntry::RemoveInstanceFromSeriesL()
MESMRCalEntry::SetAllDayEventL(TTime,TTime)
MESMRCalEntry::SetDefaultValuesToEntryL()
MESMRCalEntry::SetModifyingRuleL(TESMRRecurrenceModifyingRule,const TBool)
MESMRCalEntry::SetPriorityL(TUint)
MESMRCalEntry::SetRecurrenceL(TESMRRecurrenceValue,TTime)
MESMRCalEntry::SetTypeChanged(TBool)
MESMRCalEntry::SupportsCapabilityL(TMREntryCapability)const
MESMRCalEntry::Type()const
MESMRCalEntry::UpdateComparativeEntry(CCalEntry *)
MESMRCalEntry::UpdateEntryAfterStoringL()
MESMRCalEntry::UpdateTimeStampL()
MESMRCalEntry::ValidateEntryL()
MESMRCalEntry::~MESMRCalEntry()
Public Member Enumerations
enumTESMREntryInfo {
EESMREntryInfoOutOfDate, EESMREntryInfoCancelled, EESMREntryInfoAccepted, EESMREntryInfoTentativelyAccepted, EESMREntryInfoDeclined, EESMREntryInfoOccursInPast, EESMREntryInfoConflicts, EESMREntryInfoNormal
}
Inherited Enumerations
MESMRCalEntry:TESMRAlarmType
MESMRCalEntry:TESMRCalEntryType
MESMRCalEntry:TESMRRecurrenceModifyingRule
MESMRCalEntry:TMREntryCapability

Constructor & Destructor Documentation

~MESMRMeetingRequestEntry()

~MESMRMeetingRequestEntry()[inline, virtual]

Virtual destructor.

Member Functions Documentation

AnyInstancesBetweenTimePeriodL(TTime &, TTime &)

TBool AnyInstancesBetweenTimePeriodL(TTime &aStart,
TTime &aEnd
)[pure virtual]

Checks if any instance (having same UID) occurs between specified time. Time information is considered to be device's local time.

Parameters

TTime & aStartStart time
TTime & aEndEnd time

AttendeeCountL(TUint)

TInt AttendeeCountL(TUintaFilterFlags)const [pure virtual]

Fetches attendee count.

Filtering flags is combimnation of enumeration TESMRRole values. For example, aFilterFlags = EESMRRoleRequiredAttendee --> Required attendee count is returns.

Parameters

TUint aFilterFlags

AttendeeStatusL()

TESMRAttendeeStatus AttendeeStatusL()const [pure virtual]

Fetches attendee status. Phone owner needs to be in the attendee list.

CalendarOwnerAddressL()

const TDesC &CalendarOwnerAddressL()const [pure virtual]

Fetches the calendar owner address.

ConfirmEntryL()

voidConfirmEntryL()[pure virtual]

Sets entry's status to confirmed.

Conflicts()

TBool Conflicts()const [pure virtual]

Checks, if this entry conflicts with other entries.

ConstructReplyL(TESMRAttendeeStatus)

voidConstructReplyL(TESMRAttendeeStatusaStatus)[pure virtual]

Constructs reply entry and sets attendee status. Phone owner needs to be found from entrys attendee list and role needs to be participant or optional participant.

Parameters

TESMRAttendeeStatus aStatusAttendee status

CurrentPluginL()

TESMRMailPlugin CurrentPluginL()[pure virtual]

Resolves current plugin in use.

EntryAttendeeInfoL()

TESMREntryInfo EntryAttendeeInfoL()const [pure virtual]

Fetches entry information in attendee mode. Method will leave if phone owner is organizer.

FetchConflictingEntriesL(RPointerArray< CCalEntry > &)

TInt FetchConflictingEntriesL(RPointerArray< CCalEntry > &aEntryArray)[pure virtual]

Fetches the conflicting entries. Conflicting entries are added to aEntryArray.

Parameters

RPointerArray< CCalEntry > & aEntryArrayArray containing conflicting entries

GetAddedAttendeesL(RArray< CCalAttendee * > &, TUint)

voidGetAddedAttendeesL(RArray< CCalAttendee * > &aAttendeeArray,
TUintaFilterFlags
)const [pure virtual]

Fetches attendees from entry. Attendees are added to aAttendeeArray. Attendees are filtered according to aFilterFlags parameter. Filtering flags is combimnation of enumeration TESMRRole values. For example, aFilterFlags = EESMRRoleRequiredAttendee --> Required attendees are included to array. Ownership of the attendee objects is not transferred.

Parameters

RArray< CCalAttendee * > & aAttendeeArrayReference to attendee array
TUint aFilterFlagsAttendee filtering flags.

GetAttendeesL(RArray< CCalAttendee * > &, TUint)

voidGetAttendeesL(RArray< CCalAttendee * > &aAttendeeArray,
TUintaFilterFlags
)const [pure virtual]

Fetches attendees from entry. Attendees are added to aAttendeeArray. Attendees are filtered according to aFilterFlags parameter. Filtering flags is combimnation of enumeration TESMRRole values. For example, aFilterFlags = EESMRRoleRequiredAttendee --> Required attendees are included to array. Ownership of the attendee objects is not transferred.

Parameters

RArray< CCalAttendee * > & aAttendeeArrayReference to attendee array
TUint aFilterFlagsAttendee filtering flags.

GetFirstInstanceStartAndEndTimeL(TTime &, TTime &)

voidGetFirstInstanceStartAndEndTimeL(TTime &aStart,
TTime &aEnd
)[pure virtual]

Fetches first instances start and end time. For non-recurrent entries this returns the entry's start and end time.

Parameters

TTime & aStartOn returns contains the first instance's start time.
TTime & aEndOn returns contains the first instance's end time.

GetRemovedAttendeesL(RArray< CCalAttendee * > &, TUint)

voidGetRemovedAttendeesL(RArray< CCalAttendee * > &aAttendeeArray,
TUintaFilterFlags
)const [pure virtual]

Fetches attendees from entry. Attendees are added to aAttendeeArray. Attendees are filtered according to aFilterFlags parameter. Filtering flags is combimnation of enumeration TESMRRole values. For example, aFilterFlags = EESMRRoleRequiredAttendee --> Required attendees are included to array. Ownership of the attendee objects is not transferred.

Parameters

RArray< CCalAttendee * > & aAttendeeArrayReference to attendee array
TUint aFilterFlagsAttendee filtering flags.

IsEntryOutOfDateL()

TBool IsEntryOutOfDateL()const [pure virtual]

Tests, whether entry is out of date. Entry is out of date, if newer entry exists in calendar db.

IsForwardedL()

TBool IsForwardedL()const [pure virtual]

Tests if this is forwarded entry.

IsMeetingCancelledL()

TBool IsMeetingCancelledL()const [pure virtual]

Tests, if meeting is cancelled.

IsOpenedFromMail()

TBool IsOpenedFromMail()const [pure virtual]

Tests, if entry is opened from mail.

IsSentL()

TBool IsSentL()const [pure virtual]

Tests whether entry is sent or not

IsSyncObjectPresent()

TBool IsSyncObjectPresent()const [pure virtual]

Tests if meeting request entry contains synchronization object.

MailboxUtils()

CMRMailboxUtils &MailboxUtils()const [pure virtual]

Gets the mailbox utils.

MarkMeetingCancelledL()

voidMarkMeetingCancelledL()[pure virtual]

For organizer, this marks meeting cancelled. For attendee, this constructs response entry and marks attendee status 'declined'.

OccursInPastL()

TBool OccursInPastL()const [pure virtual]

Checks, whether entry occurs in the past

RoleL()

TESMRRole RoleL()const [pure virtual]

Fetches the phone owner's role in this calendar entry. TESMRRole.

SendCanellationAvailable()

TBool SendCanellationAvailable()[pure virtual]

check whether can send canellation

SetSendCanellationAvailable(TBool)

voidSetSendCanellationAvailable(TBoolaSendCanellation)[pure virtual]

set the cannellation flag

Parameters

TBool aSendCanellation

StartupParameters(TESMRInputParams &)

TBool StartupParameters(TESMRInputParams &aStarupParams)const [pure virtual]

Fetches startup parameters. Return ETrue if startup parameters were filled to aStarupParams structure.

Parameters

TESMRInputParams & aStarupParamsReference to startup params structure

SwitchToForwardL()

voidSwitchToForwardL()[pure virtual]

Switched entry into forward mode. Current entry's all fields remain as they are.Entry's method is switched into request and attendee list is emptied. KErrNotSupported Current entry cannot be forwarded.

SwitchToOrginalL()

voidSwitchToOrginalL()[pure virtual]

Switched entry into orginal mode. Entry is restored to same state before switching into forwarding mode. KErrNotSupported Current entry cannot be forwarded.

SyncObjectL()

MMRInfoObject &SyncObjectL()[pure virtual]

Fetches the reference to sync object If sync object is not present, method leaves with KErrNotSupported.

UpdateChildEntriesSeqNumbersL()

voidUpdateChildEntriesSeqNumbersL()[pure virtual]

Updates child entries sequence numbers and stores them to calendar DB.

ValidateSyncObjectL()

MMRInfoObject &ValidateSyncObjectL()[pure virtual]

Validates the sync object and return pointer to it. If sync object is not present, method leaves with KErrNotSupported.

Member Enumerations Documentation

Enum TESMREntryInfo

Enumeration for meeting request entry information

Enumerators

EESMREntryInfoOutOfDate
EESMREntryInfoCancelled
EESMREntryInfoAccepted
EESMREntryInfoTentativelyAccepted
EESMREntryInfoDeclined
EESMREntryInfoOccursInPast
EESMREntryInfoConflicts
EESMREntryInfoNormal