Class 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. Use SettingsService to load settings.
    Provides static methods to store and retrieve information about the backend system the client currently is connected to.
    • Constructor Detail

      • BackendInfoUtil

        public BackendInfoUtil()
        Deprecated.
    • Method Detail

      • getDatabaseType

        @Deprecated
        public static java.lang.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​(java.lang.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 java.lang.Exception
        Deprecated.
        Specified by:
        onEvent in interface org.zkoss.zk.ui.event.EventListener
        Throws:
        java.lang.Exception
        See Also:
        EventListener.onEvent(org.zkoss.zk.ui.event.Event)