|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.openadmin.server.security.domain.ForgotPasswordSecurityTokenImpl
@Entity public class ForgotPasswordSecurityTokenImpl
Created by bpolster.
| Field Summary | |
|---|---|
protected Long |
adminUserId
|
protected Date |
createDate
|
protected String |
token
|
protected Date |
tokenUsedDate
|
protected boolean |
tokenUsedFlag
|
| Constructor Summary | |
|---|---|
ForgotPasswordSecurityTokenImpl()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String token
protected Date createDate
protected Date tokenUsedDate
protected Long adminUserId
protected boolean tokenUsedFlag
| Constructor Detail |
|---|
public ForgotPasswordSecurityTokenImpl()
| Method Detail |
|---|
public String getToken()
ForgotPasswordSecurityToken
getToken in interface ForgotPasswordSecurityTokenpublic void setToken(String token)
ForgotPasswordSecurityToken
setToken in interface ForgotPasswordSecurityTokenpublic Date getCreateDate()
ForgotPasswordSecurityToken
getCreateDate in interface ForgotPasswordSecurityTokenpublic void setCreateDate(Date createDate)
ForgotPasswordSecurityToken
setCreateDate in interface ForgotPasswordSecurityTokenpublic Date getTokenUsedDate()
ForgotPasswordSecurityToken
getTokenUsedDate in interface ForgotPasswordSecurityTokenpublic void setTokenUsedDate(Date tokenUsedDate)
ForgotPasswordSecurityToken
setTokenUsedDate in interface ForgotPasswordSecurityTokenpublic Long getAdminUserId()
ForgotPasswordSecurityToken
getAdminUserId in interface ForgotPasswordSecurityTokenpublic void setAdminUserId(Long adminUserId)
ForgotPasswordSecurityToken
setAdminUserId in interface ForgotPasswordSecurityTokenpublic boolean isTokenUsedFlag()
ForgotPasswordSecurityToken
isTokenUsedFlag in interface ForgotPasswordSecurityTokenpublic void setTokenUsedFlag(boolean tokenUsedFlag)
ForgotPasswordSecurityToken
setTokenUsedFlag in interface ForgotPasswordSecurityTokenpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||