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.Object
public java.lang.String getSessionId()
getSessionId
in interface LoginResultIf
public void setSessionId(java.lang.String sessionId)
setSessionId
in interface LoginResultIf
sessionId
- the sessionId to setpublic boolean isChangePassword()
LoginResultIf
isChangePassword
in interface LoginResultIf
public void setChangePassword(boolean changePassword)
LoginResultIf
setChangePassword
in interface LoginResultIf
changePassword
- the changePassword to setpublic int getCustomerId()
LoginResultIf
getCustomerId
in interface LoginResultIf
public void setCustomerId(int customerId)
LoginResultIf
setCustomerId
in interface LoginResultIf
customerId
- the customerId to setpublic boolean isPasswordExpired()
LoginResultIf
isPasswordExpired
in interface LoginResultIf
public void setPasswordExpired(boolean passwordExpired)
LoginResultIf
setPasswordExpired
in interface LoginResultIf
passwordExpired
- the passwordExpired to setpublic boolean isCustomerDisabled()
LoginResultIf
isCustomerDisabled
in interface LoginResultIf
public void setCustomerDisabled(boolean customerDisabled)
LoginResultIf
setCustomerDisabled
in interface LoginResultIf
customerDisabled
- the customerDisabled to setpublic boolean isPasswordNoMatch()
LoginResultIf
isPasswordNoMatch
in interface LoginResultIf
public void setPasswordNoMatch(boolean passwordNoMatch)
LoginResultIf
setPasswordNoMatch
in interface LoginResultIf
passwordNoMatch
- the passwordNoMatch to setCopyright © 2018 DS Data Systems UK Ltd.