com.konakartadmin.app
Class AdminCustomerRegistration

java.lang.Object
  extended by com.konakartadmin.app.AdminCustomerRegistration

public class AdminCustomerRegistration
extends java.lang.Object

Customer Registration for the Admin App


Field Summary
private  java.lang.String addrEmail
          addr email address field
private  java.lang.String addressCustom1
          custom field
private  java.lang.String addressCustom2
          custom field
private  java.lang.String addressCustom3
          custom field
private  java.lang.String addressCustom4
          custom field
private  java.lang.String addressCustom5
          custom field
private  java.lang.String addrTelephone
          addr telephone number field
private  java.lang.String addrTelephone1
          addr telephone number 1 field
private  java.util.Date birthDate
          birthDate
private  java.lang.String city
          city
private  java.lang.String company
          company
private  int countryId
          countryId
private  java.lang.String customerCustom1
          custom field
private  java.lang.String customerCustom2
          custom field
private  java.lang.String customerCustom3
          custom field
private  java.lang.String customerCustom4
          custom field
private  java.lang.String customerCustom5
          custom field
private  boolean dontEncryptPassword
          Don't encrypt password.
private  java.lang.String emailAddr
          emailAddr
private  int enabled
          enabled.
private  java.lang.String faxNumber
          faxNumber
private  java.lang.String firstName
          firstName
private  java.lang.String gender
          gender
private  int groupId
          GroupId of customer
private  boolean invisible
          Customer visibility
private  java.lang.String lastName
          lastName
private  java.lang.String locale
          Locale of the customer
private  java.lang.String newsletter
          newsletter
private  java.lang.String password
          password
private  java.lang.String postcode
          postcode
private  AdminProductNotification[] prodNotifications
          prodNotifications - usually null for normal Customer Registrations but can contain an array of product notifications for customers being imported.
private  int productNotifications
          Deprecated. 
private  java.lang.String state
          state
private  java.lang.String streetAddress
          streetAddress
private  java.lang.String streetAddress1
          streetAddress1
private  java.lang.String suburb
          suburb
private  java.lang.String telephoneNumber
          telephoneNumber
private  java.lang.String telephoneNumber1
          telephoneNumber1
private  int type
          type of customer: CustomerMgr.CUST_TYPE_REGISTERED_CUST CustomerMgr.CUST_TYPE_ADMIN_USER CustomerMgr.CUST_TYPE_NON_REGISTERED_CUST CustomerMgr.CUST_TYPE_DEFAULT_CUST
 
Constructor Summary
AdminCustomerRegistration()
          Constructor
 
Method Summary
 java.lang.String getAddrEmail()
           
 java.lang.String getAddressCustom1()
           
 java.lang.String getAddressCustom2()
           
 java.lang.String getAddressCustom3()
           
 java.lang.String getAddressCustom4()
           
 java.lang.String getAddressCustom5()
           
 java.lang.String getAddrTelephone()
           
 java.lang.String getAddrTelephone1()
           
 java.util.Date getBirthDate()
           
 java.lang.String getCity()
           
 java.lang.String getCompany()
           
 int getCountryId()
           
 java.lang.String getCustomerCustom1()
           
 java.lang.String getCustomerCustom2()
           
 java.lang.String getCustomerCustom3()
           
 java.lang.String getCustomerCustom4()
           
 java.lang.String getCustomerCustom5()
           
 java.lang.String getEmailAddr()
           
 int getEnabled()
           
 java.lang.String getFaxNumber()
           
 java.lang.String getFirstName()
           
 java.lang.String getGender()
           
 int getGroupId()
           
 java.lang.String getLastName()
           
 java.lang.String getLocale()
          Locale of the customer
 java.lang.String getNewsletter()
           
 java.lang.String getPassword()
           
 java.lang.String getPostcode()
           
 AdminProductNotification[] getProdNotifications()
           
 int getProductNotifications()
          Deprecated. 
 java.lang.String getState()
           
 java.lang.String getStreetAddress()
           
 java.lang.String getStreetAddress1()
           
 java.lang.String getSuburb()
           
 java.lang.String getTelephoneNumber()
           
 java.lang.String getTelephoneNumber1()
           
 int getType()
          type of customer: CustomerMgr.CUST_TYPE_REGISTERED_CUST CustomerMgr.CUST_TYPE_ADMIN_USER CustomerMgr.CUST_TYPE_NON_REGISTERED_CUST CustomerMgr.CUST_TYPE_DEFAULT_CUST
 boolean isDontEncryptPassword()
           
 boolean isInvisible()
           
 void setAddrEmail(java.lang.String addrEmail)
           
 void setAddressCustom1(java.lang.String addressCustom1)
           
 void setAddressCustom2(java.lang.String addressCustom2)
           
 void setAddressCustom3(java.lang.String addressCustom3)
           
 void setAddressCustom4(java.lang.String addressCustom4)
           
 void setAddressCustom5(java.lang.String addressCustom5)
           
 void setAddrTelephone(java.lang.String addrTelephone)
           
 void setAddrTelephone1(java.lang.String addrTelephone1)
           
 void setBirthDate(java.util.Date birthDate)
           
 void setCity(java.lang.String city)
           
 void setCompany(java.lang.String company)
           
 void setCountryId(int countryId)
           
 void setCustomerCustom1(java.lang.String customerCustom1)
           
 void setCustomerCustom2(java.lang.String customerCustom2)
           
 void setCustomerCustom3(java.lang.String customerCustom3)
           
 void setCustomerCustom4(java.lang.String customerCustom4)
           
 void setCustomerCustom5(java.lang.String customerCustom5)
           
 void setDontEncryptPassword(boolean dontEncryptPassword)
           
 void setEmailAddr(java.lang.String emailAddr)
           
 void setEnabled(int enabled)
           
 void setFaxNumber(java.lang.String faxNumber)
           
 void setFirstName(java.lang.String firstName)
           
 void setGender(java.lang.String gender)
           
 void setGroupId(int groupId)
           
 void setInvisible(boolean invisible)
           
 void setLastName(java.lang.String lastName)
           
 void setLocale(java.lang.String locale)
          Locale of the customer
 void setNewsletter(java.lang.String newsletter)
           
 void setPassword(java.lang.String password)
           
 void setPostcode(java.lang.String postcode)
           
 void setProdNotifications(AdminProductNotification[] prodNotifications)
           
 void setProductNotifications(int productNotifications)
          Deprecated. 
 void setState(java.lang.String state)
           
 void setStreetAddress(java.lang.String streetAddress)
           
 void setStreetAddress1(java.lang.String streetAddress1)
           
 void setSuburb(java.lang.String suburb)
           
 void setTelephoneNumber(java.lang.String telephoneNumber)
           
 void setTelephoneNumber1(java.lang.String telephoneNumber1)
           
 void setType(int type)
          type of customer: CustomerMgr.CUST_TYPE_REGISTERED_CUST CustomerMgr.CUST_TYPE_ADMIN_USER CustomerMgr.CUST_TYPE_NON_REGISTERED_CUST CustomerMgr.CUST_TYPE_DEFAULT_CUST
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gender

private java.lang.String gender
gender


firstName

private java.lang.String firstName
firstName


lastName

private java.lang.String lastName
lastName


birthDate

private java.util.Date birthDate
birthDate


emailAddr

private java.lang.String emailAddr
emailAddr


telephoneNumber

private java.lang.String telephoneNumber
telephoneNumber


telephoneNumber1

private java.lang.String telephoneNumber1
telephoneNumber1


faxNumber

private java.lang.String faxNumber
faxNumber


password

private java.lang.String password
password


dontEncryptPassword

private boolean dontEncryptPassword
Don't encrypt password. If this is set to false (the default) the password is encrypted before storing. If this is set to true, the password is inserted without encrypting it (often useful when importing existing customers).


newsletter

private java.lang.String newsletter
newsletter


productNotifications

@Deprecated
private int productNotifications
Deprecated. 
productNotifications - not used


prodNotifications

private AdminProductNotification[] prodNotifications
prodNotifications - usually null for normal Customer Registrations but can contain an array of product notifications for customers being imported.


company

private java.lang.String company
company


streetAddress

private java.lang.String streetAddress
streetAddress


streetAddress1

private java.lang.String streetAddress1
streetAddress1


suburb

private java.lang.String suburb
suburb


postcode

private java.lang.String postcode
postcode


city

private java.lang.String city
city


state

private java.lang.String state
state


countryId

private int countryId
countryId


customerCustom1

private java.lang.String customerCustom1
custom field


customerCustom2

private java.lang.String customerCustom2
custom field


customerCustom3

private java.lang.String customerCustom3
custom field


customerCustom4

private java.lang.String customerCustom4
custom field


customerCustom5

private java.lang.String customerCustom5
custom field


addrEmail

private java.lang.String addrEmail
addr email address field


addrTelephone

private java.lang.String addrTelephone
addr telephone number field


addrTelephone1

private java.lang.String addrTelephone1
addr telephone number 1 field


addressCustom1

private java.lang.String addressCustom1
custom field


addressCustom2

private java.lang.String addressCustom2
custom field


addressCustom3

private java.lang.String addressCustom3
custom field


addressCustom4

private java.lang.String addressCustom4
custom field


addressCustom5

private java.lang.String addressCustom5
custom field


locale

private java.lang.String locale
Locale of the customer


type

private int type
type of customer:


invisible

private boolean invisible
Customer visibility


enabled

private int enabled
enabled. 0 == disabled, greater than 0 = enabled


groupId

private int groupId
GroupId of customer

Constructor Detail

AdminCustomerRegistration

public AdminCustomerRegistration()
Constructor

Method Detail

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing selected attributes of the CustomerRegistration object.

getCity

public java.lang.String getCity()
Returns:
Returns the city.

setCity

public void setCity(java.lang.String city)
Parameters:
city - The city to set.

getCompany

public java.lang.String getCompany()
Returns:
Returns the company.

setCompany

public void setCompany(java.lang.String company)
Parameters:
company - The company to set.

getCountryId

public int getCountryId()
Returns:
Returns the countryId.

setCountryId

public void setCountryId(int countryId)
Parameters:
countryId - The countryId to set.

getEmailAddr

public java.lang.String getEmailAddr()
Returns:
Returns the emailAddr.

setEmailAddr

public void setEmailAddr(java.lang.String emailAddr)
Parameters:
emailAddr - The emailAddr to set.

getFaxNumber

public java.lang.String getFaxNumber()
Returns:
Returns the faxNumber.

setFaxNumber

public void setFaxNumber(java.lang.String faxNumber)
Parameters:
faxNumber - The faxNumber to set.

getFirstName

public java.lang.String getFirstName()
Returns:
Returns the firstName.

setFirstName

public void setFirstName(java.lang.String firstName)
Parameters:
firstName - The firstName to set.

getGender

public java.lang.String getGender()
Returns:
Returns the gender.

setGender

public void setGender(java.lang.String gender)
Parameters:
gender - The gender to set.

getLastName

public java.lang.String getLastName()
Returns:
Returns the lastName.

setLastName

public void setLastName(java.lang.String lastName)
Parameters:
lastName - The lastName to set.

getNewsletter

public java.lang.String getNewsletter()
Returns:
Returns the newsletter.

setNewsletter

public void setNewsletter(java.lang.String newsletter)
Parameters:
newsletter - The newsletter to set.

getPassword

public java.lang.String getPassword()
Returns:
Returns the password.

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - The password to set.

getPostcode

public java.lang.String getPostcode()
Returns:
Returns the postcode.

setPostcode

public void setPostcode(java.lang.String postcode)
Parameters:
postcode - The postcode to set.

getProductNotifications

@Deprecated
public int getProductNotifications()
Deprecated. 

Returns:
Returns the productNotifications.

setProductNotifications

@Deprecated
public void setProductNotifications(int productNotifications)
Deprecated. 

Parameters:
productNotifications - The productNotifications to set.

getState

public java.lang.String getState()
Returns:
Returns the state.

setState

public void setState(java.lang.String state)
Parameters:
state - The state to set.

getStreetAddress

public java.lang.String getStreetAddress()
Returns:
Returns the streetAddress.

setStreetAddress

public void setStreetAddress(java.lang.String streetAddress)
Parameters:
streetAddress - The streetAddress to set.

getSuburb

public java.lang.String getSuburb()
Returns:
Returns the suburb.

setSuburb

public void setSuburb(java.lang.String suburb)
Parameters:
suburb - The suburb to set.

getTelephoneNumber

public java.lang.String getTelephoneNumber()
Returns:
Returns the telephoneNumber.

setTelephoneNumber

public void setTelephoneNumber(java.lang.String telephoneNumber)
Parameters:
telephoneNumber - The telephoneNumber to set.

getBirthDate

public java.util.Date getBirthDate()
Returns:
Returns the birthDate.

setBirthDate

public void setBirthDate(java.util.Date birthDate)
Parameters:
birthDate - The birthDate to set.

getAddressCustom1

public java.lang.String getAddressCustom1()
Returns:
Returns the addressCustom1.

setAddressCustom1

public void setAddressCustom1(java.lang.String addressCustom1)
Parameters:
addressCustom1 - The addressCustom1 to set.

getAddressCustom2

public java.lang.String getAddressCustom2()
Returns:
Returns the addressCustom2.

setAddressCustom2

public void setAddressCustom2(java.lang.String addressCustom2)
Parameters:
addressCustom2 - The addressCustom2 to set.

getAddressCustom3

public java.lang.String getAddressCustom3()
Returns:
Returns the addressCustom3.

setAddressCustom3

public void setAddressCustom3(java.lang.String addressCustom3)
Parameters:
addressCustom3 - The addressCustom3 to set.

getAddressCustom4

public java.lang.String getAddressCustom4()
Returns:
Returns the addressCustom4.

setAddressCustom4

public void setAddressCustom4(java.lang.String addressCustom4)
Parameters:
addressCustom4 - The addressCustom4 to set.

getAddressCustom5

public java.lang.String getAddressCustom5()
Returns:
Returns the addressCustom5.

setAddressCustom5

public void setAddressCustom5(java.lang.String addressCustom5)
Parameters:
addressCustom5 - The addressCustom5 to set.

getCustomerCustom1

public java.lang.String getCustomerCustom1()
Returns:
Returns the customerCustom1.

setCustomerCustom1

public void setCustomerCustom1(java.lang.String customerCustom1)
Parameters:
customerCustom1 - The customerCustom1 to set.

getCustomerCustom2

public java.lang.String getCustomerCustom2()
Returns:
Returns the customerCustom2.

setCustomerCustom2

public void setCustomerCustom2(java.lang.String customerCustom2)
Parameters:
customerCustom2 - The customerCustom2 to set.

getCustomerCustom3

public java.lang.String getCustomerCustom3()
Returns:
Returns the customerCustom3.

setCustomerCustom3

public void setCustomerCustom3(java.lang.String customerCustom3)
Parameters:
customerCustom3 - The customerCustom3 to set.

getCustomerCustom4

public java.lang.String getCustomerCustom4()
Returns:
Returns the customerCustom4.

setCustomerCustom4

public void setCustomerCustom4(java.lang.String customerCustom4)
Parameters:
customerCustom4 - The customerCustom4 to set.

getCustomerCustom5

public java.lang.String getCustomerCustom5()
Returns:
Returns the customerCustom5.

setCustomerCustom5

public void setCustomerCustom5(java.lang.String customerCustom5)
Parameters:
customerCustom5 - The customerCustom5 to set.

getEnabled

public int getEnabled()
Returns:
Returns the enabled.

setEnabled

public void setEnabled(int enabled)
Parameters:
enabled - The enabled to set.

getType

public int getType()
type of customer:

Returns:
Returns the type.

setType

public void setType(int type)
type of customer:

Parameters:
type - The type to set.

getGroupId

public int getGroupId()
Returns:
Returns the groupId.

setGroupId

public void setGroupId(int groupId)
Parameters:
groupId - The groupId to set.

isDontEncryptPassword

public boolean isDontEncryptPassword()
Returns:
the dontEncryptPassword

setDontEncryptPassword

public void setDontEncryptPassword(boolean dontEncryptPassword)
Parameters:
dontEncryptPassword - the dontEncryptPassword to set

getProdNotifications

public AdminProductNotification[] getProdNotifications()
Returns:
the prodNotifications

setProdNotifications

public void setProdNotifications(AdminProductNotification[] prodNotifications)
Parameters:
prodNotifications - the prodNotifications to set

getLocale

public java.lang.String getLocale()
Locale of the customer

Returns:
the locale

setLocale

public void setLocale(java.lang.String locale)
Locale of the customer

Parameters:
locale - the locale to set

getTelephoneNumber1

public java.lang.String getTelephoneNumber1()
Returns:
the telephoneNumber1

setTelephoneNumber1

public void setTelephoneNumber1(java.lang.String telephoneNumber1)
Parameters:
telephoneNumber1 - the telephoneNumber1 to set

getAddrEmail

public java.lang.String getAddrEmail()
Returns:
the addrEmail

setAddrEmail

public void setAddrEmail(java.lang.String addrEmail)
Parameters:
addrEmail - the addrEmail to set

getAddrTelephone

public java.lang.String getAddrTelephone()
Returns:
the addrTelephone

setAddrTelephone

public void setAddrTelephone(java.lang.String addrTelephone)
Parameters:
addrTelephone - the addrTelephone to set

getAddrTelephone1

public java.lang.String getAddrTelephone1()
Returns:
the addrTelephone1

setAddrTelephone1

public void setAddrTelephone1(java.lang.String addrTelephone1)
Parameters:
addrTelephone1 - the addrTelephone1 to set

getStreetAddress1

public java.lang.String getStreetAddress1()
Returns:
the streetAddress1

setStreetAddress1

public void setStreetAddress1(java.lang.String streetAddress1)
Parameters:
streetAddress1 - the streetAddress1 to set

isInvisible

public boolean isInvisible()
Returns:
the invisible

setInvisible

public void setInvisible(boolean invisible)
Parameters:
invisible - the invisible to set


Copyright © 2011 DS Data Systems UK Ltd.