Class CustomerBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.customer.CustomerBean
- All Implemented Interfaces:
BusinessObject,Customer,Serializable
Object representing a customer within the system.
CustomerBean
is the default implementation of the Customer interface for
the application.
The database stores customers in the sscCustomer table, and
this interface can be used to represent a single row of that table. The
Hibernate configuration file CustomerBean.hbm.xml maps that
table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate booleanprivate Stringprivate Stringprivate Stringprivate Stringprivate Collectionprivate intprivate Collectionprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate String(package private) static org.apache.commons.logging.Logprivate Stringprivate Integerprivate Collectionprivate Collectionprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate static final longprivate Stringprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCity()intgetNotes()getState()voidsetAddress1(String address1) voidsetAddress2(String address2) voidsetAutoLoginToken(String autoLoginToken) voidsetBillingAddress1(String billingAddress1) voidsetBillingAddress2(String billingAddress2) voidsetBillingCity(String billingCity) voidsetBillingCountry(String billingCountry) voidsetBillingEmail1(String billingEmail1) voidsetBillingEmail2(String billingEmail2) voidsetBillingExtra1(String billingExtra1) voidsetBillingExtra2(String billingExtra2) voidsetBillingExtra3(String billingExtra3) voidsetBillingExtra4(String billingExtra4) voidsetBillingExtra5(String billingExtra5) voidsetBillingFirstName(String billingFirstName) voidsetBillingLastName(String billingLastName) voidsetBillingNotes(String billingNotes) voidsetBillingOrganization(String billingOrganization) voidsetBillingPhone1(String billingPhone1) voidsetBillingPhone2(String billingPhone2) voidsetBillingPostalCode(String billingPostalCode) voidsetBillingState(String billingState) voidsetCanUsePO(boolean canUsePO) voidsetCimProfileID(String cimProfileID) voidvoidsetCountry(String country) voidsetCreated(String created) voidsetCustomerAddressCollection(Collection customerAddressCollection) voidsetCustomerID(int customerID) voidsetCustomerWishLists(Collection customerWishLists) voidsetDecryptedPassword(String decryptedPassword) voidvoidvoidvoidvoidvoidvoidvoidsetFirstName(String firstName) voidsetFormattedCreated(String formattedCreated) voidsetFormattedLastLogin(String formattedLastLogin) voidsetLastLogin(String lastLogin) voidsetLastName(String lastName) voidsetLockedOutUntil(String lockedOutUntil) voidvoidsetNumberOfFailedLogins(Integer numberOfFailedLogins) voidsetOrderHistory(Collection orderHistory) voidsetOrders(Collection orders) voidsetOrganization(String organization) voidsetPassword(String password) voidsetPasswordExpires(String passwordExpires) voidsetPasswordToken(String passwordToken) voidsetPasswordTokenDate(String passwordTokenDate) voidvoidvoidsetPostalCode(String postalCode) voidsetPreviousPasswords(String previousPasswords) voidvoidvoidsetUserName(String userName) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
customerID
private int customerID -
userName
-
decryptedPassword
-
password
-
created
-
lastLogin
-
formattedCreated
-
formattedLastLogin
-
status
-
firstName
-
lastName
-
organization
-
address1
-
address2
-
city
-
state
-
country
-
postalCode
-
phone1
-
phone2
-
email1
-
email2
-
extra1
-
extra2
-
extra3
-
extra4
-
extra5
-
notes
-
autoLoginToken
-
customerAddressCollection
-
orderHistory
-
orders
-
customerWishLists
-
cimProfileID
-
canUsePO
private boolean canUsePO -
passwordToken
-
passwordTokenDate
-
passwordExpires
-
numberOfFailedLogins
-
lockedOutUntil
-
previousPasswords
-
-
Constructor Details
-
CustomerBean
public CustomerBean()
-
-
Method Details
-
getCustomerID
public int getCustomerID()- Specified by:
getCustomerIDin interfaceCustomer
-
setCustomerID
public void setCustomerID(int customerID) - Specified by:
setCustomerIDin interfaceCustomer
-
getUserName
- Specified by:
getUserNamein interfaceCustomer
-
setUserName
- Specified by:
setUserNamein interfaceCustomer
-
getDecryptedPassword
- Specified by:
getDecryptedPasswordin interfaceCustomer
-
setDecryptedPassword
- Specified by:
setDecryptedPasswordin interfaceCustomer
-
getPassword
- Specified by:
getPasswordin interfaceCustomer
-
setPassword
- Specified by:
setPasswordin interfaceCustomer
-
getCreated
- Specified by:
getCreatedin interfaceCustomer
-
setCreated
- Specified by:
setCreatedin interfaceCustomer
-
getLastLogin
- Specified by:
getLastLoginin interfaceCustomer
-
setLastLogin
- Specified by:
setLastLoginin interfaceCustomer
-
getFormattedCreated
- Specified by:
getFormattedCreatedin interfaceCustomer
-
setFormattedCreated
- Specified by:
setFormattedCreatedin interfaceCustomer
-
getFormattedLastLogin
- Specified by:
getFormattedLastLoginin interfaceCustomer
-
setFormattedLastLogin
- Specified by:
setFormattedLastLoginin interfaceCustomer
-
getStatus
-
setStatus
-
getFirstName
- Specified by:
getFirstNamein interfaceCustomer
-
setFirstName
- Specified by:
setFirstNamein interfaceCustomer
-
getLastName
- Specified by:
getLastNamein interfaceCustomer
-
setLastName
- Specified by:
setLastNamein interfaceCustomer
-
getOrganization
- Specified by:
getOrganizationin interfaceCustomer
-
setOrganization
- Specified by:
setOrganizationin interfaceCustomer
-
getAddress1
- Specified by:
getAddress1in interfaceCustomer
-
setAddress1
- Specified by:
setAddress1in interfaceCustomer
-
getAddress2
- Specified by:
getAddress2in interfaceCustomer
-
setAddress2
- Specified by:
setAddress2in interfaceCustomer
-
getCity
-
setCity
-
getState
-
setState
-
getCountry
- Specified by:
getCountryin interfaceCustomer
-
setCountry
- Specified by:
setCountryin interfaceCustomer
-
getPostalCode
- Specified by:
getPostalCodein interfaceCustomer
-
setPostalCode
- Specified by:
setPostalCodein interfaceCustomer
-
getPhone1
-
setPhone1
-
getPhone2
-
setPhone2
-
getEmail1
-
setEmail1
-
getEmail2
-
setEmail2
-
getExtra1
-
setExtra1
-
getExtra2
-
setExtra2
-
getExtra3
-
setExtra3
-
getExtra4
-
setExtra4
-
getExtra5
-
setExtra5
-
getNotes
-
setNotes
-
getAutoLoginToken
- Specified by:
getAutoLoginTokenin interfaceCustomer
-
setAutoLoginToken
- Specified by:
setAutoLoginTokenin interfaceCustomer
-
getCustomerAddressCollection
- Specified by:
getCustomerAddressCollectionin interfaceCustomer
-
setCustomerAddressCollection
- Specified by:
setCustomerAddressCollectionin interfaceCustomer
-
getBillingFirstName
- Specified by:
getBillingFirstNamein interfaceCustomer
-
setBillingFirstName
- Specified by:
setBillingFirstNamein interfaceCustomer
-
getBillingLastName
- Specified by:
getBillingLastNamein interfaceCustomer
-
setBillingLastName
- Specified by:
setBillingLastNamein interfaceCustomer
-
getBillingOrganization
- Specified by:
getBillingOrganizationin interfaceCustomer
-
setBillingOrganization
- Specified by:
setBillingOrganizationin interfaceCustomer
-
getBillingAddress1
- Specified by:
getBillingAddress1in interfaceCustomer
-
setBillingAddress1
- Specified by:
setBillingAddress1in interfaceCustomer
-
getBillingAddress2
- Specified by:
getBillingAddress2in interfaceCustomer
-
setBillingAddress2
- Specified by:
setBillingAddress2in interfaceCustomer
-
getBillingCity
- Specified by:
getBillingCityin interfaceCustomer
-
setBillingCity
- Specified by:
setBillingCityin interfaceCustomer
-
getBillingState
- Specified by:
getBillingStatein interfaceCustomer
-
setBillingState
- Specified by:
setBillingStatein interfaceCustomer
-
getBillingCountry
- Specified by:
getBillingCountryin interfaceCustomer
-
setBillingCountry
- Specified by:
setBillingCountryin interfaceCustomer
-
getBillingPostalCode
- Specified by:
getBillingPostalCodein interfaceCustomer
-
setBillingPostalCode
- Specified by:
setBillingPostalCodein interfaceCustomer
-
getBillingPhone1
- Specified by:
getBillingPhone1in interfaceCustomer
-
setBillingPhone1
- Specified by:
setBillingPhone1in interfaceCustomer
-
getBillingPhone2
- Specified by:
getBillingPhone2in interfaceCustomer
-
setBillingPhone2
- Specified by:
setBillingPhone2in interfaceCustomer
-
getBillingEmail1
- Specified by:
getBillingEmail1in interfaceCustomer
-
setBillingEmail1
- Specified by:
setBillingEmail1in interfaceCustomer
-
getBillingEmail2
- Specified by:
getBillingEmail2in interfaceCustomer
-
setBillingEmail2
- Specified by:
setBillingEmail2in interfaceCustomer
-
getBillingExtra1
- Specified by:
getBillingExtra1in interfaceCustomer
-
setBillingExtra1
- Specified by:
setBillingExtra1in interfaceCustomer
-
getBillingExtra2
- Specified by:
getBillingExtra2in interfaceCustomer
-
setBillingExtra2
- Specified by:
setBillingExtra2in interfaceCustomer
-
getBillingExtra3
- Specified by:
getBillingExtra3in interfaceCustomer
-
setBillingExtra3
- Specified by:
setBillingExtra3in interfaceCustomer
-
getBillingExtra4
- Specified by:
getBillingExtra4in interfaceCustomer
-
setBillingExtra4
- Specified by:
setBillingExtra4in interfaceCustomer
-
getBillingExtra5
- Specified by:
getBillingExtra5in interfaceCustomer
-
setBillingExtra5
- Specified by:
setBillingExtra5in interfaceCustomer
-
getBillingNotes
- Specified by:
getBillingNotesin interfaceCustomer
-
setBillingNotes
- Specified by:
setBillingNotesin interfaceCustomer
-
getFirstAddress
- Specified by:
getFirstAddressin interfaceCustomer
-
setOrderHistory
- Specified by:
setOrderHistoryin interfaceCustomer
-
getOrderHistory
- Specified by:
getOrderHistoryin interfaceCustomer
-
getOrders
-
setOrders
-
getCustomerWishLists
- Specified by:
getCustomerWishListsin interfaceCustomer
-
setCustomerWishLists
- Specified by:
setCustomerWishListsin interfaceCustomer
-
getCimProfileID
- Specified by:
getCimProfileIDin interfaceCustomer
-
setCimProfileID
- Specified by:
setCimProfileIDin interfaceCustomer
-
getCanUsePO
public boolean getCanUsePO()- Specified by:
getCanUsePOin interfaceCustomer
-
setCanUsePO
public void setCanUsePO(boolean canUsePO) - Specified by:
setCanUsePOin interfaceCustomer
-
getPasswordToken
- Specified by:
getPasswordTokenin interfaceCustomer
-
setPasswordToken
- Specified by:
setPasswordTokenin interfaceCustomer
-
getPasswordTokenDate
- Specified by:
getPasswordTokenDatein interfaceCustomer
-
setPasswordTokenDate
- Specified by:
setPasswordTokenDatein interfaceCustomer
-
getPasswordExpires
- Specified by:
getPasswordExpiresin interfaceCustomer
-
setPasswordExpires
- Specified by:
setPasswordExpiresin interfaceCustomer
-
getNumberOfFailedLogins
- Specified by:
getNumberOfFailedLoginsin interfaceCustomer
-
setNumberOfFailedLogins
- Specified by:
setNumberOfFailedLoginsin interfaceCustomer
-
getLockedOutUntil
- Specified by:
getLockedOutUntilin interfaceCustomer
-
setLockedOutUntil
- Specified by:
setLockedOutUntilin interfaceCustomer
-
getPreviousPasswords
- Specified by:
getPreviousPasswordsin interfaceCustomer
-
setPreviousPasswords
- Specified by:
setPreviousPasswordsin interfaceCustomer
-