All Classes Files Functions Variables Pages
Accounting.idl
Go to the documentation of this file.
1 /**
2  * @file Accounting.idl
3  * @brief Accounting tab API (Statistics / Quota, Exceptions)
4  * @version 2
5  */
6 
7 #import <kerio/web/idl/TimeRanges.idl>
8 #import <common.idl>
9 #import <Users.idl>
10 
11 module webadmin {
12 
13 enum UserFormatType {
14  UserFormatFL,
15  UserFormatFLU,
16  UserFormatFLD,
17  UserFormatLF,
18  UserFormatLFU,
19  UserFormatLFD
20 };
21 
23  boolean enabled;
24  boolean activityLogEnabled;
25  long maxAge;
26  UserFormatType userFormat;
27 
28  UserReferenceList gatheredGroups;
29 
30  kerio::web::Day startWeekDay; ///< @see kerio::web::TimeRangeManager
31  long startMonthDay; ///< 1..28
32 
33  string starReportLanguage;
34 
35  OptionalIdReference validTimeRange;
36  OptionalIdReference ipAddressGroup;
37  UserReferenceList userExceptions;
38  OptionalIdReference urlGroup;
39 };
40 
41 interface Accounting {
42 
43  /**
44  * Returns Accounting configuration
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 get(out AccountingConfig config);
50 
51  /**
52  * Stores Accounting configuration
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 set(out kerio::web::ErrorList errors, in AccountingConfig config);
58 
59 };
60 
61 };//webadmin
Definition: Accounting.idl:41
Common Kerio Control structures, enums and types.
API for Kerio Control Users.
Definition: Accounting.idl:22
Definition: common.idl:36
Definition: Accounting.idl:11
long startMonthDay
1..28
Definition: Accounting.idl:31
kerio::web::Day startWeekDay
Definition: Accounting.idl:30