Class Customer
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.customer.Customer
-
- All Implemented Interfaces:
Serializable
public class Customer extends Object implements Serializable
This 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(String strName, String strValue)Adds an attributeStringgetAccountLogin()Returns the AccountLogin.StringgetAttribute(String strName)Gives the attribute with the specified nameCollection<String>getAttributeNames()Gives all the attribute namesStringgetBirthDate()Returns the birthDate.StringgetConnectionId()Returns the connection Id.StringgetCustomerId()Returns the Customer Id.StringgetEmail()Returns the Email.StringgetExtrasAttributes()Returns the ExtrasAttributes.StringgetFamilyname()Returns the Familyname.StringgetFirstname()Returns the Firstname.StringgetFixedPhoneNumber()Gets the fixe phone.booleangetHasAccount()Returns the HasAccount.StringgetId()Returns the Id.intgetIdTitle()Returns the IdTitle.booleangetIsEmailVerified()Returns the IsEmailVerified.booleangetIsMobilePhoneVerified()Returns the IsMobilePhoneVerified.StringgetLastname()Returns the Lastname.StringgetMobilePhone()Returns the MobilePhone.voidsetAccountLogin(String strAccountLogin)Sets the AccountLogin.voidsetBirthDate(String strBirthDate)Sets the birthDate.voidsetConnectionId(String strConnectionId)Sets the connection id.voidsetCustomerId(String strCustomerId)Sets the Customer id.voidsetEmail(String strEmail)Sets the Email.voidsetExtrasAttributes(String strExtrasAttributes)Sets the ExtrasAttributes.voidsetFamilyname(String strFamilyname)Sets the Familyname.voidsetFirstname(String strFirstname)Sets the Firstname.voidsetFixedPhoneNumber(String strFixedPhoneNumber)Sets the fixe phone.voidsetHasAccount(boolean bHasAccount)Sets the HasAccount.voidsetId(String strId)Sets the Id.voidsetIdTitle(int nIdTitle)Sets the IdTitle.voidsetIsEmailVerified(boolean bIsEmailVerified)Sets the IsEmailVerified.voidsetIsMobilePhoneVerified(boolean bIsMobilePhoneVerified)Sets the IsMobilePhoneVerified.voidsetLastname(String strLastname)Sets the Lastname.voidsetMobilePhone(String strMobilePhone)Sets the MobilePhone.
-
-
-
Method Detail
-
getId
public String getId()
Returns the Id.- Returns:
- The Id
-
setId
public void setId(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 String getFirstname()
Returns the Firstname.- Returns:
- The Firstname
-
setFirstname
public void setFirstname(String strFirstname)
Sets the Firstname.- Parameters:
strFirstname- The Firstname
-
getLastname
public String getLastname()
Returns the Lastname.- Returns:
- The Lastname
-
setLastname
public void setLastname(String strLastname)
Sets the Lastname.- Parameters:
strLastname- The Lastname
-
getFamilyname
public String getFamilyname()
Returns the Familyname.- Returns:
- The Familyname
-
setFamilyname
public void setFamilyname(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 String getAccountLogin()
Returns the AccountLogin.- Returns:
- The AccountLogin
-
setAccountLogin
public void setAccountLogin(String strAccountLogin)
Sets the AccountLogin.- Parameters:
strAccountLogin- The AccountLogin
-
getConnectionId
public String getConnectionId()
Returns the connection Id.- Returns:
- The connection Id
-
setConnectionId
public void setConnectionId(String strConnectionId)
Sets the connection id.- Parameters:
strConnectionId- The Connection Id
-
getCustomerId
public String getCustomerId()
Returns the Customer Id.- Returns:
- The Customer Id
-
setCustomerId
public void setCustomerId(String strCustomerId)
Sets the Customer id.- Parameters:
strCustomerId- The Customer Id
-
getEmail
public String getEmail()
Returns the Email.- Returns:
- The Email
-
setEmail
public void setEmail(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 String getMobilePhone()
Returns the MobilePhone.- Returns:
- The MobilePhone
-
setMobilePhone
public void setMobilePhone(String strMobilePhone)
Sets the MobilePhone.- Parameters:
strMobilePhone- The MobilePhone
-
getFixedPhoneNumber
public String getFixedPhoneNumber()
Gets the fixe phone.- Returns:
- the fixe phone
-
setFixedPhoneNumber
public void setFixedPhoneNumber(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 String getExtrasAttributes()
Returns the ExtrasAttributes.- Returns:
- The ExtrasAttributes
-
setExtrasAttributes
public void setExtrasAttributes(String strExtrasAttributes)
Sets the ExtrasAttributes.- Parameters:
strExtrasAttributes- The ExtrasAttributes
-
getBirthDate
public String getBirthDate()
Returns the birthDate.- Returns:
- The birthDate
-
setBirthDate
public void setBirthDate(String strBirthDate)
Sets the birthDate.- Parameters:
strBirthDate- The birthDate
-
addAttributes
public void addAttributes(String strName, String strValue)
Adds an attribute- Parameters:
strName- the attribute namestrValue- the attribute value
-
getAttribute
public String getAttribute(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 Collection<String> getAttributeNames()
Gives all the attribute names- Returns:
- the attributes names
-
-