@Entity public class ForgotPasswordSecurityTokenImpl extends Object implements ForgotPasswordSecurityToken
| Modifier and Type | Field and Description |
|---|---|
protected Long |
adminUserId |
protected Date |
createDate |
protected String |
token |
protected Date |
tokenUsedDate |
protected boolean |
tokenUsedFlag |
| Constructor and Description |
|---|
ForgotPasswordSecurityTokenImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getAdminUserId()
Return the userId that this token was created for.
|
Date |
getCreateDate()
Date the token was created
|
String |
getToken()
Returns the security token.
|
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(Long adminUserId)
Store the userId that this token is associated with.
|
void |
setCreateDate(Date createDate)
Set the generation date for the token.
|
void |
setToken(String token)
Sets the security token.
|
void |
setTokenUsedDate(Date tokenUsedDate)
Set the date the token was used to reset the password.
|
void |
setTokenUsedFlag(boolean tokenUsedFlag)
Sets the token used flag.
|
protected String token
protected Date createDate
protected Date tokenUsedDate
protected Long adminUserId
protected boolean tokenUsedFlag
public String getToken()
ForgotPasswordSecurityTokengetToken in interface ForgotPasswordSecurityTokenpublic void setToken(String token)
ForgotPasswordSecurityTokensetToken in interface ForgotPasswordSecurityTokenpublic Date getCreateDate()
ForgotPasswordSecurityTokengetCreateDate in interface ForgotPasswordSecurityTokenpublic void setCreateDate(Date createDate)
ForgotPasswordSecurityTokensetCreateDate in interface ForgotPasswordSecurityTokenpublic Date getTokenUsedDate()
ForgotPasswordSecurityTokengetTokenUsedDate in interface ForgotPasswordSecurityTokenpublic void setTokenUsedDate(Date tokenUsedDate)
ForgotPasswordSecurityTokensetTokenUsedDate in interface ForgotPasswordSecurityTokenpublic Long getAdminUserId()
ForgotPasswordSecurityTokengetAdminUserId in interface ForgotPasswordSecurityTokenpublic void setAdminUserId(Long adminUserId)
ForgotPasswordSecurityTokensetAdminUserId in interface ForgotPasswordSecurityTokenpublic boolean isTokenUsedFlag()
ForgotPasswordSecurityTokenisTokenUsedFlag in interface ForgotPasswordSecurityTokenpublic void setTokenUsedFlag(boolean tokenUsedFlag)
ForgotPasswordSecurityTokensetTokenUsedFlag in interface ForgotPasswordSecurityTokenCopyright © 2017. All rights reserved.