EbaseSystem

The EbaseSystem interface provides access to a number of system services.

EbaseSystem Functions

addWrapFactoryExcludedClass EbaseSystem.addWrapFactoryExcludedClass( className ) Excludes the named class or interface from type conversion performed by the wrap factory for Java lists and maps.
isDebugging EbaseSystem.isDebugging( ) Returns true if a Javascript debugging session is active on this server.
executeCustomFunction EbaseSystem.executeCustomFunction( functionName , parameters ) Executes a custom function.
getDatabaseConnection EbaseSystem.getDatabaseConnection( databaseConnectionName ) Returns a database connection.
getDatabaseType EbaseSystem.getDatabaseType( databaseConnectionName ) Returns a string describing the database type for the database connection.
loadPropertiesFromClasspath EbaseSystem.loadPropertiesFromClasspath( propertiesFileName ) Loads a properties file from the WEB-INF/classes folder within the web application.
loadPropertiesFromFile EbaseSystem.loadPropertiesFromFile( propertiesFilePath ) Loads a properties file from the specified full file path.
getLockManager EbaseSystem.getLockManager( ) Returns the lock manager object that supports locking/unlocking of in memory objects
getPreferences EbaseSystem.getPreferences( ) Returns the system preferences object.
removeWrapFactoryExcludedClass EbaseSystem.removeWrapFactoryExcludedClass( className ) Removes the named class or interface from the list of excluded classes used as an exclusion list by the wrap factory for Java lists and maps.
getSecurityManager EbaseSystem.getSecurityManager( ) Returns the security manager object that provides access to all security functions: logon(), logoff(), hasRole() etc.
getSequenceManager EbaseSystem.getSequenceManager( ) Returns the sequence manager object that provides a new sequence number for a defined sequence.
getServletContext EbaseSystem.getServletContext( ) Returns the servlet context which can be used to get/set global attributes.
getSnapshotManager EbaseSystem.getSnapshotManager( ) Returns snapshot manager that allows the user to take a snapshot of the form state data.
getSystemName EbaseSystem.getSystemName( ) Returns the system name as configured in the Ufs.fileDirectoryName parameter of UFSSetup.properties.
getTexts EbaseSystem.getTexts( ) Returns the system texts object which provides access to all system texts.
getTransactionManager EbaseSystem.getTransactionManager( ) Returns the transaction manager object that supports commit and rollback
getVariables EbaseSystem.getVariables( ) Returns the system variables object which provides access to all system variables.
getWorkflow EbaseSystem.getWorkflow( ) Returns the workflow object, this provides access to all workflow functionality.