The Global type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| Global | ||
| Global | Initializes a new instance of the Global class |
Methods
| Name | Description | |
|---|---|---|
| Application_End | ||
| Application_Error |
Standard application error method, handles logging the error and sending out administrator email
notifications.
| |
| Application_Start | ||
| AppLogLogout |
Helper method used to log the end of the session.
| |
| CheckUrl |
This method is used to enforce the force https software trigger.
Relies on forcehttps entry in settings.xml or Web.config app settings section.
| |
| DataTableToJson |
Converts a datatable to a JSON. Web config settings protect against
overloading this feature with too much data.
| |
| GetAppString |
Helper method that returns the requested string.
| |
| GetColumnInfo |
Simplified helper method that gets the column info data from the database.
| |
| GetCoreTables |
Simplified helper method that gets the core tables from the database.
| |
| GetCoreTablesActive |
Simplified helper method that gets the active core tables from the database.
| |
| GetSecretKey |
Returns a reference to the secret key.
| |
| GetServiceReference |
Returns a reference to the service client.
| |
| HasPerm |
Returns true if the user has the current perm enabled.
| |
| LoadFilters |
Loads a set of open filters from the given comma separated string.
| |
| Log |
Generic logging shortcut call, for quick debug dumps.
| |
| Prep |
Application prep method loads all setings from Web.config app settings or from settings.xml.
Sets up debugging output streams if necessary.
| |
| SafeAdd |
Safely adds an object to the application cache.
| |
| SendErrorEmail |
Used to send administrator notification emails. Requires
adminemail, and senderroremail tags in settings.xml or the Web.config app settings
section.
| |
| Session_End | ||
| Session_Start | ||
| SetBanner |
Utility method for setting the current banner on the site before it is automatically determined based on GET request or the Session.
|
Fields
| Name | Description | |
|---|---|---|
| BANNER_INDEX_KEY |
Holds a commonly used key reference to access the banner index.
| |
| cApp |
Self reference for access to internal centralized methods.
| |
| dataViews |
Dictionary lookup for data views.
| |
| debugOn |
Controls the logging behavior of the application.
| |
| DEFAULT_ICON |
Holds the default icon name.
| |
| FILTER_MANAGER_KEY |
Holds a commonly used key reference to access the filter manager.
| |
| lastError |
Reference to store last Exception from certain specific methods.
Currently application prep uses this method.
| |
| MAX_BULK_EXP_ROWS_DEFAULT |
Default bulk export rows, string form.
| |
| MAX_BULK_EXP_ROWS_DEFAULT_INT |
Default bulk export rows, int form.
| |
| MAX_EXP_ROWS_DEFAULT |
Default maximum export rows value.
| |
| MAX_JSON_COLS_DEFAULT |
Default maximum JSON conversion cols, string form.
| |
| MAX_JSON_COLS_DEFAULT_INT |
Default maximum JSON conversion cols, int form.
| |
| MAX_JSON_ROWS_DEFAULT |
Default maximum JSON conversion rows, string form.
| |
| MAX_JSON_ROWS_DEFAULT_INT |
Default maximum JSON conversion rows, int form.
| |
| MAX_ROW_RETURN_DEFAULT |
Default maximum row return value.
| |
| MAX_ROW_RETURN_DEFAULT_INT |
Default maximum row return value.
| |
| MAX_TOOL_ROWS_DEFAULT |
Default maximum complex tool rows, string form.
| |
| MAX_TOOL_ROWS_DEFAULT_INT |
Default maximum complex tool rows, int form.
| |
| REPORT_CLIPBOARD_KEY |
Holds a commonly used key reference to access the report clipboard.
| |
| STATISTIC_CLIPBOARD_KEY |
Holds a commonly used key reference to access the statistic clipboard.
| |
| strings |
Dictionary lookup for string storage.
| |
| sw |
Stream writer reference used for filesystem debugging, output streams.
|
See Also