Sun Java System Calendar Server 6 2005Q4 Developer's Guide

Fetching Component State Data

All fetch commands, except fetchcomponents_by_attendee_error, have the ability to fetch by component state, using the parameter compstate. The default (compstate=ALL) is to fetch all component states, Use this parameter to limit the type of components fetched.

If the parameter is not specified, the default value is ALL.

The following table lists component state values. A component state pertains either to the attendee or the organizer.

Table 6–4 Component State Values

compstate Value

Organizer or  

Attendee  

Comment 

REPLY-DECLINED

Attendee 

The event or todo is an invitation from another user and the current user has declined the invitation. 

REPLY-ACCEPTED

Attendee 

The event or todo is an invitation from another user and the current user has accepted the invitation. 

REQUEST-COMPLETED

Organizer 

The event or todo is an invitation from the current user to other invitees, and all invitees have replied. 

REQUEST_NEEDS-ACTION

Attendee 

The event or todo is an invitation from another user and the current user has not replied to it yet. 

REQUEST-NEEDSNOACTION

Attendee 

The event or todo is an invitation from another user and the current user is not required to reply. 

REQUEST-PENDING

Organizer 

The event or todo is an invitation from the current user to other invitees, and is currently in the process of sending out invitations. 

REQUEST-WAITFORREPLY

Organizer 

The event or todo is an invitation from the current user to other invitees, and is currently awaiting replies from all invitees. 

ALL

N/A 

(Default) All event and todo component states.