org.broadleafcommerce.openadmin.server.security.domain
Interface ForgotPasswordSecurityToken

All Superinterfaces:
Serializable
All Known Implementing Classes:
ForgotPasswordSecurityTokenImpl

public interface ForgotPasswordSecurityToken
extends Serializable

Author:
bpolster

Method Summary
 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.
 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 date)
          Set the generation date for the token.
 void setToken(String token)
          Sets the security token.
 void setTokenUsedDate(Date date)
          Set the date the token was used to reset the password.
 void setTokenUsedFlag(boolean tokenUsed)
          Sets the token used flag.
 

Method Detail

getToken

String getToken()
Returns the security token.

Returns:

setToken

void setToken(String token)
Sets the security token.


getCreateDate

Date getCreateDate()
Date the token was created

Returns:

setCreateDate

void setCreateDate(Date date)
Set the generation date for the token.


getTokenUsedDate

Date getTokenUsedDate()
Date the token was used to reset the password.

Returns:

setTokenUsedDate

void setTokenUsedDate(Date date)
Set the date the token was used to reset the password.


getAdminUserId

Long getAdminUserId()
Return the userId that this token was created for.

Returns:

setAdminUserId

void setAdminUserId(Long adminUserId)
Store the userId that this token is associated with.


isTokenUsedFlag

boolean isTokenUsedFlag()
Returns true if the token has already been used.


setTokenUsedFlag

void setTokenUsedFlag(boolean tokenUsed)
Sets the token used flag.



Copyright © 2013. All Rights Reserved.