@Entity public class ForgotPasswordSecurityTokenImpl extends java.lang.Object implements ForgotPasswordSecurityToken
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
adminUserId |
protected java.util.Date |
createDate |
protected java.lang.String |
token |
protected java.util.Date |
tokenUsedDate |
protected boolean |
tokenUsedFlag |
| Constructor and Description |
|---|
ForgotPasswordSecurityTokenImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAdminUserId()
Return the userId that this token was created for.
|
java.util.Date |
getCreateDate()
Date the token was created
|
java.lang.String |
getToken()
Returns the security token.
|
java.util.Date |
getTokenUsedDate()
Date the token was used to reset the password.
|
int |
hashCode() |
boolean |
isTokenUsedFlag()
Returns true if the token has already been used.
|
void |
setAdminUserId(java.lang.Long adminUserId)
Store the userId that this token is associated with.
|
void |
setCreateDate(java.util.Date createDate)
Set the generation date for the token.
|
void |
setToken(java.lang.String token)
Sets the security token.
|
void |
setTokenUsedDate(java.util.Date tokenUsedDate)
Set the date the token was used to reset the password.
|
void |
setTokenUsedFlag(boolean tokenUsedFlag)
Sets the token used flag.
|
protected java.lang.String token
protected java.util.Date createDate
protected java.util.Date tokenUsedDate
protected java.lang.Long adminUserId
protected boolean tokenUsedFlag
public java.lang.String getToken()
ForgotPasswordSecurityTokengetToken in interface ForgotPasswordSecurityTokenpublic void setToken(java.lang.String token)
ForgotPasswordSecurityTokensetToken in interface ForgotPasswordSecurityTokenpublic java.util.Date getCreateDate()
ForgotPasswordSecurityTokengetCreateDate in interface ForgotPasswordSecurityTokenpublic void setCreateDate(java.util.Date createDate)
ForgotPasswordSecurityTokensetCreateDate in interface ForgotPasswordSecurityTokenpublic java.util.Date getTokenUsedDate()
ForgotPasswordSecurityTokengetTokenUsedDate in interface ForgotPasswordSecurityTokenpublic void setTokenUsedDate(java.util.Date tokenUsedDate)
ForgotPasswordSecurityTokensetTokenUsedDate in interface ForgotPasswordSecurityTokenpublic java.lang.Long getAdminUserId()
ForgotPasswordSecurityTokengetAdminUserId in interface ForgotPasswordSecurityTokenpublic void setAdminUserId(java.lang.Long adminUserId)
ForgotPasswordSecurityTokensetAdminUserId in interface ForgotPasswordSecurityTokenpublic boolean isTokenUsedFlag()
ForgotPasswordSecurityTokenisTokenUsedFlag in interface ForgotPasswordSecurityTokenpublic void setTokenUsedFlag(boolean tokenUsedFlag)
ForgotPasswordSecurityTokensetTokenUsedFlag in interface ForgotPasswordSecurityTokenpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018. All Rights Reserved.