Class Customer
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.customer.Customer
-
- All Implemented Interfaces:
java.io.Serializable
public class Customer extends java.lang.Object implements java.io.SerializableThis is the business class for the object Customer.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Customer()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttributes(java.lang.String strName, java.lang.String strValue)Adds an attributejava.lang.StringgetAccountLogin()Returns the AccountLogin.java.lang.StringgetAttribute(java.lang.String strName)Gives the attribute with the specified namejava.util.Collection<java.lang.String>getAttributeNames()Gives all the attribute namesjava.lang.StringgetBirthDate()Returns the birthDate.java.lang.StringgetConnectionId()Returns the connection Id.java.lang.StringgetCustomerId()Returns the Customer Id.java.lang.StringgetEmail()Returns the Email.java.lang.StringgetExtrasAttributes()Returns the ExtrasAttributes.java.lang.StringgetFamilyname()Returns the Familyname.java.lang.StringgetFirstname()Returns the Firstname.java.lang.StringgetFixedPhoneNumber()Gets the fixe phone.booleangetHasAccount()Returns the HasAccount.java.lang.StringgetId()Returns the Id.intgetIdTitle()Returns the IdTitle.booleangetIsEmailVerified()Returns the IsEmailVerified.booleangetIsMobilePhoneVerified()Returns the IsMobilePhoneVerified.java.lang.StringgetLastname()Returns the Lastname.java.lang.StringgetMobilePhone()Returns the MobilePhone.voidsetAccountLogin(java.lang.String strAccountLogin)Sets the AccountLogin.voidsetBirthDate(java.lang.String strBirthDate)Sets the birthDate.voidsetConnectionId(java.lang.String strConnectionId)Sets the connection id.voidsetCustomerId(java.lang.String strCustomerId)Sets the Customer id.voidsetEmail(java.lang.String strEmail)Sets the Email.voidsetExtrasAttributes(java.lang.String strExtrasAttributes)Sets the ExtrasAttributes.voidsetFamilyname(java.lang.String strFamilyname)Sets the Familyname.voidsetFirstname(java.lang.String strFirstname)Sets the Firstname.voidsetFixedPhoneNumber(java.lang.String strFixedPhoneNumber)Sets the fixe phone.voidsetHasAccount(boolean bHasAccount)Sets the HasAccount.voidsetId(java.lang.String strId)Sets the Id.voidsetIdTitle(int nIdTitle)Sets the IdTitle.voidsetIsEmailVerified(boolean bIsEmailVerified)Sets the IsEmailVerified.voidsetIsMobilePhoneVerified(boolean bIsMobilePhoneVerified)Sets the IsMobilePhoneVerified.voidsetLastname(java.lang.String strLastname)Sets the Lastname.voidsetMobilePhone(java.lang.String strMobilePhone)Sets the MobilePhone.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the Id.- Returns:
- The Id
-
setId
public void setId(java.lang.String strId)
Sets the Id.- Parameters:
strId- The Id
-
getIdTitle
public int getIdTitle()
Returns the IdTitle.- Returns:
- The IdTitle
-
setIdTitle
public void setIdTitle(int nIdTitle)
Sets the IdTitle.- Parameters:
nIdTitle- The IdTitle
-
getFirstname
public java.lang.String getFirstname()
Returns the Firstname.- Returns:
- The Firstname
-
setFirstname
public void setFirstname(java.lang.String strFirstname)
Sets the Firstname.- Parameters:
strFirstname- The Firstname
-
getLastname
public java.lang.String getLastname()
Returns the Lastname.- Returns:
- The Lastname
-
setLastname
public void setLastname(java.lang.String strLastname)
Sets the Lastname.- Parameters:
strLastname- The Lastname
-
getFamilyname
public java.lang.String getFamilyname()
Returns the Familyname.- Returns:
- The Familyname
-
setFamilyname
public void setFamilyname(java.lang.String strFamilyname)
Sets the Familyname.- Parameters:
strFamilyname- The Familyname
-
getHasAccount
public boolean getHasAccount()
Returns the HasAccount.- Returns:
- The HasAccount
-
setHasAccount
public void setHasAccount(boolean bHasAccount)
Sets the HasAccount.- Parameters:
bHasAccount- The HasAccount
-
getAccountLogin
public java.lang.String getAccountLogin()
Returns the AccountLogin.- Returns:
- The AccountLogin
-
setAccountLogin
public void setAccountLogin(java.lang.String strAccountLogin)
Sets the AccountLogin.- Parameters:
strAccountLogin- The AccountLogin
-
getConnectionId
public java.lang.String getConnectionId()
Returns the connection Id.- Returns:
- The connection Id
-
setConnectionId
public void setConnectionId(java.lang.String strConnectionId)
Sets the connection id.- Parameters:
strConnectionId- The Connection Id
-
getCustomerId
public java.lang.String getCustomerId()
Returns the Customer Id.- Returns:
- The Customer Id
-
setCustomerId
public void setCustomerId(java.lang.String strCustomerId)
Sets the Customer id.- Parameters:
strCustomerId- The Customer Id
-
getEmail
public java.lang.String getEmail()
Returns the Email.- Returns:
- The Email
-
setEmail
public void setEmail(java.lang.String strEmail)
Sets the Email.- Parameters:
strEmail- The Email
-
getIsEmailVerified
public boolean getIsEmailVerified()
Returns the IsEmailVerified.- Returns:
- The IsEmailVerified
-
setIsEmailVerified
public void setIsEmailVerified(boolean bIsEmailVerified)
Sets the IsEmailVerified.- Parameters:
bIsEmailVerified- The IsEmailVerified
-
getMobilePhone
public java.lang.String getMobilePhone()
Returns the MobilePhone.- Returns:
- The MobilePhone
-
setMobilePhone
public void setMobilePhone(java.lang.String strMobilePhone)
Sets the MobilePhone.- Parameters:
strMobilePhone- The MobilePhone
-
getFixedPhoneNumber
public java.lang.String getFixedPhoneNumber()
Gets the fixe phone.- Returns:
- the fixe phone
-
setFixedPhoneNumber
public void setFixedPhoneNumber(java.lang.String strFixedPhoneNumber)
Sets the fixe phone.- Parameters:
strFixedPhoneNumber- the new fixe phone
-
getIsMobilePhoneVerified
public boolean getIsMobilePhoneVerified()
Returns the IsMobilePhoneVerified.- Returns:
- The IsMobilePhoneVerified
-
setIsMobilePhoneVerified
public void setIsMobilePhoneVerified(boolean bIsMobilePhoneVerified)
Sets the IsMobilePhoneVerified.- Parameters:
bIsMobilePhoneVerified- The IsMobilePhoneVerified
-
getExtrasAttributes
public java.lang.String getExtrasAttributes()
Returns the ExtrasAttributes.- Returns:
- The ExtrasAttributes
-
setExtrasAttributes
public void setExtrasAttributes(java.lang.String strExtrasAttributes)
Sets the ExtrasAttributes.- Parameters:
strExtrasAttributes- The ExtrasAttributes
-
getBirthDate
public java.lang.String getBirthDate()
Returns the birthDate.- Returns:
- The birthDate
-
setBirthDate
public void setBirthDate(java.lang.String strBirthDate)
Sets the birthDate.- Parameters:
strBirthDate- The birthDate
-
addAttributes
public void addAttributes(java.lang.String strName, java.lang.String strValue)Adds an attribute- Parameters:
strName- the attribute namestrValue- the attribute value
-
getAttribute
public java.lang.String getAttribute(java.lang.String strName)
Gives the attribute with the specified name- Parameters:
strName- the attribute name- Returns:
- the attribute or
nullif the attribute does not exist
-
getAttributeNames
public java.util.Collection<java.lang.String> getAttributeNames()
Gives all the attribute names- Returns:
- the attributes names
-
-