| Modifier | Constructor and Description |
|---|---|
protected |
AuthorizationPresenter(AuthorizationView authView) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkModelConnection()
Checks model connection.
|
String |
getLastUser() |
protected void |
logoff()
Logoff.
|
protected void |
logon(String username,
String password,
int selectedItem,
String mandant) |
protected void |
onCreate()
Set the selected userType.
|
void |
setLastUser(String lastUser)
Sets the last user name.
|
protected void |
startup()
Startup.
|
protected AuthorizationPresenter(AuthorizationView authView)
authView - Viewprotected void startup()
throws NgcUiException
NgcUiException - system exception on startupprotected void onCreate()
protected void checkModelConnection()
throws NgcUiException
NgcUiException - system exception while checking connection statusprotected void logon(String username, String password, int selectedItem, String mandant) throws NgcUiException, AuthenticationException
username - Usernamepassword - PasswordselectedItem - Index of the selected item in the user-type-comboboxmandant - MandantNgcUiException - Exception to be handled by viewAuthenticationException - password has expiredprotected void logoff()
throws NgcUiException
NgcUiException - a locked document could not be unlocked or a system exception occurredpublic String getLastUser()
public void setLastUser(String lastUser)
lastUser - last user nameCopyright © 2016 SAPERION AG. All rights reserved.