public class LoginResult extends java.lang.Object implements LoginResultIf
| Constructor and Description |
|---|
LoginResult() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCustomerId()
Returned if login is successful.
|
java.lang.String |
getSessionId() |
boolean |
isChangePassword()
Set to true if the password needs to be changed
|
boolean |
isCustomerDisabled()
Set to true if the customer isn't enabled
|
boolean |
isPasswordExpired()
Set to true if the password has expired
|
boolean |
isPasswordNoMatch()
Set to true if the password didn't match the stored password
|
void |
setChangePassword(boolean changePassword)
Set to true if the password needs to be changed
|
void |
setCustomerDisabled(boolean customerDisabled)
Set to true if the customer isn't enabled
|
void |
setCustomerId(int customerId)
Returned if login is successful.
|
void |
setPasswordExpired(boolean passwordExpired)
Set to true if the password has expired
|
void |
setPasswordNoMatch(boolean passwordNoMatch)
Set to true if the password didn't match the stored password
|
void |
setSessionId(java.lang.String sessionId) |
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getSessionId()
getSessionId in interface LoginResultIfpublic void setSessionId(java.lang.String sessionId)
setSessionId in interface LoginResultIfsessionId - the sessionId to setpublic boolean isChangePassword()
LoginResultIfisChangePassword in interface LoginResultIfpublic void setChangePassword(boolean changePassword)
LoginResultIfsetChangePassword in interface LoginResultIfchangePassword - the changePassword to setpublic int getCustomerId()
LoginResultIfgetCustomerId in interface LoginResultIfpublic void setCustomerId(int customerId)
LoginResultIfsetCustomerId in interface LoginResultIfcustomerId - the customerId to setpublic boolean isPasswordExpired()
LoginResultIfisPasswordExpired in interface LoginResultIfpublic void setPasswordExpired(boolean passwordExpired)
LoginResultIfsetPasswordExpired in interface LoginResultIfpasswordExpired - the passwordExpired to setpublic boolean isCustomerDisabled()
LoginResultIfisCustomerDisabled in interface LoginResultIfpublic void setCustomerDisabled(boolean customerDisabled)
LoginResultIfsetCustomerDisabled in interface LoginResultIfcustomerDisabled - the customerDisabled to setpublic boolean isPasswordNoMatch()
LoginResultIfisPasswordNoMatch in interface LoginResultIfpublic void setPasswordNoMatch(boolean passwordNoMatch)
LoginResultIfsetPasswordNoMatch in interface LoginResultIfpasswordNoMatch - the passwordNoMatch to setCopyright © 2018 DS Data Systems UK Ltd.