@Entity public class CustomerImpl extends Object implements Customer, AdminMainEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomerImpl.Presentation |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
anonymous |
protected Auditable |
auditable |
protected String |
challengeAnswer |
protected ChallengeQuestion |
challengeQuestion |
protected boolean |
cookied |
protected List<CustomerAddress> |
customerAddresses |
protected Map<String,CustomerAttribute> |
customerAttributes |
protected Locale |
customerLocale |
protected List<CustomerPayment> |
customerPayments |
protected List<CustomerPhone> |
customerPhones |
protected Boolean |
deactivated |
protected String |
emailAddress |
protected String |
firstName |
protected Long |
id |
protected String |
lastName |
protected boolean |
loggedIn |
protected String |
password |
protected Boolean |
passwordChangeRequired |
protected Boolean |
receiveEmail |
protected Boolean |
registered |
protected String |
taxExemptionCode |
protected String |
unencodedChallengeAnswer |
protected String |
unencodedPassword |
protected String |
username |
MAIN_ENTITY_NAME_PROPERTY| Constructor and Description |
|---|
CustomerImpl() |
protected Long id
protected Auditable auditable
protected String username
protected String password
protected String emailAddress
protected String firstName
protected String lastName
protected ChallengeQuestion challengeQuestion
protected String challengeAnswer
protected Boolean passwordChangeRequired
protected Boolean receiveEmail
protected Boolean registered
protected Boolean deactivated
protected Locale customerLocale
protected Map<String,CustomerAttribute> customerAttributes
protected List<CustomerAddress> customerAddresses
protected List<CustomerPhone> customerPhones
protected List<CustomerPayment> customerPayments
protected String taxExemptionCode
protected String unencodedPassword
protected String unencodedChallengeAnswer
protected boolean anonymous
protected boolean cookied
protected boolean loggedIn
public String getUsername()
getUsername in interface Customerpublic void setUsername(String username)
setUsername in interface Customerpublic String getPassword()
getPassword in interface Customerpublic void setPassword(String password)
setPassword in interface Customerpublic boolean isPasswordChangeRequired()
isPasswordChangeRequired in interface Customerpublic void setPasswordChangeRequired(boolean passwordChangeRequired)
setPasswordChangeRequired in interface Customerpublic String getFirstName()
getFirstName in interface Customerpublic void setFirstName(String firstName)
setFirstName in interface Customerpublic String getLastName()
getLastName in interface Customerpublic void setLastName(String lastName)
setLastName in interface Customerpublic String getEmailAddress()
getEmailAddress in interface Customerpublic void setEmailAddress(String emailAddress)
setEmailAddress in interface Customerpublic ChallengeQuestion getChallengeQuestion()
getChallengeQuestion in interface Customerpublic void setChallengeQuestion(ChallengeQuestion challengeQuestion)
setChallengeQuestion in interface Customerpublic String getChallengeAnswer()
getChallengeAnswer in interface Customerpublic void setChallengeAnswer(String challengeAnswer)
setChallengeAnswer in interface Customerpublic String getUnencodedPassword()
getUnencodedPassword in interface Customerpublic void setUnencodedPassword(String unencodedPassword)
setUnencodedPassword in interface Customerpublic boolean isReceiveEmail()
isReceiveEmail in interface Customerpublic void setReceiveEmail(boolean receiveEmail)
setReceiveEmail in interface Customerpublic boolean isRegistered()
isRegistered in interface Customerpublic void setRegistered(boolean registered)
setRegistered in interface Customerpublic String getUnencodedChallengeAnswer()
getUnencodedChallengeAnswer in interface Customerpublic void setUnencodedChallengeAnswer(String unencodedChallengeAnswer)
setUnencodedChallengeAnswer in interface Customerpublic Auditable getAuditable()
getAuditable in interface Customerpublic void setAuditable(Auditable auditable)
setAuditable in interface Customerpublic boolean isAnonymous()
isAnonymous in interface Customerpublic boolean isLoggedIn()
isLoggedIn in interface Customerpublic void setAnonymous(boolean anonymous)
setAnonymous in interface Customerpublic void setCookied(boolean cookied)
setCookied in interface Customerpublic void setLoggedIn(boolean loggedIn)
setLoggedIn in interface Customerpublic Locale getCustomerLocale()
getCustomerLocale in interface Customerpublic void setCustomerLocale(Locale customerLocale)
setCustomerLocale in interface Customerpublic Map<String,CustomerAttribute> getCustomerAttributes()
getCustomerAttributes in interface Customerpublic void setCustomerAttributes(Map<String,CustomerAttribute> customerAttributes)
setCustomerAttributes in interface Customerpublic boolean isDeactivated()
CustomerisDeactivated in interface Customerpublic void setDeactivated(boolean deactivated)
CustomersetDeactivated in interface Customerpublic List<CustomerAddress> getCustomerAddresses()
getCustomerAddresses in interface Customerpublic void setCustomerAddresses(List<CustomerAddress> customerAddresses)
setCustomerAddresses in interface Customerpublic List<CustomerPhone> getCustomerPhones()
getCustomerPhones in interface Customerpublic void setCustomerPhones(List<CustomerPhone> customerPhones)
setCustomerPhones in interface Customerpublic List<CustomerPayment> getCustomerPayments()
getCustomerPayments in interface Customerpublic void setCustomerPayments(List<CustomerPayment> customerPayments)
setCustomerPayments in interface Customerpublic String getMainEntityName()
getMainEntityName in interface AdminMainEntitypublic String getTaxExemptionCode()
getTaxExemptionCode in interface Customerpublic void setTaxExemptionCode(String exemption)
setTaxExemptionCode in interface CustomerCopyright © 2014. All rights reserved.