Back to index
|void||init (in AUTF8String icalData)|
|Initializes the item with an ics string. |
|Creates a new calItipItem with the same attributes as the one that clone() is called upon. |
|void||getItemList (out unsigned long itemCount,[retval, array, size_is(itemCount)] out calIItemBase items)|
|Get the list of items that are encapsulated in this calIItipItem. |
|calIItemBase||modifyItem (in calIItemBase item)|
|Get the first item from the iTIP message Bug XXX 351761: Need to find a way to make this use an nsISimpleEnumerator. |
|void||setAttendeeStatus (in AString attendeeId, in AString status)|
|Modifies the state of the given attendee in the item's ics. |
|Attribute: isSend - set to TRUE when sending this item to initiate an iMIP communication. |
|Attribute: receivedMethod - method the iTIP item had upon reciept. |
|Attribute: responseMethod - method that the protocol handler (or the user) decides to use to respond to the iTIP item (could be COUNTER, REPLY, DECLINECOUNTER, etc) |
|attribute unsigned long||autoResponse|
|Attribute: autoResponse Set to one of the three constants below. |
|const unsigned long||AUTO = 0|
|Used to tell the iTIP processor to use an automatic response when handling this iTIP item. |
|const unsigned long||USER = 1|
|Used to tell the iTIP processor to allow the user to edit the response. |
|const unsigned long||NONE = 2|
|Used to tell the iTIP processor not to respond at all. |
|Attribute: targetCalendar - the calendar that this thing should be stored in, if it should be stored onto a calendar. |
|The identity this item was received on. |
|localStatus: The response that the user has made to the invitation in this ItipItem. |
calIItipItem is an interface used to carry information between the mime parser, the imip-bar UI, and the iTIP processor.
It encapsulates a list of calIItemBase objects and provides specialized iTIP methods for those items.
Creates a new calItipItem with the same attributes as the one that clone() is called upon.
|void calIItipItem::getItemList||(||out unsigned long||itemCount,|
|[retval, array, size_is(itemCount)] out calIItemBase||items|
Initializes the item with an ics string.
|-||in parameter - AString of ical Data|
Get the first item from the iTIP message Bug XXX 351761: Need to find a way to make this use an nsISimpleEnumerator.
calIItemBase getFirstItem(); Get next item from the iTIP message. If there is no next item then it returns NULL
calIItemBase getNextItem(); Modifies a calIItemBase that is in the component list. Internally, the interface will update the proper component. It does this via the UID of the component by calling hasSameIds().
|in||parameter - item to modify|
Modifies the state of the given attendee in the item's ics.
|attendeeId||- AString containing attendee address|
|status||- AString containing the new attendee status|
Attribute: isSend - set to TRUE when sending this item to initiate an iMIP communication.
This will be used by the iTIP processor to route the item directly to the email subsystem so that communication can be initiated. For example, if you are Sending a REQUEST, you would set this flag, and send the iTIP Item into the iTIP processor, which would handle everything else.