Tuesday, July 10, 2018

Application Substituted Kernel Classes

Application substituted kernel classes extend system classes whose names begin
with "x". They are listed at the bottom of the Classes node in the AOT. To
indicate that the classes are special, their icons differ from those of the other
application classes.
Most application substituted kernel classes have a global variable used to access
the class. The global variables do not need a variable declaration and are preinstantiated by the client.
Each class serves a different purpose. The extent to which you will need to use
them vary.
When using the classes:


Always use the application classes rather than using the system
classes directly.


Use the global variables to access the classes, when available.

Never instantiate these classes (except for the Session class). Use the
global variables listed below instead.


Specify the application class name to access static methods.

Application class System class Global variable Runs on
Session xSession (none) Client and server
Application xApplication appl Server
Company xCompany appl.company Server
Info xInfo Infolog Client
ClassFactory xClassFactory classFactory Client and server
Global xGlobal (none) Client and server
VersionControl xVersionControl versionControl Client

Best Regards,
Hossein Karimi

No comments:

Post a Comment

Configure the Firewall on the Enterprise Portal Server

After you install Enterprise Portal, enable Web Server (HTTP) in Windows Firewall. If you do not enable the web server in Windows Firewall...