Class BackendInfoUtil

java.lang.Object
com.saperion.ngc.util.BackendInfoUtil
All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener

@Deprecated public class BackendInfoUtil extends Object implements org.zkoss.zk.ui.event.EventListener
Deprecated.
kept only for compile-compatibility. Use SettingsService to load settings.
Provides static methods to store and retrieve information about the backend system the client currently is connected to.
  • Constructor Details

    • BackendInfoUtil

      public BackendInfoUtil()
      Deprecated.
  • Method Details

    • getDatabaseType

      @Deprecated public static String getDatabaseType()
      Deprecated.
      use SettingsService 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(String databaseType)
      Deprecated.
      use SettingsService to load settings
      Sets 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 Exception
      Deprecated.
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener
      Throws:
      Exception
      See Also:
      • EventListener.onEvent(org.zkoss.zk.ui.event.Event)