Package com.saperion.ngc.util
Class BackendInfoUtil
- java.lang.Object
-
- com.saperion.ngc.util.BackendInfoUtil
-
- All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener
@Deprecated public class BackendInfoUtil extends java.lang.Object implements org.zkoss.zk.ui.event.EventListenerDeprecated.kept only for compile-compatibility. UseSettingsServiceto load settings.Provides static methods to store and retrieve information about the backend system the client currently is connected to.
-
-
Constructor Summary
Constructors Constructor Description BackendInfoUtil()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.StringgetDatabaseType()Deprecated.useSettingsServiceto load settingsvoidonEvent(org.zkoss.zk.ui.event.Event event)Deprecated.static voidsetDatabaseType(java.lang.String databaseType)Deprecated.useSettingsServiceto load settings
-
-
-
Method Detail
-
getDatabaseType
@Deprecated public static java.lang.String getDatabaseType()
Deprecated.useSettingsServiceto load settings- Returns:
- the type of the database in use
- See Also:
SaConstants.MYSQL,SaConstants.MSSQL,SaConstants.ORACLE,SaConstants.DB2
-
setDatabaseType
public static void setDatabaseType(java.lang.String databaseType)
Deprecated.useSettingsServiceto load settingsSets the type of the database in use.- Parameters:
databaseType- database type as string- See Also:
SaConstants.MYSQL,SaConstants.MSSQL,SaConstants.ORACLE,SaConstants.DB2
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event event) throws java.lang.ExceptionDeprecated.- Specified by:
onEventin interfaceorg.zkoss.zk.ui.event.EventListener- Throws:
java.lang.Exception- See Also:
EventListener.onEvent(org.zkoss.zk.ui.event.Event)
-
-