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
Modifier and TypeFieldDescriptionprivate String
private String
private String
private boolean
private String
private String
private String
private String
private Collection
private int
private Collection
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private Integer
private Collection
private Collection
private String
private String
private String
private String
private String
private String
private String
private String
private String
private static final long
private String
private String
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCity()
int
getNotes()
getState()
void
setAddress1
(String address1) void
setAddress2
(String address2) void
setAutoLoginToken
(String autoLoginToken) void
setBillingAddress1
(String billingAddress1) void
setBillingAddress2
(String billingAddress2) void
setBillingCity
(String billingCity) void
setBillingCountry
(String billingCountry) void
setBillingEmail1
(String billingEmail1) void
setBillingEmail2
(String billingEmail2) void
setBillingExtra1
(String billingExtra1) void
setBillingExtra2
(String billingExtra2) void
setBillingExtra3
(String billingExtra3) void
setBillingExtra4
(String billingExtra4) void
setBillingExtra5
(String billingExtra5) void
setBillingFirstName
(String billingFirstName) void
setBillingLastName
(String billingLastName) void
setBillingNotes
(String billingNotes) void
setBillingOrganization
(String billingOrganization) void
setBillingPhone1
(String billingPhone1) void
setBillingPhone2
(String billingPhone2) void
setBillingPostalCode
(String billingPostalCode) void
setBillingState
(String billingState) void
setCanUsePO
(boolean canUsePO) void
setCimProfileID
(String cimProfileID) void
void
setCountry
(String country) void
setCreated
(String created) void
setCustomerAddressCollection
(Collection customerAddressCollection) void
setCustomerID
(int customerID) void
setCustomerWishLists
(Collection customerWishLists) void
setDecryptedPassword
(String decryptedPassword) void
void
void
void
void
void
void
void
setFirstName
(String firstName) void
setFormattedCreated
(String formattedCreated) void
setFormattedLastLogin
(String formattedLastLogin) void
setLastLogin
(String lastLogin) void
setLastName
(String lastName) void
setLockedOutUntil
(String lockedOutUntil) void
void
setNumberOfFailedLogins
(Integer numberOfFailedLogins) void
setOrderHistory
(Collection orderHistory) void
setOrders
(Collection orders) void
setOrganization
(String organization) void
setPassword
(String password) void
setPasswordExpires
(String passwordExpires) void
setPasswordToken
(String passwordToken) void
setPasswordTokenDate
(String passwordTokenDate) void
void
void
setPostalCode
(String postalCode) void
setPreviousPasswords
(String previousPasswords) void
void
void
setUserName
(String userName) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getCustomerID
in interfaceCustomer
-
setCustomerID
public void setCustomerID(int customerID) - Specified by:
setCustomerID
in interfaceCustomer
-
getUserName
- Specified by:
getUserName
in interfaceCustomer
-
setUserName
- Specified by:
setUserName
in interfaceCustomer
-
getDecryptedPassword
- Specified by:
getDecryptedPassword
in interfaceCustomer
-
setDecryptedPassword
- Specified by:
setDecryptedPassword
in interfaceCustomer
-
getPassword
- Specified by:
getPassword
in interfaceCustomer
-
setPassword
- Specified by:
setPassword
in interfaceCustomer
-
getCreated
- Specified by:
getCreated
in interfaceCustomer
-
setCreated
- Specified by:
setCreated
in interfaceCustomer
-
getLastLogin
- Specified by:
getLastLogin
in interfaceCustomer
-
setLastLogin
- Specified by:
setLastLogin
in interfaceCustomer
-
getFormattedCreated
- Specified by:
getFormattedCreated
in interfaceCustomer
-
setFormattedCreated
- Specified by:
setFormattedCreated
in interfaceCustomer
-
getFormattedLastLogin
- Specified by:
getFormattedLastLogin
in interfaceCustomer
-
setFormattedLastLogin
- Specified by:
setFormattedLastLogin
in interfaceCustomer
-
getStatus
-
setStatus
-
getFirstName
- Specified by:
getFirstName
in interfaceCustomer
-
setFirstName
- Specified by:
setFirstName
in interfaceCustomer
-
getLastName
- Specified by:
getLastName
in interfaceCustomer
-
setLastName
- Specified by:
setLastName
in interfaceCustomer
-
getOrganization
- Specified by:
getOrganization
in interfaceCustomer
-
setOrganization
- Specified by:
setOrganization
in interfaceCustomer
-
getAddress1
- Specified by:
getAddress1
in interfaceCustomer
-
setAddress1
- Specified by:
setAddress1
in interfaceCustomer
-
getAddress2
- Specified by:
getAddress2
in interfaceCustomer
-
setAddress2
- Specified by:
setAddress2
in interfaceCustomer
-
getCity
-
setCity
-
getState
-
setState
-
getCountry
- Specified by:
getCountry
in interfaceCustomer
-
setCountry
- Specified by:
setCountry
in interfaceCustomer
-
getPostalCode
- Specified by:
getPostalCode
in interfaceCustomer
-
setPostalCode
- Specified by:
setPostalCode
in interfaceCustomer
-
getPhone1
-
setPhone1
-
getPhone2
-
setPhone2
-
getEmail1
-
setEmail1
-
getEmail2
-
setEmail2
-
getExtra1
-
setExtra1
-
getExtra2
-
setExtra2
-
getExtra3
-
setExtra3
-
getExtra4
-
setExtra4
-
getExtra5
-
setExtra5
-
getNotes
-
setNotes
-
getAutoLoginToken
- Specified by:
getAutoLoginToken
in interfaceCustomer
-
setAutoLoginToken
- Specified by:
setAutoLoginToken
in interfaceCustomer
-
getCustomerAddressCollection
- Specified by:
getCustomerAddressCollection
in interfaceCustomer
-
setCustomerAddressCollection
- Specified by:
setCustomerAddressCollection
in interfaceCustomer
-
getBillingFirstName
- Specified by:
getBillingFirstName
in interfaceCustomer
-
setBillingFirstName
- Specified by:
setBillingFirstName
in interfaceCustomer
-
getBillingLastName
- Specified by:
getBillingLastName
in interfaceCustomer
-
setBillingLastName
- Specified by:
setBillingLastName
in interfaceCustomer
-
getBillingOrganization
- Specified by:
getBillingOrganization
in interfaceCustomer
-
setBillingOrganization
- Specified by:
setBillingOrganization
in interfaceCustomer
-
getBillingAddress1
- Specified by:
getBillingAddress1
in interfaceCustomer
-
setBillingAddress1
- Specified by:
setBillingAddress1
in interfaceCustomer
-
getBillingAddress2
- Specified by:
getBillingAddress2
in interfaceCustomer
-
setBillingAddress2
- Specified by:
setBillingAddress2
in interfaceCustomer
-
getBillingCity
- Specified by:
getBillingCity
in interfaceCustomer
-
setBillingCity
- Specified by:
setBillingCity
in interfaceCustomer
-
getBillingState
- Specified by:
getBillingState
in interfaceCustomer
-
setBillingState
- Specified by:
setBillingState
in interfaceCustomer
-
getBillingCountry
- Specified by:
getBillingCountry
in interfaceCustomer
-
setBillingCountry
- Specified by:
setBillingCountry
in interfaceCustomer
-
getBillingPostalCode
- Specified by:
getBillingPostalCode
in interfaceCustomer
-
setBillingPostalCode
- Specified by:
setBillingPostalCode
in interfaceCustomer
-
getBillingPhone1
- Specified by:
getBillingPhone1
in interfaceCustomer
-
setBillingPhone1
- Specified by:
setBillingPhone1
in interfaceCustomer
-
getBillingPhone2
- Specified by:
getBillingPhone2
in interfaceCustomer
-
setBillingPhone2
- Specified by:
setBillingPhone2
in interfaceCustomer
-
getBillingEmail1
- Specified by:
getBillingEmail1
in interfaceCustomer
-
setBillingEmail1
- Specified by:
setBillingEmail1
in interfaceCustomer
-
getBillingEmail2
- Specified by:
getBillingEmail2
in interfaceCustomer
-
setBillingEmail2
- Specified by:
setBillingEmail2
in interfaceCustomer
-
getBillingExtra1
- Specified by:
getBillingExtra1
in interfaceCustomer
-
setBillingExtra1
- Specified by:
setBillingExtra1
in interfaceCustomer
-
getBillingExtra2
- Specified by:
getBillingExtra2
in interfaceCustomer
-
setBillingExtra2
- Specified by:
setBillingExtra2
in interfaceCustomer
-
getBillingExtra3
- Specified by:
getBillingExtra3
in interfaceCustomer
-
setBillingExtra3
- Specified by:
setBillingExtra3
in interfaceCustomer
-
getBillingExtra4
- Specified by:
getBillingExtra4
in interfaceCustomer
-
setBillingExtra4
- Specified by:
setBillingExtra4
in interfaceCustomer
-
getBillingExtra5
- Specified by:
getBillingExtra5
in interfaceCustomer
-
setBillingExtra5
- Specified by:
setBillingExtra5
in interfaceCustomer
-
getBillingNotes
- Specified by:
getBillingNotes
in interfaceCustomer
-
setBillingNotes
- Specified by:
setBillingNotes
in interfaceCustomer
-
getFirstAddress
- Specified by:
getFirstAddress
in interfaceCustomer
-
setOrderHistory
- Specified by:
setOrderHistory
in interfaceCustomer
-
getOrderHistory
- Specified by:
getOrderHistory
in interfaceCustomer
-
getOrders
-
setOrders
-
getCustomerWishLists
- Specified by:
getCustomerWishLists
in interfaceCustomer
-
setCustomerWishLists
- Specified by:
setCustomerWishLists
in interfaceCustomer
-
getCimProfileID
- Specified by:
getCimProfileID
in interfaceCustomer
-
setCimProfileID
- Specified by:
setCimProfileID
in interfaceCustomer
-
getCanUsePO
public boolean getCanUsePO()- Specified by:
getCanUsePO
in interfaceCustomer
-
setCanUsePO
public void setCanUsePO(boolean canUsePO) - Specified by:
setCanUsePO
in interfaceCustomer
-
getPasswordToken
- Specified by:
getPasswordToken
in interfaceCustomer
-
setPasswordToken
- Specified by:
setPasswordToken
in interfaceCustomer
-
getPasswordTokenDate
- Specified by:
getPasswordTokenDate
in interfaceCustomer
-
setPasswordTokenDate
- Specified by:
setPasswordTokenDate
in interfaceCustomer
-
getPasswordExpires
- Specified by:
getPasswordExpires
in interfaceCustomer
-
setPasswordExpires
- Specified by:
setPasswordExpires
in interfaceCustomer
-
getNumberOfFailedLogins
- Specified by:
getNumberOfFailedLogins
in interfaceCustomer
-
setNumberOfFailedLogins
- Specified by:
setNumberOfFailedLogins
in interfaceCustomer
-
getLockedOutUntil
- Specified by:
getLockedOutUntil
in interfaceCustomer
-
setLockedOutUntil
- Specified by:
setLockedOutUntil
in interfaceCustomer
-
getPreviousPasswords
- Specified by:
getPreviousPasswords
in interfaceCustomer
-
setPreviousPasswords
- Specified by:
setPreviousPasswords
in interfaceCustomer
-