All Classes Files Functions Variables Pages
TimeRanges.idl
Go to the documentation of this file.
1 /**
2  * @file TimeRanges.idl
3  * @brief API for time ranges
4  * @version 1
5  */
6 
7 #import <kerio/web/idl/SharedStructures.idl>
8 #import <kerio/web/idl/TimeRanges.idl>
9 
10 module webadmin {
11 
12 interface TimeRanges : kerio::web::TimeRanges {
13 
14  /**
15  * write changes cached in manager to configuration
16  * @param errors - list of errors \n
17  * 8001 Invalid params. - "Unable to add/modify time range %1., wrong parameters." \n
18  * 8002 Database error. - "Unable to add/modify time range %1." \n
19  * 8002 Database error. - "Unable to delete the time range."
20  * @throws kerio::web::ApiException \n
21  * -32001 Session expired. - "The user is not logged in." \n
22  * 1004 Access denied. - "Insufficient rights to perform the requested operation."
23  */
24  void apply(out kerio::web::ErrorList errors);
25 
26  /**
27  * discard changes cached in manager
28  * @throws kerio::web::ApiException \n
29  * -32001 Session expired. - "The user is not logged in." \n
30  * 1004 Access denied. - "Insufficient rights to perform the requested operation."
31  */
32  void reset();
33 };
34 
35 }; //webadmin
Definition: TimeRanges.idl:12
Definition: Accounting.idl:11