Class CustomerForgotPasswordSecurityTokenImpl
java.lang.Object
org.broadleafcommerce.profile.core.domain.CustomerForgotPasswordSecurityTokenImpl
- All Implemented Interfaces:
Serializable,CustomerForgotPasswordSecurityToken
@Entity
public class CustomerForgotPasswordSecurityTokenImpl
extends Object
implements CustomerForgotPasswordSecurityToken
Created by bpolster.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDate the token was createdId associated with this forgot password token.getToken()Returns the security token.Date the token was used to reset the password.inthashCode()booleanReturns true if the token has already been used.voidsetCreateDate(Date createDate) Set the generation date for the token.voidsetCustomerId(Long customerId) Id associated with this forgot password token.voidSets the security token.voidsetTokenUsedDate(Date tokenUsedDate) Set the date the token was used to reset the password.voidsetTokenUsedFlag(boolean tokenUsedFlag) Sets the token used flag.
-
Field Details
-
token
-
createDate
-
tokenUsedDate
-
customerId
-
tokenUsedFlag
protected boolean tokenUsedFlag
-
-
Constructor Details
-
CustomerForgotPasswordSecurityTokenImpl
public CustomerForgotPasswordSecurityTokenImpl()
-
-
Method Details
-
getToken
Description copied from interface:CustomerForgotPasswordSecurityTokenReturns the security token.- Specified by:
getTokenin interfaceCustomerForgotPasswordSecurityToken- Returns:
-
setToken
Description copied from interface:CustomerForgotPasswordSecurityTokenSets the security token.- Specified by:
setTokenin interfaceCustomerForgotPasswordSecurityToken
-
getCreateDate
Description copied from interface:CustomerForgotPasswordSecurityTokenDate the token was created- Specified by:
getCreateDatein interfaceCustomerForgotPasswordSecurityToken- Returns:
-
setCreateDate
Description copied from interface:CustomerForgotPasswordSecurityTokenSet the generation date for the token.- Specified by:
setCreateDatein interfaceCustomerForgotPasswordSecurityToken
-
getTokenUsedDate
Description copied from interface:CustomerForgotPasswordSecurityTokenDate the token was used to reset the password.- Specified by:
getTokenUsedDatein interfaceCustomerForgotPasswordSecurityToken- Returns:
-
setTokenUsedDate
Description copied from interface:CustomerForgotPasswordSecurityTokenSet the date the token was used to reset the password.- Specified by:
setTokenUsedDatein interfaceCustomerForgotPasswordSecurityToken
-
getCustomerId
Description copied from interface:CustomerForgotPasswordSecurityTokenId associated with this forgot password token.- Specified by:
getCustomerIdin interfaceCustomerForgotPasswordSecurityToken- Returns:
-
setCustomerId
Description copied from interface:CustomerForgotPasswordSecurityTokenId associated with this forgot password token.- Specified by:
setCustomerIdin interfaceCustomerForgotPasswordSecurityToken
-
isTokenUsedFlag
public boolean isTokenUsedFlag()Description copied from interface:CustomerForgotPasswordSecurityTokenReturns true if the token has already been used.- Specified by:
isTokenUsedFlagin interfaceCustomerForgotPasswordSecurityToken
-
setTokenUsedFlag
public void setTokenUsedFlag(boolean tokenUsedFlag) Description copied from interface:CustomerForgotPasswordSecurityTokenSets the token used flag.- Specified by:
setTokenUsedFlagin interfaceCustomerForgotPasswordSecurityToken
-
equals
-
hashCode
public int hashCode()
-