Package org.adempiere.webui
Interface IWebClient
- All Known Implementing Classes:
AdempiereWebUI
public interface IWebClient
Interface for web client
- Author:
- hengsin
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeRole
(MUser user) handle change RoleGetIDesktop
instancedefault ClientInfo
Get current ClientInfoorg.zkforge.keylistener.Keylistener
Get global key listenerGet current user preferenceloadUserPreference
(int userId) load user preference by user idvoid
handle login completedvoid
logout()
handle logoutvoid
auto logout after close of browser tab
-
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()GetIDesktop
instance- Returns:
- IDesktop
-
loadUserPreference
load user preference by user id- Parameters:
userId
-- Returns:
- UserPreference
-
getUserPreference
UserPreference getUserPreference()Get current user preference- Returns:
- UserPreference
-
changeRole
handle change Role -
getKeylistener
org.zkforge.keylistener.Keylistener getKeylistener()Get global key listener- Returns:
Keylistener
-
getClientInfo
Get current ClientInfo- Returns:
ClientInfo
-