Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: Programmer's Guide > Chapter 10 Integrating with Calendar

Entry Attributes

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Table 10-4 “CSA Entry Attributes” lists the entry attributes supported in the CDE implementation. See the relevant man page for more information. The list of entry attributes is extensible through the extended naming convention.

Table 10-4 CSA Entry Attributes

Attribute Name

Description

Read-Only

Audio Reminder

Audio reminder attribute

No

Classification

Classification attribute

No

Date Completed

Date completed attribute

No

Date Created

Entry creation date attribute

Yes

Description

Description attribute

No

Due Date

Due date attribute

No

End Date

End date attribute

No

Exception Dates

Exception dates attribute

No

Flashing Reminder

Flashing reminder attribute

No

Last Update

Last update attribute

Yes

Mail Reminder

Mail reminder attribute

No

Number Recurrences

Number of recurrences attribute (computed)

Yes

Organizer

Organizer attribute

Yes

Popup Reminder

Pop-up reminder attribute

No

Priority

Priority attribute

No

Recurrence Rule

Recurrence rule attribute

No

Reference Identifier

Reference identifier attribute

Yes

Sponsor

Sponsor attribute

No

Start Date

Start date attribute

No

Status

Status attribute

No

Subtype

Subtype attribute

No

Summary

Summary attribute

No

Transparency

Time transparency or blocking attribute

No

Type

Type attribute

Yes

 

The following section provides additional information about the entry attributes listed in Table 10-4 “CSA Entry Attributes”

  • Organizer

    The organizer of an entry is set to the user who is running the application that calls csa_add_entry() to add the entry to the calendar. It becomes read-only and cannot be changed after the entry is added.

  • Reference Identifier

    The reference identifier of an entry is a string that contains a unique identifier of the entry within the calendar as well as the name and location of the calendar. The format is n:calendar@location where n is a number that uniquely identifies the entry within the calendar, calendar is the name of the calendar, and location is the name of the machine where the calendar is stored.

  • Status

    The CDE implementation defines the following additional status values:

    CSA_X_DT_STATUS_ACTIVE

    CSA_X_DT_STATUS_DELETE_PENDING

    CSA_X_DT_STATUS_ADD_PENDING

    CSA_X_DT_STATUS_COMMITTED

    CSA_X_DT_STATUS_CANCELLED

  • Type

    The value becomes read-only and cannot be changed after the entry is added. The CDE implementation defines the following additional type value:

    CSA_X_DT_TYPE_OTHER

CDE Entry Attributes

The following are CDE-defined entry attributes:

  • Show Time

    The value of this attribute indicates whether the start and end time of the entry should be shown to the user. It can be modified using csa_update_entry_attributes(). This attribute is a CSA_VALUE_SINT32 type of attribute.

  • Repeat Type

    The frequency of recurrence of the entry, which indicates how often the entry repeats. This is a read-only attribute and is derived from the entry attribute Recurrence Rule.

    This attribute is a CSA_VALUE_UINT32 type of attribute.

    The following values are defined:

    CSA_X_DT_REPEAT_ONETIME

    CSA_X_DT_REPEAT_DAILY

    CSA_X_DT_REPEAT_WEEKLY

    CSA_X_DT_REPEAT_BIWEEKLY

    CSA_X_DT_REPEAT_MONTHLY_BY_WEEKDAY

    CSA_X_DT_REPEAT_MONTHLY_BY_DATE

    CSA_X_DT_REPEAT_YEARLY

    CSA_X_DT_REPEAT_EVERY_NDAY

    CSA_X_DT_REPEAT_EVERY_NWEEK

    CSA_X_DT_REPEAT_EVERY_NMONTH

    CSA_X_DT_REPEAT_MON_TO_FRI

    CSA_X_DT_REPEAT_MONWEDFRI

    CSA_X_DT_REPEAT_TUETHUR

    CSA_X_DT_REPEAT_WEEKDAYCOMBO

    CSA_X_DT_REPEAT_OTHER

    CSA_X_DT_REPEAT_OTHER_WEEKLY

    CSA_X_DT_REPEAT_OTHER_MONTHLY

    CSA_X_DT_REPEAT_OTHER_YEARLY

  • Repeat Times

    This attribute shows the number of times an entry repeats. This is a read- only attribute and is derived from the entry attribute Recurrence Rule. This attribute is a CSA_VALUE_UINT32 type of attribute.

  • Repeat Interval

    This attribute tells how often an entry with repeat types CSA_X_DT_REPEAT_EVERY_NDAY, CSA_X_DT_REPEAT_EVERY_NWEEK, or CSA_X_DT_REPEAT_EVERY_NMONTH repeats. This is a read-only attribute, and is derived from the entry attribute Recurrence Rule. For example, if the value of this attribute is 3 and the repeat type is CSA_X_DT_REPEAT_EVERY_NWEEK, the entry repeats every three weeks. This attribute is a CSA_VALUE_UINT32 type of attribute.

  • Repeat Occurrence Number

    If the entry's repeat type is CSA_X_DT_REPEAT_MONTHLY_BY_WEEKDAY, this attribute tells in which week the entry repeats. This is a read-only attribute and is derived from the entry attribute Recurrence Rule. This attribute is a CSA_VALUE_SINT32 type of attribute.

  • Sequence End Date

    This entry attribute shows the end date of the sequence. This is a read-only attribute and is derived from the entry attribute Recurrence Rule. This attribute is a CSA_VALUE_DATE_TIME type of attribute.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.