All Superinterfaces:
BusinessObject
All Known Implementing Classes:
CustomerBean

public interface Customer extends BusinessObject
Interface representing a customer within the system. A customer is a user that has established an account in the store with a user name and password. Users who are not customers may still be able to place orders. The "forceLogin" setting in the appComponents.properties fille table tells the system to accept orders only from users who are customers and have logged into their account.

When the application needs to create an instance that implements Customer, BusinessObjectFactory finds the name of the Java class to instantiate from the "customerImplementer" setting in the appComponents.properties file.

The default "customerImplementer" is CustomerBean.

Author:
David Tobey
  • Method Details

    • getCustomerID

      int getCustomerID()
    • setCustomerID

      void setCustomerID(int customerID)
    • getUserName

      String getUserName()
    • setUserName

      void setUserName(String userName)
    • getDecryptedPassword

      String getDecryptedPassword()
    • setDecryptedPassword

      void setDecryptedPassword(String decryptedPassword)
    • getPassword

      String getPassword()
    • setPassword

      void setPassword(String password)
    • getCreated

      String getCreated()
    • setCreated

      void setCreated(String created)
    • getLastLogin

      String getLastLogin()
    • setLastLogin

      void setLastLogin(String lastLogin)
    • getFormattedCreated

      String getFormattedCreated()
    • setFormattedCreated

      void setFormattedCreated(String formattedCreated)
    • getFormattedLastLogin

      String getFormattedLastLogin()
    • setFormattedLastLogin

      void setFormattedLastLogin(String formattedLastLogin)
    • getStatus

      String getStatus()
    • setStatus

      void setStatus(String status)
    • getFirstName

      String getFirstName()
    • setFirstName

      void setFirstName(String firstName)
    • getLastName

      String getLastName()
    • setLastName

      void setLastName(String lastName)
    • getOrganization

      String getOrganization()
    • setOrganization

      void setOrganization(String organization)
    • getAddress1

      String getAddress1()
    • setAddress1

      void setAddress1(String address1)
    • getAddress2

      String getAddress2()
    • setAddress2

      void setAddress2(String address2)
    • getCity

      String getCity()
    • setCity

      void setCity(String city)
    • getState

      String getState()
    • setState

      void setState(String state)
    • getCountry

      String getCountry()
    • setCountry

      void setCountry(String country)
    • getPostalCode

      String getPostalCode()
    • setPostalCode

      void setPostalCode(String postalCode)
    • getPhone1

      String getPhone1()
    • setPhone1

      void setPhone1(String phone1)
    • getPhone2

      String getPhone2()
    • setPhone2

      void setPhone2(String phone2)
    • getEmail1

      String getEmail1()
    • setEmail1

      void setEmail1(String email1)
    • getEmail2

      String getEmail2()
    • setEmail2

      void setEmail2(String email2)
    • getExtra1

      String getExtra1()
    • setExtra1

      void setExtra1(String extra1)
    • getExtra2

      String getExtra2()
    • setExtra2

      void setExtra2(String extra2)
    • getExtra3

      String getExtra3()
    • setExtra3

      void setExtra3(String extra3)
    • getExtra4

      String getExtra4()
    • setExtra4

      void setExtra4(String extra4)
    • getExtra5

      String getExtra5()
    • setExtra5

      void setExtra5(String extra5)
    • getNotes

      String getNotes()
    • setNotes

      void setNotes(String notes)
    • getAutoLoginToken

      String getAutoLoginToken()
    • setAutoLoginToken

      void setAutoLoginToken(String autoLoginToken)
    • getCustomerAddressCollection

      Collection getCustomerAddressCollection()
    • setCustomerAddressCollection

      void setCustomerAddressCollection(Collection customerAddressCollection)
    • getBillingFirstName

      String getBillingFirstName()
    • setBillingFirstName

      void setBillingFirstName(String billingFirstName)
    • getBillingLastName

      String getBillingLastName()
    • setBillingLastName

      void setBillingLastName(String billingLastName)
    • getBillingOrganization

      String getBillingOrganization()
    • setBillingOrganization

      void setBillingOrganization(String billingOrganization)
    • getBillingAddress1

      String getBillingAddress1()
    • setBillingAddress1

      void setBillingAddress1(String billingAddress1)
    • getBillingAddress2

      String getBillingAddress2()
    • setBillingAddress2

      void setBillingAddress2(String billingAddress2)
    • getBillingCity

      String getBillingCity()
    • setBillingCity

      void setBillingCity(String billingCity)
    • getBillingState

      String getBillingState()
    • setBillingState

      void setBillingState(String billingState)
    • getBillingCountry

      String getBillingCountry()
    • setBillingCountry

      void setBillingCountry(String billingCountry)
    • getBillingPostalCode

      String getBillingPostalCode()
    • setBillingPostalCode

      void setBillingPostalCode(String billingPostalCode)
    • getBillingPhone1

      String getBillingPhone1()
    • setBillingPhone1

      void setBillingPhone1(String billingPhone1)
    • getBillingPhone2

      String getBillingPhone2()
    • setBillingPhone2

      void setBillingPhone2(String billingPhone2)
    • getBillingEmail1

      String getBillingEmail1()
    • setBillingEmail1

      void setBillingEmail1(String billingEmail1)
    • getBillingEmail2

      String getBillingEmail2()
    • setBillingEmail2

      void setBillingEmail2(String billingEmail2)
    • getBillingExtra1

      String getBillingExtra1()
    • setBillingExtra1

      void setBillingExtra1(String billingExtra1)
    • getBillingExtra2

      String getBillingExtra2()
    • setBillingExtra2

      void setBillingExtra2(String billingExtra2)
    • getBillingExtra3

      String getBillingExtra3()
    • setBillingExtra3

      void setBillingExtra3(String billingExtra3)
    • getBillingExtra4

      String getBillingExtra4()
    • setBillingExtra4

      void setBillingExtra4(String billingExtra4)
    • getBillingExtra5

      String getBillingExtra5()
    • setBillingExtra5

      void setBillingExtra5(String billingExtra5)
    • getBillingNotes

      String getBillingNotes()
    • setBillingNotes

      void setBillingNotes(String billingNotes)
    • getFirstAddress

      CustomerAddress getFirstAddress()
    • getOrderHistory

      Collection getOrderHistory()
    • setOrderHistory

      void setOrderHistory(Collection orderHistory)
    • getOrders

      Collection getOrders()
    • setOrders

      void setOrders(Collection orders)
    • getCustomerWishLists

      Collection getCustomerWishLists()
    • setCustomerWishLists

      void setCustomerWishLists(Collection customerWishLists)
    • getCimProfileID

      String getCimProfileID()
    • setCimProfileID

      void setCimProfileID(String cimProfileID)
    • getPasswordToken

      String getPasswordToken()
    • setPasswordToken

      void setPasswordToken(String passwordToken)
    • getPasswordTokenDate

      String getPasswordTokenDate()
    • setPasswordTokenDate

      void setPasswordTokenDate(String passwordTokenDate)
    • getCanUsePO

      boolean getCanUsePO()
    • setCanUsePO

      void setCanUsePO(boolean canUsePO)
    • getPasswordExpires

      String getPasswordExpires()
    • setPasswordExpires

      void setPasswordExpires(String passwordExpires)
    • getNumberOfFailedLogins

      Integer getNumberOfFailedLogins()
    • setNumberOfFailedLogins

      void setNumberOfFailedLogins(Integer numberOfFailedLogins)
    • getLockedOutUntil

      String getLockedOutUntil()
    • setLockedOutUntil

      void setLockedOutUntil(String lockedOutUntil)
    • getPreviousPasswords

      String getPreviousPasswords()
    • setPreviousPasswords

      void setPreviousPasswords(String previousPasswords)