org.broadleafcommerce.profile.core.domain
Interface CustomerForgotPasswordSecurityToken

All Superinterfaces:
Serializable
All Known Implementing Classes:
CustomerForgotPasswordSecurityTokenImpl

public interface CustomerForgotPasswordSecurityToken
extends Serializable

Author:
bpolster

Method Summary
 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.
 boolean isTokenUsedFlag()
          Returns true if the token has already been used.
 void setCreateDate(Date date)
          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 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.


getCustomerId

Long getCustomerId()
Id associated with this forgot password token.

Returns:

setCustomerId

void setCustomerId(Long customerId)
Id associated with this forgot password token.


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.