Wiki source code of ModelClientModule

Last modified by colinw on 2021/09/10 23:34

Show last authors
1 The ModelClientModule provides access to the live model collection for the current core server, as well as the corresponding core model. All accesses to the live models should occur through this module eventually.
2
3 == Availability ==
4
5 The ModelClientModule is created when the user logs in, and destroyed when the user logs out. It should be available whenever a user is logged in.
6
7 == Methods ==
8
9 {{panel}}
10 {{code language="java"}}
11   public CoreServerModelCollection getModels();
12 {{/code}}
13
14 The getModels() method provides access to the main CoreServerModelCollection for the core server to which the logged in user belongs. If a client module requires access to a model other than the core model (such as the PBX or chat models), an additional client module should be written that depends on this module and provides a specialized method for accessing the specific module. For reference, see the PbxModelClientModule.
15
16 {{code}}
17 public CoreServerModel getCoreModel();
18 {{/code}}
19
20 The getCoreModel() method provides access to the core model for the core server to which the logged in user belongs. This core model contains the users, user groups, permissions, status, active user logins, etc. See the documentation for that class for details.
21 {{/panel}}
22
23 == Factory Name(% style="color: rgb(51,51,51);" %) (%%) ==
24
25 {{code}}
26 com.xmlnamespace.panel.client.factory.client_module.model 
27 {{/code}}
28
29 == Direct Descendents ==
30
31 The following other modules are known to be direct descendents of the ModelClientModule:
32
33 * MainWorkspaceClientModule
34 * PermissionsClientModule
35
36
37
38
iSymphony