class MESMRCalEntry |
MESMRMeetingRequestEntry provides utility functions for handling MR Entry.
esmrservices.lib
Public Member Enumerations | |
---|---|
enum | TESMRAlarmType { EESMRAlarmNotFound , EESMRAlarmAbsolute , EESMRAlarmRelative } |
enum |
TESMRCalEntryType
{
EESMRCalEntryNotSupported = EESMREventTypeNone, EESMRCalEntryMeetingRequest = EESMREventTypeMeetingRequest, EESMRCalEntryMeeting = EESMREventTypeAppt, EESMRCalEntryTodo = EESMREventTypeETodo, EESMRCalEntryMemo = EESMREventTypeEEvent, EESMRCalEntryReminder = EESMREventTypeEReminder, EESMRCalEntryAnniversary = EESMREventTypeEAnniv } |
enum | TESMRRecurrenceModifyingRule { EESMRThisOnly , EESMRAllInSeries } |
enum | TMREntryCapability { EMRCapabilityAttachments } |
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.
TBool | CanSetRecurrenceL | ( | ) | const [pure virtual] |
Tests, if recurrence can be set.
CCalEntry * | CloneEntryLC | ( | TESMRCalEntryType | aType = EESMRCalEntryNotSupported | ) | const [pure virtual] |
Clones entry and leaves the clone into CleanupStack .
TESMRCalEntryType aType = EESMRCalEntryNotSupported | the entry type of the clone. If EESMRCalEntryNotSupported the original type is preserved. |
TBool | ContainsRemoteAttachmentsL | ( | ) | [pure virtual] |
Tests whether entry contains remote attachments or not.
void | GetAlarmL | ( | TESMRAlarmType & | aAlarmType, |
TTime & | aAlarmTime | |||
) | [pure virtual] |
Fetches alarm information from entry.
TESMRAlarmType & aAlarmType | On return contains alarm type. |
TTime & aAlarmTime | On return contains time when alarm occurs. |
void | GetFirstInstanceStartAndEndTimeL | ( | 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.
void | GetRecurrenceL | ( | TESMRRecurrenceValue & | aRecurrence, |
TTime & | aUntil | |||
) | const [pure virtual] |
Fetches entry's recurrence value.
TESMRRecurrenceValue & aRecurrence | On return contains entry's recurrence information |
TTime & aUntil | On return contains time in UTC until recurrence is valid. |
CCalInstance * | InstanceL | ( | ) | const [pure virtual] |
Fetches calendar entry's instance. Ownership is transferred to caller.
TBool | IsEntryTypeChangedL | ( | ) | const [pure virtual] |
Tests, if entry type has changed from the original
TBool | IsRecurrentEventL | ( | ) | const [pure virtual] |
Tests, if this is recurrent meeting request.
TBool | IsStoredL | ( | ) | const [pure virtual] |
Tests whether this entry has been stored to db or not.
MESMRCalEntry & | MESMRCalEntryRef | ( | ) | [pure virtual] |
Fetches reference to this calendar entry.
const MESMRCalEntry & | MESMRCalEntryRef | ( | ) | const [pure virtual] |
Fetches const reference to this calendar entry.
const CCalEntry & | OriginalEntry | ( | ) | [pure virtual] |
Fetches unmodified entry instance.
TESMRRecurrenceModifyingRule | RecurrenceModRule | ( | ) | const [pure virtual] |
Fetches recurrence modification rule.
CCalEntry * | RemoveInstanceFromSeriesL | ( | ) | [pure virtual] |
For recurrent event method removes this from the series. Entry needs to be recurrent event and modification rule needs to be MESMRCalEntry::EESMRThisOnly . Ownership of the returned calendar entry is transferred to caller.
void | SetAllDayEventL | ( | TTime | aStartDate, |
TTime | aEndDate | |||
) | [pure virtual] |
Sets meeting to be all day event.
void | SetDefaultValuesToEntryL | ( | ) | [pure virtual] |
Sets default values to entry.
void | SetModifyingRuleL | ( | TESMRRecurrenceModifyingRule | aRule, |
const TBool | aTypeChanging = EFalse | |||
) | [pure virtual] |
Sets modifying rule role to meeting request.
TESMRRecurrenceModifyingRule aRule | ETrue event type is changing. |
const TBool aTypeChanging = EFalse |
void | SetPriorityL | ( | TUint | aPriority | ) | [pure virtual] |
Sets the entry priority.
TUint aPriority | entry priority. |
void | SetRecurrenceL | ( | TESMRRecurrenceValue | aRecurrence, |
TTime | aUntil = Time::NullTTime() | |||
) | [pure virtual] |
Sets recurrence to ES MR entry. If until time is not set (i.e, it is null time), then until time is implementation dependent. When recurrence is set to ERecurrenceNot, then aUntil parameter is ignored.
TESMRRecurrenceValue aRecurrence | |
TTime aUntil = Time::NullTTime() | Recurrence valid until in UTC format. KErrNotSupported Entry cannot be recurrenced. |
void | SetTypeChanged | ( | TBool | aTypeChanged | ) | [pure virtual] |
Sets the entry type changed
TBool aTypeChanged |
TBool | SupportsCapabilityL | ( | TMREntryCapability | aCapability | ) | const [pure virtual] |
Tests whether entry supports capability or not.
TMREntryCapability aCapability | Capability to be checked |
void | UpdateComparativeEntry | ( | CCalEntry * | aNewComparativeEntry | ) | [pure virtual] |
Updates the comparative entry (needed in entry type changing)
CCalEntry * aNewComparativeEntry |
void | UpdateEntryAfterStoringL | ( | ) | [pure virtual] |
Updates the entry after storing
void | UpdateTimeStampL | ( | ) | [pure virtual] |
Updates entry's timestamp (DTSTAMP) information.
CCalEntry * | ValidateEntryL | ( | ) | [pure virtual] |
Fetches validated entry. Ownership is transferred to caller.
Enumeration for alarm type
EESMRAlarmNotFound |
Entry does not contain alarm |
EESMRAlarmAbsolute |
Alarm is absolute |
EESMRAlarmRelative |
Alarm is relative to meeting start time |
Enumeration for cal entry type
EESMRCalEntryNotSupported = EESMREventTypeNone | |
EESMRCalEntryMeetingRequest = EESMREventTypeMeetingRequest | |
EESMRCalEntryMeeting = EESMREventTypeAppt | |
EESMRCalEntryTodo = EESMREventTypeETodo | |
EESMRCalEntryMemo = EESMREventTypeEEvent | |
EESMRCalEntryReminder = EESMREventTypeEReminder | |
EESMRCalEntryAnniversary = EESMREventTypeEAnniv |
Enumeration for recurrence modifying rule
EESMRThisOnly | |
EESMRAllInSeries |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.