@Entity public class CustomerForgotPasswordSecurityTokenImpl extends java.lang.Object implements CustomerForgotPasswordSecurityToken
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Date |
createDate |
protected java.lang.Long |
customerId |
protected java.lang.String |
token |
protected java.util.Date |
tokenUsedDate |
protected boolean |
tokenUsedFlag |
| Constructor and Description |
|---|
CustomerForgotPasswordSecurityTokenImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Date |
getCreateDate()
Date the token was created
|
java.lang.Long |
getCustomerId()
Id associated with this forgot password token.
|
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 |
setCreateDate(java.util.Date createDate)
Set the generation date for the token.
|
void |
setCustomerId(java.lang.Long customerId)
Id associated with this forgot password 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 customerId
protected boolean tokenUsedFlag
public CustomerForgotPasswordSecurityTokenImpl()
public java.lang.String getToken()
CustomerForgotPasswordSecurityTokengetToken in interface CustomerForgotPasswordSecurityTokenpublic void setToken(java.lang.String token)
CustomerForgotPasswordSecurityTokensetToken in interface CustomerForgotPasswordSecurityTokenpublic java.util.Date getCreateDate()
CustomerForgotPasswordSecurityTokengetCreateDate in interface CustomerForgotPasswordSecurityTokenpublic void setCreateDate(java.util.Date createDate)
CustomerForgotPasswordSecurityTokensetCreateDate in interface CustomerForgotPasswordSecurityTokenpublic java.util.Date getTokenUsedDate()
CustomerForgotPasswordSecurityTokengetTokenUsedDate in interface CustomerForgotPasswordSecurityTokenpublic void setTokenUsedDate(java.util.Date tokenUsedDate)
CustomerForgotPasswordSecurityTokensetTokenUsedDate in interface CustomerForgotPasswordSecurityTokenpublic java.lang.Long getCustomerId()
CustomerForgotPasswordSecurityTokengetCustomerId in interface CustomerForgotPasswordSecurityTokenpublic void setCustomerId(java.lang.Long customerId)
CustomerForgotPasswordSecurityTokensetCustomerId in interface CustomerForgotPasswordSecurityTokenpublic boolean isTokenUsedFlag()
CustomerForgotPasswordSecurityTokenisTokenUsedFlag in interface CustomerForgotPasswordSecurityTokenpublic void setTokenUsedFlag(boolean tokenUsedFlag)
CustomerForgotPasswordSecurityTokensetTokenUsedFlag in interface CustomerForgotPasswordSecurityTokenpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018. All Rights Reserved.