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