All Classes Files Functions Variables Pages
Server.idl
Go to the documentation of this file.
1 /**
2  * @file Server.idl
3  * @brief Server properties
4  * @version 2
5  */
6 
7 #import <kerio/web/idl/SharedStructures.idl>
8 
9 module webadmin {
10 
11 enum ServerOs {
12  Windows,
13  Linux
14 };
15 
16 /**
17  * Available entities, entity prefix due to name collision
18 enum Entity {
19  EntityUser, ///< User Entity
20  EntityAlias, ///< Alias Entity
21  EntityGroup, ///< Group Entity
22  EntityMailingList, ///< Mailing List Entity
23  EntityResource, ///< Resource Scheduling Entity
24  EntityTimeRange, ///< Time Range Entity
25  EntityTimeRangeGroup, ///< Time Range Group Entity
26  EntityIpAddress, ///< Ip Address Entity
27  EntityIpAddressGroup, ///< Ip Address Group Entity
28  EntityService, ///< Service Entity
29  EntityDomain
30 };
31  */
32 
33 /**
34  * Restriction Items
35  */
37  string name; // was of type kerio::web::ItemName
38  kerio::web::RestrictionKind kind;
39  kerio::web::StringList values;
40 };
41 
42 /**
43  * Restriction tuple for 1 entity
44  */
45 typedef sequence<RestrictionTuple> RestrictionTupleList;
46 
47 /**
48  * Entity name restriction definition
49  */
50 struct Restriction {
51  string entityName; ///< was of type Entity
52  RestrictionTupleList tuples; ///< Restriction tuples
53 };
54 
55 /**
56  * List of restrictions
57  */
58 typedef sequence<Restriction> RestrictionList;
59 
60 
61 interface Server {
62  /**
63  * @param os - engine OS. I would like to enumerate where client depends on engine OS but such list will become obsolete soon
64  */
65  void getOs(out ServerOs os);
66 
67  void getRestrictionList(out RestrictionList restrictions);
68 };
69 
70 }; //webadmin
Definition: Server.idl:50
Definition: Server.idl:36
Definition: Server.idl:61
string entityName
was of type Entity
Definition: Server.idl:51
Definition: Accounting.idl:11
RestrictionTupleList tuples
Restriction tuples.
Definition: Server.idl:52