Interface IWebClient

All Known Implementing Classes:
AdempiereWebUI

public interface IWebClient
Interface for web client
Author:
hengsin
See Also:
  • Method Details

    • loginCompleted

      void loginCompleted()
      handle login completed
    • logout

      void logout()
      handle logout
    • logoutAfterTabDestroyed

      void logoutAfterTabDestroyed()
      auto logout after close of browser tab
    • getAppDeskop

      IDesktop getAppDeskop()
      Get IDesktop instance
      Returns:
      IDesktop
    • loadUserPreference

      UserPreference loadUserPreference(int userId)
      load user preference by user id
      Parameters:
      userId -
      Returns:
      UserPreference
    • getUserPreference

      UserPreference getUserPreference()
      Get current user preference
      Returns:
      UserPreference
    • changeRole

      void changeRole(MUser user)
      handle change Role
    • getKeylistener

      org.zkforge.keylistener.Keylistener getKeylistener()
      Get global key listener
      Returns:
      Keylistener
    • getClientInfo

      default ClientInfo getClientInfo()
      Get current ClientInfo
      Returns:
      ClientInfo