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.EventListener
Deprecated.kept only for compile-compatibility. UseSettingsService
to 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.String
getDatabaseType()
Deprecated.useSettingsService
to load settingsvoid
onEvent(org.zkoss.zk.ui.event.Event event)
Deprecated.static void
setDatabaseType(java.lang.String databaseType)
Deprecated.useSettingsService
to load settings
-
-
-
Method Detail
-
getDatabaseType
@Deprecated public static java.lang.String getDatabaseType()
Deprecated.useSettingsService
to 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.useSettingsService
to 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.Exception
Deprecated.- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener
- Throws:
java.lang.Exception
- See Also:
EventListener.onEvent(org.zkoss.zk.ui.event.Event)
-
-