org.broadleafcommerce.profile.core.domain
Interface Customer

All Superinterfaces:
Serializable
All Known Implementing Classes:
CustomerImpl

public interface Customer
extends Serializable


Method Summary
 Auditable getAuditable()
           
 String getChallengeAnswer()
           
 ChallengeQuestion getChallengeQuestion()
           
 CustomerAttribute getCustomerAttributeByName(String name)
          Looks at all CustomerAttributes for this product and returns the attribute that matches the given name
 List<CustomerAttribute> getCustomerAttributes()
           
 Locale getCustomerLocale()
           
 String getEmailAddress()
           
 String getFirstName()
           
 Long getId()
           
 String getLastName()
           
 String getPassword()
           
 String getUnencodedChallengeAnswer()
           
 String getUnencodedPassword()
           
 String getUsername()
           
 boolean isAnonymous()
           
 boolean isCookied()
           
 boolean isDeactivated()
          Returns true if this user has been deactivated.
 boolean isLoggedIn()
           
 boolean isPasswordChangeRequired()
           
 boolean isReceiveEmail()
           
 boolean isRegistered()
           
 void setAnonymous(boolean anonymous)
           
 void setAuditable(Auditable auditable)
           
 void setChallengeAnswer(String challengeAnswer)
           
 void setChallengeQuestion(ChallengeQuestion challengeQuestion)
           
 void setCookied(boolean cookied)
           
 void setCustomerAttributes(List<CustomerAttribute> customerAttributes)
           
 void setCustomerLocale(Locale customerLocale)
           
 void setDeactivated(boolean deactivated)
          Sets the users deactivated status.
 void setEmailAddress(String emailAddress)
           
 void setFirstName(String firstName)
           
 void setId(Long id)
           
 void setLastName(String lastName)
           
 void setLoggedIn(boolean loggedIn)
           
 void setPassword(String password)
           
 void setPasswordChangeRequired(boolean passwordChangeRequired)
           
 void setReceiveEmail(boolean receiveEmail)
           
 void setRegistered(boolean registered)
           
 void setUnencodedChallengeAnswer(String unencodedChallengeAnswer)
           
 void setUnencodedPassword(String unencodedPassword)
           
 void setUsername(String username)
           
 

Method Detail

getId

Long getId()

setId

void setId(Long id)

getUsername

String getUsername()

setUsername

void setUsername(String username)

getPassword

String getPassword()

setPassword

void setPassword(String password)

isPasswordChangeRequired

boolean isPasswordChangeRequired()

setPasswordChangeRequired

void setPasswordChangeRequired(boolean passwordChangeRequired)

getFirstName

String getFirstName()

setFirstName

void setFirstName(String firstName)

getLastName

String getLastName()

setLastName

void setLastName(String lastName)

getEmailAddress

String getEmailAddress()

setEmailAddress

void setEmailAddress(String emailAddress)

getChallengeQuestion

ChallengeQuestion getChallengeQuestion()

setChallengeQuestion

void setChallengeQuestion(ChallengeQuestion challengeQuestion)

getChallengeAnswer

String getChallengeAnswer()

setChallengeAnswer

void setChallengeAnswer(String challengeAnswer)

getUnencodedPassword

String getUnencodedPassword()

setUnencodedPassword

void setUnencodedPassword(String unencodedPassword)

isReceiveEmail

boolean isReceiveEmail()

setReceiveEmail

void setReceiveEmail(boolean receiveEmail)

isRegistered

boolean isRegistered()

setRegistered

void setRegistered(boolean registered)

getUnencodedChallengeAnswer

String getUnencodedChallengeAnswer()

setUnencodedChallengeAnswer

void setUnencodedChallengeAnswer(String unencodedChallengeAnswer)

getAuditable

Auditable getAuditable()

setAuditable

void setAuditable(Auditable auditable)

setCookied

void setCookied(boolean cookied)

isCookied

boolean isCookied()

setLoggedIn

void setLoggedIn(boolean loggedIn)

isLoggedIn

boolean isLoggedIn()

setAnonymous

void setAnonymous(boolean anonymous)

isAnonymous

boolean isAnonymous()

getCustomerLocale

Locale getCustomerLocale()

setCustomerLocale

void setCustomerLocale(Locale customerLocale)

getCustomerAttributes

List<CustomerAttribute> getCustomerAttributes()

getCustomerAttributeByName

CustomerAttribute getCustomerAttributeByName(String name)
Looks at all CustomerAttributes for this product and returns the attribute that matches the given name

Parameters:
name - the name of the attribute
Returns:
the matching CustomerAttribute (null if no match)

setCustomerAttributes

void setCustomerAttributes(List<CustomerAttribute> customerAttributes)

isDeactivated

boolean isDeactivated()
Returns true if this user has been deactivated. Most implementations will not allow the user to login if they are deactivated.

Returns:

setDeactivated

void setDeactivated(boolean deactivated)
Sets the users deactivated status.

Parameters:
deactivated -


Copyright © 2013. All Rights Reserved.