BaseContext - Base context class
The base context class is a context class all other context classes inherit from. Within ODABA two categories of context classes are provided:
- Database context classes (DBBaseContext)
- GUI context classes (GUIBaseContext)
The base context class provides basic functionality for all context classes, e.g. supporting context hierarchies, executing actions, functions and programs etc.
Attributes
Function Groups
- 1. Administration - Administration functions
- 2. Properties - Property functions
- 3. Operation - Running context class actions
- 4. Messages - Messages and system input and output
Functions
- BaseContext - Constructor
- active - Is context active
- className - Get class name from context class
- closing - Context is closing
- contextType - Type of the context
- decision - Get user decision
- defaultContext - Is context default context
- displayProgress - Display progress status
- displayState - Display state property
- enabled - Enabled property
- executeAction - Execute action
- executeCommand - Execute command
- executeFunction - Execute context function or expression
- executeLogin - Execute login function
- executeProgram - Run executable binary
- executeProgramWait - Run executable binary and wait for termination
- executeShell - Execute action according to file type
- executeThread - Execute action in a thread
- highContext - High context by resource name
- input - Get system input
- isClass - Is context class class with passed name?
- isHighContext - Is context high context
- isResource - Check resource name
- isValid - Is context valid
- lockThis - Lock context object
- message - Display message
- opened - Is context opened
- output - Process output request
- parameter - Retrieving parameters
- parameters - All parameters
- parentContext - Get parent context
- permitted - Check access permission
- processState - Process state property
- resourceID - Resource identification
- resourceName - Resource name
- result - Result property
- setParameter - Set parameters for action
- startProgress - Start progress display
- state1 - Context state1 property
- state2 - Context state2 property
- state3 - Context state3 property
- statusMessage - Show status message
- stopProgress - Stop progress display
- stopThread - Stop action thread
- unlockThis - Release Context object
- userName - Get user name from application
- ~BaseContext - Destructor