Class Customer
java.lang.Object
fr.paris.lutece.plugins.grubusiness.business.customer.Customer
- All Implemented Interfaces:
Serializable
This is the business class for the object Customer.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributes(String strName, String strValue) Adds an attributeReturns the AccountLogin.getAttribute(String strName) Gives the attribute with the specified nameGives all the attribute namesReturns the birthDate.Returns the connection Id.Returns the Customer Id.getEmail()Returns the Email.Returns the ExtrasAttributes.Returns the Familyname.Returns the Firstname.Gets the fixe phone.booleanReturns the HasAccount.getId()Returns the Id.intReturns the IdTitle.booleanReturns the IsEmailVerified.booleanReturns the IsMobilePhoneVerified.Returns the Lastname.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.voidSets 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.voidSets 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.
-
Constructor Details
-
Customer
public Customer()Constructor
-
-
Method Details
-
getId
Returns the Id.- Returns:
- The Id
-
setId
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
Returns the Firstname.- Returns:
- The Firstname
-
setFirstname
Sets the Firstname.- Parameters:
strFirstname- The Firstname
-
getLastname
Returns the Lastname.- Returns:
- The Lastname
-
setLastname
Sets the Lastname.- Parameters:
strLastname- The Lastname
-
getFamilyname
Returns the Familyname.- Returns:
- The Familyname
-
setFamilyname
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
Returns the AccountLogin.- Returns:
- The AccountLogin
-
setAccountLogin
Sets the AccountLogin.- Parameters:
strAccountLogin- The AccountLogin
-
getConnectionId
Returns the connection Id.- Returns:
- The connection Id
-
setConnectionId
Sets the connection id.- Parameters:
strConnectionId- The Connection Id
-
getCustomerId
Returns the Customer Id.- Returns:
- The Customer Id
-
setCustomerId
Sets the Customer id.- Parameters:
strCustomerId- The Customer Id
-
getEmail
Returns the Email.- Returns:
- The Email
-
setEmail
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
Returns the MobilePhone.- Returns:
- The MobilePhone
-
setMobilePhone
Sets the MobilePhone.- Parameters:
strMobilePhone- The MobilePhone
-
getFixedPhoneNumber
Gets the fixe phone.- Returns:
- the fixe phone
-
setFixedPhoneNumber
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
Returns the ExtrasAttributes.- Returns:
- The ExtrasAttributes
-
setExtrasAttributes
Sets the ExtrasAttributes.- Parameters:
strExtrasAttributes- The ExtrasAttributes
-
getBirthDate
Returns the birthDate.- Returns:
- The birthDate
-
setBirthDate
Sets the birthDate.- Parameters:
strBirthDate- The birthDate
-
addAttributes
Adds an attribute- Parameters:
strName- the attribute namestrValue- the attribute value
-
getAttribute
Gives the attribute with the specified name- Parameters:
strName- the attribute name- Returns:
- the attribute or
nullif the attribute does not exist
-
getAttributeNames
Gives all the attribute names- Returns:
- the attributes names
-