17 #import <Principals.idl>
54 enum FolderPlaceType {
80 typedef sequence<FolderPermission> FolderPermissionList;
104 typedef sequence<Folder> FolderList;
112 kerio::web::KIdList subscribedFolderIds;
115 typedef sequence<SharedMailbox> SharedMailboxList;
128 void clearToItemId(in kerio::web::KId itemId);
137 void create(out kerio::web::ErrorList errors, out kerio::web::CreateResultList result, in FolderList folders);
144 void get(out FolderList list);
151 void getShared(out FolderList list, in kerio::web::KId mailboxId);
158 void getPublic(out FolderList list);
165 void getSubscribed(out SharedMailboxList list);
172 void getAutoCompleteContactsFolderId(out kerio::web::KId folderId);
179 void getSharedMailboxList(out SharedMailboxList mailboxes);
190 void moveByType(out kerio::web::ErrorList errors, in kerio::web::KId targetId, in kerio::web::KIdList ids);
198 void set(out kerio::web::ErrorList errors, in FolderList folders);
207 void remove(out kerio::web::ErrorList errors, in kerio::web::KIdList ids, in
boolean recursive);
217 void removeByType(out kerio::web::ErrorList errors, in kerio::web::KIdList ids);
225 void getPermissions(out FolderPermissionList permissions, in kerio::web::KId folderId);
234 void setPermissions(in FolderPermissionList permissions, in kerio::web::KId folderId, in
boolean recursive);
241 void getSubscriptionList(out kerio::web::KIdList folderIds);
248 void setSubscriptionList(in kerio::web::KIdList folderIds);
257 void copyAllMessages(in kerio::web::KId sourceId, in kerio::web::KId destId, in
boolean doMove);