All Classes Files Functions Variables Pages
CentralManagement.idl
Go to the documentation of this file.
1 /**
2  * @file CentralManagement.idl
3  * @brief Central management API
4  * @version 2
5  */
6 
7 #import <kerio/web/idl/SharedStructures.idl>
8 #import <common.idl>
9 
10 module webadmin {
11 
13  boolean enabled;
14  string appUrl;
15 };
16 
18  boolean connected;
19  boolean paired;
21 };
22 
23 interface CentralManagement {
24  /**
25  * Returns configuration
26  * @param config - Contains Structure with Central management settings.
27  * @throws kerio::web::ApiException \n
28  * -32001 Session expired. - "The user is not logged in." \n
29  * 1004 Access denied. - "Insufficient rights to perform the requested operation."
30  */
31  void get(out CentralManagementConfig config);
32 
33  /**
34  * Stores configuration
35  * @param config - Contains Structure with Central management settings.
36  * @throws kerio::web::ApiException \n
37  * -32001 Session expired. - "The user is not logged in." \n
38  * 1004 Access denied. - "Insufficient rights to perform the requested operation."
39  */
40  void set(in CentralManagementConfig config);
41 
42  /**
43  * Returns actual state of Central management
44  * @param status - actual state of Central management.
45  * @throws kerio::web::ApiException \n
46  * -32001 Session expired. - "The user is not logged in." \n
47  * 1004 Access denied. - "Insufficient rights to perform the requested operation."
48  */
49  void getStatus(out CentralManagementStatus status);
50 
51  /**
52  * Runs reset
53  * @throws kerio::web::ApiException \n
54  * -32001 Session expired. - "The user is not logged in." \n
55  * 1004 Access denied. - "Insufficient rights to perform the requested operation."
56  */
57  void reset();
58 };
59 
60 }; // webadmin
Definition: CentralManagement.idl:17
Common Kerio Control structures, enums and types.
Definition: CentralManagement.idl:23
Definition: CentralManagement.idl:12
Definition: Accounting.idl:11
Definition: SharedStructures.idl:289