class CCalEntry : public CBase |
Class representing a calendar entry. This can be an appointment, to-do item, reminder, event or anniversary.
CCalEntry contains information about a calendar entry, including a repeat definition, synchronisation information, and group scheduling data.
A repeating calendar entry has more than one occurrence. Instances are represented by the CCalInstance class.
Synchronisation information includes a record of the date/time the entry was last modified. This can be found by calling the LastModifiedDateL() function.
Private Member Functions | |
---|---|
void | ConstructL(TType, HBufC8 *, TMethod, TUint, const TCalTime &, CalCommon::TRecurrenceRange) |
void | ConstructL(TType, HBufC8 *, TMethod, TUint) |
void | ConstructL(CCalEntryImpl *) |
Public Member Enumerations | |
---|---|
enum | TCopyType { ECopyAll, EDontCopyId } |
enum | TMethod { EMethodNone, EMethodPublish, EMethodRequest, EMethodReply, EMethodAdd, EMethodCancel, EMethodRefresh, EMethodCounter, EMethodDeclineCounter } |
enum | TReplicationStatus { EOpen, EPrivate, ERestricted } |
enum | TStatus { ETentative, EConfirmed, ECancelled, ETodoNeedsAction, ETodoCompleted, ETodoInProcess, ENullStatus, EVCalAccepted, EVCalNeedsAction, EVCalSent, EVCalDeclined, EVCalDelegated } |
enum | TTransp { ETranspBusy, ETranspFree, ETranspTentative, ETranspOutOfOffice } |
enum | TType { EAppt, ETodo, EEvent, EReminder, EAnniv } |
Private Attributes | |
---|---|
CCalEntryImpl * | iImpl |
IMPORT_C void | AddAttachmentL | ( | CCalAttachment & | aAttachment | ) |
CCalAttachment & aAttachment |
IMPORT_C void | AddAttendeeL | ( | CCalAttendee * | aAttendee | ) |
CCalAttendee * aAttendee |
IMPORT_C void | AddCategoryL | ( | CCalCategory * | aCategory | ) |
CCalCategory * aCategory |
IMPORT_C TBool | CompareL | ( | const CCalEntry & | aEntry | ) | const |
const CCalEntry & aEntry |
void | ConstructL | ( | TType | aType, |
HBufC8 * | aUid, | |||
TMethod | aMethod, | |||
TUint | aSeqNum, | |||
const TCalTime & | aRecurrenceId, | |||
CalCommon::TRecurrenceRange | aRange | |||
) | [private] |
void | ConstructL | ( | TType | aType, |
HBufC8 * | aUid, | |||
TMethod | aMethod, | |||
TUint | aSeqNum | |||
) | [private] |
void | ConstructL | ( | CCalEntryImpl * | aImpl | ) | [private] |
CCalEntryImpl * aImpl |
IMPORT_C void | CopyFromL | ( | const CCalEntry & | aOther | ) |
const CCalEntry & aOther |
IMPORT_C void | CopyFromL | ( | const CCalEntry & | aOther, |
TCopyType | aCopyType | |||
) |
IMPORT_C void | DeleteAttachmentL | ( | const CCalAttachment & | aAttachment | ) |
const CCalAttachment & aAttachment |
IMPORT_C void | GetExceptionDatesL | ( | RArray< TCalTime > & | aExDateList | ) | const |
IMPORT_C CCalEntry * | NewL | ( | TType | aType, |
HBufC8 * | aUid, | |||
TMethod | aMethod, | |||
TUint | aSeqNum | |||
) | [static] |
IMPORT_C CCalEntry * | NewL | ( | TType | aType, |
HBufC8 * | aUid, | |||
TMethod | aMethod, | |||
TUint | aSeqNum, | |||
const TCalTime & | aRecurrenceId, | |||
CalCommon::TRecurrenceRange | aRange | |||
) | [static] |
IMPORT_C TCalTime | NextInstanceForLocalUIDL | ( | const TCalTime & | aTime | ) | const |
const TCalTime & aTime |
IMPORT_C TCalTime | PreviousInstanceForLocalUIDL | ( | const TCalTime & | aTime | ) | const |
const TCalTime & aTime |
IMPORT_C void | SetCompletedL | ( | TBool | aCompleted, |
const TCalTime & | aTime | |||
) |
IMPORT_C void | SetDTStampL | ( | const TCalTime & | aTime | ) |
const TCalTime & aTime |
IMPORT_C void | SetDescriptionL | ( | const TDesC & | aDescription | ) |
const TDesC & aDescription |
IMPORT_C void | SetExceptionDatesL | ( | const RArray< TCalTime > & | aExDateList | ) |
IMPORT_C void | SetGeoValueL | ( | const CCalGeoValue & | aGeoValue | ) |
const CCalGeoValue & aGeoValue |
IMPORT_C void | SetLastModifiedDateL | ( | const TCalTime & | aModifiedTime | ) |
const TCalTime & aModifiedTime |
IMPORT_C void | SetLocalUidL | ( | TCalLocalUid | aLocalId | ) |
TCalLocalUid aLocalId |
IMPORT_C void | SetLocationL | ( | const TDesC & | aLocation | ) |
const TDesC & aLocation |
IMPORT_C void | SetPhoneOwnerL | ( | const CCalUser * | aOwner | ) |
const CCalUser * aOwner |
IMPORT_C void | SetRDatesL | ( | const RArray< TCalTime > & | aRDateList | ) |
IMPORT_C void | SetRRuleL | ( | const TCalRRule & | aRule | ) |
const TCalRRule & aRule |
IMPORT_C void | SetReplicationStatusL | ( | TReplicationStatus | aReplicationStatus | ) |
TReplicationStatus aReplicationStatus |
IMPORT_C void | SetStartAndEndTimeL | ( | const TCalTime & | aStartTime, |
const TCalTime & | aEndTime | |||
) |
IMPORT_C void | SetSummaryL | ( | const TDesC & | aSummary | ) |
const TDesC & aSummary |
IMPORT_C void | SetTimeTransparencyL | ( | TTransp | aBusyStatus | ) |
TTransp aBusyStatus |
IMPORT_C void | SetTzRulesL | ( | const CTzRules & | aTzRule | ) |
const CTzRules & aTzRule |
Specify which entry details are to be copied in CCalEntry::CopyFromL functions.
ECopyAll |
Copy the ID of the entry |
EDontCopyId |
Dont copy ID of the entry |
The method property of a Group Scheduling entry.
EMethodNone |
The RFC2445-defined method value 'None'. |
EMethodPublish |
The RFC2445-defined method value 'Publish'. |
EMethodRequest |
The RFC2445-defined method value 'Request'. |
EMethodReply |
The RFC2445-defined method value 'Reply'. |
EMethodAdd |
The RFC2445-defined method value 'Add'. |
EMethodCancel |
The RFC2445-defined method value 'Cancel'. |
EMethodRefresh |
The RFC2445-defined method value 'Refresh'. |
EMethodCounter |
The RFC2445-defined method value 'Counter'. |
EMethodDeclineCounter |
The RFC2445-defined method value 'DeclineCounter'. |
Replication status.
EOpen |
No restriction on access. |
EPrivate |
Data is private (no access). |
ERestricted |
Data is confidential (restricted access). |
Defines the possible status values of the entry. There are values here to support both iCalendar (RFC 2445) and vCalendar v1.0 STATUS properties. Enumerated values for vCalendar v1.0 contain the prefix 'EVCal'.
ETentative |
Used to support iCalendar (RFC 2445) and vCalendar 1.0. The event is tentative. |
EConfirmed |
Used to support iCalendar (RFC 2445) and vCalendar 1.0. The event has been confirmed. |
ECancelled |
Used to support iCalendar (RFC 2445). The event has been cancelled. |
ETodoNeedsAction |
Used to support iCalendar (RFC 2445). The to-do entry needs action. |
ETodoCompleted |
Used to support iCalendar (RFC 2445) and vCalendar 1.0. The to-do entry has been completed. |
ETodoInProcess |
Used to support iCalendar (RFC 2445). The to-do entry is in progress. |
ENullStatus |
No status is set. |
EVCalAccepted |
Used to support vCalendar 1.0. The entry has been accepted. |
EVCalNeedsAction |
Used to support vCalendar 1.0. The entry needs action. |
EVCalSent |
Used to support vCalendar 1.0. The entry has been sent. |
EVCalDeclined |
Used to support vCalendar 1.0. The entry has been declined. |
EVCalDelegated |
Used to support vCalendar 1.0. The entry has been delegated. |
The busy status of an entry and corresponds to the TRANSP property in the iCalendar (RFC 2445) and vCalendar specifications. In the vCalendar specification, the TRANSP property can be any positive integer value. 0 is opaque and blocks time, 1 is transparent and doesn't block time. Any higher values have an implementation-specific meaning. In the iCalendar specification (RFC 2445), the TRANSP property can be either OPAQUE (blocks time) or TRANSPARENT (doesn't block time).
ETranspBusy |
The entry blocks time. |
ETranspFree |
The entry doesn't block time. |
ETranspTentative |
The entry is tentative and blocks time. |
ETranspOutOfOffice |
The entry is an out-of-office calendar event and blocks time. |
Defines the type of the calendar entry.
EAppt |
An appointment, which has a start time and end time. |
ETodo |
A to-do, which can have a start time and end time (the end time is the due date), or can be undated. |
EEvent |
An event, which has a start time and end time. |
EReminder |
A reminder, which has a start time only. |
EAnniv |
An anniversary, which has a start time and end time. |