Package org.compiere.util
Class WebUser
java.lang.Object
org.compiere.util.WebUser
Deprecated, for removal: This API element is subject to removal in a future version.
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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic WebUserget(Properties ctx, int AD_User_ID) Deprecated, for removal: This API element is subject to removal in a future version.Get user unconditional (from cache)static WebUserget(Properties ctx, String email) Deprecated, for removal: This API element is subject to removal in a future version.Get user unconditional from cachestatic WebUserget(Properties ctx, String email, String password, boolean useCache) Deprecated, for removal: This API element is subject to removal in a future version.Get userstatic WebUserget(javax.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.Get from requestintDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get LocationDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get BP Bank Account (or create it)getBankAccount(boolean requery) Deprecated, for removal: This API element is subject to removal in a future version.Get BP Bank Account (or create it)Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.Get BP Location IDintDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.getCity()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get Company NameintDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getEmail()Deprecated, for removal: This API element is subject to removal in a future version.Get EMail address.Deprecated, for removal: This API element is subject to removal in a future version.Get EMail Verification CodegetFax()Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.getName()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get PasswordDeprecated, for removal: This API element is subject to removal in a future version.Set Password MessagegetPhone()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get (additional) Region nameintDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Get Save Error MessageDeprecated, for removal: This API element is subject to removal in a future version.Credit Status Clear Text.getTaxID()Deprecated, for removal: This API element is subject to removal in a future version.getTitle()Deprecated, for removal: This API element is subject to removal in a future version.booleanhasBPAccess(String BPAccessType, Object[] params) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Credit Status is Critical.booleanDeprecated, for removal: This API element is subject to removal in a future version.Credit Status is Stop or Hold.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Return Email Validation.booleanDeprecated, for removal: This API element is subject to removal in a future version.Return Email Verification (reply).booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Is User Logged inbooleanDeprecated, for removal: This API element is subject to removal in a future version.Is Password OKbooleanDeprecated, for removal: This API element is subject to removal in a future version.booleanisValid()Deprecated, for removal: This API element is subject to removal in a future version.Return Valid.booleanisVendor()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Log in with passwordvoidlogout()Deprecated, for removal: This API element is subject to removal in a future version.Log in with oasswordbooleansave()Deprecated, for removal: This API element is subject to removal in a future version.Save BPartner ObjectsvoidsetAddress(String address) Deprecated, for removal: This API element is subject to removal in a future version.voidsetAddress2(String address2) Deprecated, for removal: This API element is subject to removal in a future version.voidsetBirthday(Timestamp birthday) Deprecated, for removal: This API element is subject to removal in a future version.voidsetC_BP_Group_ID(int C_BP_Group_ID) Deprecated, for removal: This API element is subject to removal in a future version.voidsetC_BP_Group_ID(String C_BP_Group_ID) Deprecated, for removal: This API element is subject to removal in a future version.voidsetC_Country_ID(int C_Country_ID) Deprecated, for removal: This API element is subject to removal in a future version.voidsetC_Country_ID(String C_Country_ID) Deprecated, for removal: This API element is subject to removal in a future version.voidsetC_Region_ID(int C_Region_ID) Deprecated, for removal: This API element is subject to removal in a future version.voidsetC_Region_ID(String C_Region_ID) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetCompany(String company) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCountryName(String country) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetEMailVerifyCode(String code, String info) Deprecated, for removal: This API element is subject to removal in a future version.Check and Set EMail Validation Code.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetIsCustomer(boolean isCustomer) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Check and Save PasswordvoidsetPassword(String password) Deprecated, for removal: This API element is subject to removal in a future version.Set PasswordvoidsetPasswordMessage(String passwordMessage) Deprecated, for removal: This API element is subject to removal in a future version.Set Password MessagevoidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetRegionName(String region) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Set Save Error MessagevoidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.Info
-
Field Details
-
NAME
Deprecated, for removal: This API element is subject to removal in a future version.Attribute Name - also in JSPs- See Also:
-
-
Method Details
-
get
Deprecated, for removal: This API element is subject to removal in a future version.Get from request- Parameters:
request- request- Returns:
- web user if exists
-
get
Deprecated, for removal: This API element is subject to removal in a future version.Get user unconditional from cache- Parameters:
ctx- contextemail- email- Returns:
- web user
-
get
Deprecated, for removal: This API element is subject to removal in a future version.Get user- Parameters:
ctx- contextemail- emailpassword- optional passworduseCache- use cache- Returns:
- web user
-
get
Deprecated, for removal: This API element is subject to removal in a future version.Get user unconditional (from cache)- Parameters:
ctx- contextAD_User_ID- BP Contact- Returns:
- web user
-
isValid
public boolean isValid()Deprecated, for removal: This API element is subject to removal in a future version.Return Valid.- Returns:
- return true if found
-
isEMailValid
public boolean isEMailValid()Deprecated, for removal: This API element is subject to removal in a future version.Return Email Validation.- Returns:
- return true if email is valid
-
isEMailVerified
public boolean isEMailVerified()Deprecated, for removal: This API element is subject to removal in a future version.Return Email Verification (reply).- Returns:
- return true if reply received
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.Info -
save
public boolean save()Deprecated, for removal: This API element is subject to removal in a future version.Save BPartner Objects- Returns:
- true if saved
-
setSaveErrorMessage
Deprecated, for removal: This API element is subject to removal in a future version.Set Save Error Message- Parameters:
msg- message
-
getSaveErrorMessage
Deprecated, for removal: This API element is subject to removal in a future version.Get Save Error Message- Returns:
- message
-
getEmail
Deprecated, for removal: This API element is subject to removal in a future version.Get EMail address. used as jsp parameter- Returns:
- email address of contact
-
setEmail
Deprecated, for removal: This API element is subject to removal in a future version. -
getName
Deprecated, for removal: This API element is subject to removal in a future version. -
setName
Deprecated, for removal: This API element is subject to removal in a future version. -
setValue
Deprecated, for removal: This API element is subject to removal in a future version. -
getTitle
Deprecated, for removal: This API element is subject to removal in a future version. -
setTitle
Deprecated, for removal: This API element is subject to removal in a future version. -
getPassword
Deprecated, for removal: This API element is subject to removal in a future version.Get Password- Returns:
- password
-
setPassword
public void setPassword()Deprecated, for removal: This API element is subject to removal in a future version.Check and Save Password -
setPassword
Deprecated, for removal: This API element is subject to removal in a future version.Set Password- Parameters:
password- new password
-
isPasswordOK
public boolean isPasswordOK()Deprecated, for removal: This API element is subject to removal in a future version.Is Password OK- Returns:
- true if OK
-
getPasswordMessage
Deprecated, for removal: This API element is subject to removal in a future version.Set Password Message- Returns:
- error message or null
-
setPasswordMessage
Deprecated, for removal: This API element is subject to removal in a future version.Set Password Message- Parameters:
passwordMessage- message
-
login
Deprecated, for removal: This API element is subject to removal in a future version.Log in with password- Parameters:
password- password- Returns:
- true if the user is logged in
-
logout
public void logout()Deprecated, for removal: This API element is subject to removal in a future version.Log in with oassword -
isLoggedIn
public boolean isLoggedIn()Deprecated, for removal: This API element is subject to removal in a future version.Is User Logged in- Returns:
- is the user logged in
-
getPhone
Deprecated, for removal: This API element is subject to removal in a future version. -
setPhone
Deprecated, for removal: This API element is subject to removal in a future version. -
getPhone2
Deprecated, for removal: This API element is subject to removal in a future version. -
setPhone2
Deprecated, for removal: This API element is subject to removal in a future version. -
getFax
Deprecated, for removal: This API element is subject to removal in a future version. -
setFax
Deprecated, for removal: This API element is subject to removal in a future version. -
getBirthday
Deprecated, for removal: This API element is subject to removal in a future version. -
setBirthday
Deprecated, for removal: This API element is subject to removal in a future version. -
getTaxID
Deprecated, for removal: This API element is subject to removal in a future version. -
setTaxID
Deprecated, for removal: This API element is subject to removal in a future version. -
getAD_Client_ID
public int getAD_Client_ID()Deprecated, for removal: This API element is subject to removal in a future version. -
getAD_User_ID
public int getAD_User_ID()Deprecated, for removal: This API element is subject to removal in a future version. -
getContactID
public int getContactID()Deprecated, for removal: This API element is subject to removal in a future version. -
getCompany
Deprecated, for removal: This API element is subject to removal in a future version.Get Company Name- Returns:
- company name
-
setCompany
Deprecated, for removal: This API element is subject to removal in a future version. -
getC_BPartner_ID
public int getC_BPartner_ID()Deprecated, for removal: This API element is subject to removal in a future version. -
getBpartnerID
public int getBpartnerID()Deprecated, for removal: This API element is subject to removal in a future version. -
getM_PriceList_ID
public int getM_PriceList_ID()Deprecated, for removal: This API element is subject to removal in a future version. -
getC_BPartner_Location_ID
public int getC_BPartner_Location_ID()Deprecated, for removal: This API element is subject to removal in a future version.Get BP Location ID- Returns:
- BP Loaction
-
getAddress
Deprecated, for removal: This API element is subject to removal in a future version.Get Location- Returns:
- location address
-
setAddress
Deprecated, for removal: This API element is subject to removal in a future version. -
getAddress2
Deprecated, for removal: This API element is subject to removal in a future version. -
setAddress2
Deprecated, for removal: This API element is subject to removal in a future version. -
getCity
Deprecated, for removal: This API element is subject to removal in a future version. -
setCity
Deprecated, for removal: This API element is subject to removal in a future version. -
getPostal
Deprecated, for removal: This API element is subject to removal in a future version. -
setPostal
Deprecated, for removal: This API element is subject to removal in a future version. -
getRegionName
Deprecated, for removal: This API element is subject to removal in a future version.Get (additional) Region name- Returns:
- location region name
-
setRegionName
Deprecated, for removal: This API element is subject to removal in a future version. -
getC_Region_ID
public int getC_Region_ID()Deprecated, for removal: This API element is subject to removal in a future version. -
getRegionID
Deprecated, for removal: This API element is subject to removal in a future version. -
setC_Region_ID
public void setC_Region_ID(int C_Region_ID) Deprecated, for removal: This API element is subject to removal in a future version. -
setC_Region_ID
Deprecated, for removal: This API element is subject to removal in a future version. -
getCountryName
Deprecated, for removal: This API element is subject to removal in a future version. -
setCountryName
Deprecated, for removal: This API element is subject to removal in a future version. -
getC_Country_ID
public int getC_Country_ID()Deprecated, for removal: This API element is subject to removal in a future version. -
getCountryID
Deprecated, for removal: This API element is subject to removal in a future version. -
setC_Country_ID
public void setC_Country_ID(int C_Country_ID) Deprecated, for removal: This API element is subject to removal in a future version. -
setC_Country_ID
Deprecated, for removal: This API element is subject to removal in a future version. -
setC_BP_Group_ID
public void setC_BP_Group_ID(int C_BP_Group_ID) Deprecated, for removal: This API element is subject to removal in a future version. -
setC_BP_Group_ID
Deprecated, for removal: This API element is subject to removal in a future version. -
isEmployee
public boolean isEmployee()Deprecated, for removal: This API element is subject to removal in a future version. -
isSalesRep
public boolean isSalesRep()Deprecated, for removal: This API element is subject to removal in a future version. -
isCustomer
public boolean isCustomer()Deprecated, for removal: This API element is subject to removal in a future version. -
setIsCustomer
public void setIsCustomer(boolean isCustomer) Deprecated, for removal: This API element is subject to removal in a future version. -
isVendor
public boolean isVendor()Deprecated, for removal: This API element is subject to removal in a future version. -
getSalesRep_ID
public int getSalesRep_ID()Deprecated, for removal: This API element is subject to removal in a future version. -
hasBPAccess
Deprecated, for removal: This API element is subject to removal in a future version. -
isCreditStopHold
public boolean isCreditStopHold()Deprecated, for removal: This API element is subject to removal in a future version.Credit Status is Stop or Hold. Used in Asset download- Returns:
- true if Stop/Hold
-
isCreditCritical
public boolean isCreditCritical()Deprecated, for removal: This API element is subject to removal in a future version.Credit Status is Critical. Used in Web UI- Returns:
- true if Stop/Hold/Watch
-
getSOCreditStatus
Deprecated, for removal: This API element is subject to removal in a future version.Credit Status Clear Text. Used in Web UI- Returns:
- Clear Text Credit Status
-
getBankAccount
Deprecated, for removal: This API element is subject to removal in a future version.Get BP Bank Account (or create it)- Returns:
- Bank Account
-
getBankAccount
Deprecated, for removal: This API element is subject to removal in a future version.Get BP Bank Account (or create it)- Parameters:
requery- Requery data- Returns:
- Bank Account
-
getEMailVerifyCode
Deprecated, for removal: This API element is subject to removal in a future version.Get EMail Verification Code- Returns:
- verification code
-
setEMailVerifyCode
Deprecated, for removal: This API element is subject to removal in a future version.Check and Set EMail Validation Code.- Parameters:
code- codeinfo- info
-