101
101
* Gets all meta data. The returned arrays are of the same length.
103
void getAllMetaData(out PRUint32 count,
103
void getAllMetaData(out uint32_t count,
104
104
[array, size_is(count)] out wstring ids,
105
105
[array, size_is(count)] out wstring values);
135
* Instructs the calendar to replay remote changes into the given
135
* Instructs the calendar to replay remote changes into the above offlineStorage
136
136
* calendar. The calendar itself is responsible for storing anything needed
137
137
* to keep track of what items need updating.
144
144
* @param aListener The listener to notify when the operation completes.
146
146
calIOperation replayChangesOn(in calIGenericOperationListener aListener);
149
* addItemOrUseCache: same as calICalendar::addItem
151
* @param useCache use the cache for handling availability errors
153
* When 'useCache' is set, failure to perform the operation will result in
154
* a write in the cache with the corresponding offline operation, when the
155
* backend supports it. In that case, the listener will thus always
156
* receive a success code. When unset, the behaviour is similar to the
157
* corresponding addItem() invocation.
159
calIOperation addItemOrUseCache(in calIItemBase aItem,
161
in calIOperationListener aListener);
163
* adoptItemOrUseCache: same as calICalendar::adoptItem
165
* @param useCache use the cache for handling availability errors
167
calIOperation adoptItemOrUseCache(in calIItemBase aItem,
169
in calIOperationListener aListener);
171
* modifyItemOrUseCache: same as calICalendar::modifyItem
173
* @param useCache use the cache for handling availability errors
175
calIOperation modifyItemOrUseCache(in calIItemBase aNewItem,
176
in calIItemBase aOldItem,
178
in calIOperationListener aListener);
180
* deleteItemOrUseCache: same as calICalendar::deleteItem
182
* @param useCache use the cache for handling availability errors
184
calIOperation deleteItemOrUseCache(in calIItemBase aItem,
186
in calIOperationListener aListener);