Package org.compiere.util
Class WebUser
java.lang.Object
org.compiere.util.WebUser
Deprecated.
Web User Info.
Assumes that Email is a direct match.
UPDATE AD_User SET EMail=TRIM(EMail) WHERE Email<>TRIM(EMail)
- Version:
- $Id$
- Author:
- Jorg Janke
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic WebUser
get
(Properties ctx, int AD_User_ID) Deprecated.Get user unconditional (from cache)static WebUser
get
(Properties ctx, String email) Deprecated.Get user unconditional from cachestatic WebUser
get
(Properties ctx, String email, String password, boolean useCache) Deprecated.Get userstatic WebUser
get
(javax.servlet.http.HttpServletRequest request) Deprecated.Get from requestint
Deprecated.int
Deprecated.Deprecated.Get LocationDeprecated.Deprecated.Get BP Bank Account (or create it)getBankAccount
(boolean requery) Deprecated.Get BP Bank Account (or create it)Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.Get BP Location IDint
Deprecated.int
Deprecated.getCity()
Deprecated.Deprecated.Get Company Nameint
Deprecated.Deprecated.Deprecated.getEmail()
Deprecated.Get EMail address.Deprecated.Get EMail Verification CodegetFax()
Deprecated.int
Deprecated.getName()
Deprecated.Deprecated.Get PasswordDeprecated.Set Password MessagegetPhone()
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Get (additional) Region nameint
Deprecated.Deprecated.Get Save Error MessageDeprecated.Credit Status Clear Text.getTaxID()
Deprecated.getTitle()
Deprecated.boolean
hasBPAccess
(String BPAccessType, Object[] params) Deprecated.boolean
Deprecated.Credit Status is Critical.boolean
Deprecated.Credit Status is Stop or Hold.boolean
Deprecated.boolean
Deprecated.Return Email Validation.boolean
Deprecated.Return Email Verification (reply).boolean
Deprecated.boolean
Deprecated.Is User Logged inboolean
Deprecated.Is Password OKboolean
Deprecated.boolean
isValid()
Deprecated.Return Valid.boolean
isVendor()
Deprecated.boolean
Deprecated.Log in with passwordvoid
logout()
Deprecated.Log in with oasswordboolean
save()
Deprecated.Save BPartner Objectsvoid
setAddress
(String address) Deprecated.void
setAddress2
(String address2) Deprecated.void
setBirthday
(Timestamp birthday) Deprecated.void
setC_BP_Group_ID
(int C_BP_Group_ID) Deprecated.void
setC_BP_Group_ID
(String C_BP_Group_ID) Deprecated.void
setC_Country_ID
(int C_Country_ID) Deprecated.void
setC_Country_ID
(String C_Country_ID) Deprecated.void
setC_Region_ID
(int C_Region_ID) Deprecated.void
setC_Region_ID
(String C_Region_ID) Deprecated.void
Deprecated.void
setCompany
(String company) Deprecated.void
setCountryName
(String country) Deprecated.void
Deprecated.void
setEMailVerifyCode
(String code, String info) Deprecated.Check and Set EMail Validation Code.void
Deprecated.void
setIsCustomer
(boolean isCustomer) Deprecated.void
Deprecated.void
Deprecated.Check and Save Passwordvoid
setPassword
(String password) Deprecated.Set Passwordvoid
setPasswordMessage
(String passwordMessage) Deprecated.Set Password Messagevoid
Deprecated.void
Deprecated.void
Deprecated.void
setRegionName
(String region) Deprecated.void
Deprecated.Set Save Error Messagevoid
Deprecated.void
Deprecated.void
Deprecated.toString()
Deprecated.Info
-
Field Details
-
NAME
Deprecated.Attribute Name - also in JSPs- See Also:
-
-
Method Details
-
get
Deprecated.Get from request- Parameters:
request
- request- Returns:
- web user if exists
-
get
Deprecated.Get user unconditional from cache- Parameters:
ctx
- contextemail
- email- Returns:
- web user
-
get
Deprecated.Get user- Parameters:
ctx
- contextemail
- emailpassword
- optional passworduseCache
- use cache- Returns:
- web user
-
get
Deprecated.Get user unconditional (from cache)- Parameters:
ctx
- contextAD_User_ID
- BP Contact- Returns:
- web user
-
isValid
public boolean isValid()Deprecated.Return Valid.- Returns:
- return true if found
-
isEMailValid
public boolean isEMailValid()Deprecated.Return Email Validation.- Returns:
- return true if email is valid
-
isEMailVerified
public boolean isEMailVerified()Deprecated.Return Email Verification (reply).- Returns:
- return true if reply received
-
toString
Deprecated.Info -
save
public boolean save()Deprecated.Save BPartner Objects- Returns:
- true if saved
-
setSaveErrorMessage
Deprecated.Set Save Error Message- Parameters:
msg
- message
-
getSaveErrorMessage
Deprecated.Get Save Error Message- Returns:
- message
-
getEmail
Deprecated.Get EMail address. used as jsp parameter- Returns:
- email address of contact
-
setEmail
Deprecated. -
getName
Deprecated. -
setName
Deprecated. -
setValue
Deprecated. -
getTitle
Deprecated. -
setTitle
Deprecated. -
getPassword
Deprecated.Get Password- Returns:
- password
-
setPassword
public void setPassword()Deprecated.Check and Save Password -
setPassword
Deprecated.Set Password- Parameters:
password
- new password
-
isPasswordOK
public boolean isPasswordOK()Deprecated.Is Password OK- Returns:
- true if OK
-
getPasswordMessage
Deprecated.Set Password Message- Returns:
- error message or null
-
setPasswordMessage
Deprecated.Set Password Message- Parameters:
passwordMessage
- message
-
login
Deprecated.Log in with password- Parameters:
password
- password- Returns:
- true if the user is logged in
-
logout
public void logout()Deprecated.Log in with oassword -
isLoggedIn
public boolean isLoggedIn()Deprecated.Is User Logged in- Returns:
- is the user logged in
-
getPhone
Deprecated. -
setPhone
Deprecated. -
getPhone2
Deprecated. -
setPhone2
Deprecated. -
getFax
Deprecated. -
setFax
Deprecated. -
getBirthday
Deprecated. -
setBirthday
Deprecated. -
getTaxID
Deprecated. -
setTaxID
Deprecated. -
getAD_Client_ID
public int getAD_Client_ID()Deprecated. -
getAD_User_ID
public int getAD_User_ID()Deprecated. -
getContactID
public int getContactID()Deprecated. -
getCompany
Deprecated.Get Company Name- Returns:
- company name
-
setCompany
Deprecated. -
getC_BPartner_ID
public int getC_BPartner_ID()Deprecated. -
getBpartnerID
public int getBpartnerID()Deprecated. -
getM_PriceList_ID
public int getM_PriceList_ID()Deprecated. -
getC_BPartner_Location_ID
public int getC_BPartner_Location_ID()Deprecated.Get BP Location ID- Returns:
- BP Loaction
-
getAddress
Deprecated.Get Location- Returns:
- location address
-
setAddress
Deprecated. -
getAddress2
Deprecated. -
setAddress2
Deprecated. -
getCity
Deprecated. -
setCity
Deprecated. -
getPostal
Deprecated. -
setPostal
Deprecated. -
getRegionName
Deprecated.Get (additional) Region name- Returns:
- location region name
-
setRegionName
Deprecated. -
getC_Region_ID
public int getC_Region_ID()Deprecated. -
getRegionID
Deprecated. -
setC_Region_ID
public void setC_Region_ID(int C_Region_ID) Deprecated. -
setC_Region_ID
Deprecated. -
getCountryName
Deprecated. -
setCountryName
Deprecated. -
getC_Country_ID
public int getC_Country_ID()Deprecated. -
getCountryID
Deprecated. -
setC_Country_ID
public void setC_Country_ID(int C_Country_ID) Deprecated. -
setC_Country_ID
Deprecated. -
setC_BP_Group_ID
public void setC_BP_Group_ID(int C_BP_Group_ID) Deprecated. -
setC_BP_Group_ID
Deprecated. -
isEmployee
public boolean isEmployee()Deprecated. -
isSalesRep
public boolean isSalesRep()Deprecated. -
isCustomer
public boolean isCustomer()Deprecated. -
setIsCustomer
public void setIsCustomer(boolean isCustomer) Deprecated. -
isVendor
public boolean isVendor()Deprecated. -
getSalesRep_ID
public int getSalesRep_ID()Deprecated. -
hasBPAccess
Deprecated. -
isCreditStopHold
public boolean isCreditStopHold()Deprecated.Credit Status is Stop or Hold. Used in Asset download- Returns:
- true if Stop/Hold
-
isCreditCritical
public boolean isCreditCritical()Deprecated.Credit Status is Critical. Used in Web UI- Returns:
- true if Stop/Hold/Watch
-
getSOCreditStatus
Deprecated.Credit Status Clear Text. Used in Web UI- Returns:
- Clear Text Credit Status
-
getBankAccount
Deprecated.Get BP Bank Account (or create it)- Returns:
- Bank Account
-
getBankAccount
Deprecated.Get BP Bank Account (or create it)- Parameters:
requery
- Requery data- Returns:
- Bank Account
-
getEMailVerifyCode
Deprecated.Get EMail Verification Code- Returns:
- verification code
-
setEMailVerifyCode
Deprecated.Check and Set EMail Validation Code.- Parameters:
code
- codeinfo
- info
-