Java Doc for User.java in  » Forum » JForum-2.1.8 » net » jforum » entities » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Forum » JForum 2.1.8 » net.jforum.entities 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.jforum.entities.User

User
public class User implements Serializable(Code)
Represents a single user in the system. An user is every person which uses the forum. Well, every registered user. Anonymous users does not have a specific ID, for example. This class contains all information about some user configuration options and preferences.
author:
   Rafael Steil



Constructor Summary
public  User(int userId)
    
public  User()
    

Method Summary
public  voidaddExtra(String name, Object value)
    
public  StringgetActivationKey()
    
public  StringgetAim()
    
public  booleangetAttachSignatureEnabled()
    
public  StringgetAvatar()
    
public  StringgetBiography()
    
public  StringgetDateFormat()
    
public  StringgetEmail()
    
public  ObjectgetExtra(String name)
    
public  StringgetFirstName()
    
public  StringgetFrom()
    
public  StringgetGender()
     Gets the user gender String value.
public  ListgetGroupsList()
    
public  StringgetIcq()
    
public  intgetId()
    
public  StringgetInterests()
    
public  KarmaStatusgetKarma()
    
public  StringgetLang()
    
public  StringgetLastNmame()
    
public  DategetLastVisit()
    
public  intgetLevel()
    
public  StringgetMsnm()
    
public  StringgetName()
    
public  StringgetOccupation()
    
public  StringgetPassword()
    
public  intgetPrivateMessagesCount()
    
public  intgetRankId()
    
public  StringgetRegistrationDate()
    
public  StringgetSignature()
    
public  intgetThemeId()
    
public  StringgetTimeZone()
    
public  intgetTotalPosts()
    
public  StringgetUsername()
    
public  StringgetWebSite()
    
public  StringgetYim()
    
public  booleanhasPrivateMessages()
    
public  booleanisActive()
    
public  booleanisAvatarEnabled()
    
public  booleanisBbCodeEnabled()
    
public  booleanisDeleted()
    
public  booleanisExternalAvatar()
    
public  booleanisHtmlEnabled()
    
public  booleanisNotifyOnMessagesEnabled()
    
public  booleanisNotifyPrivateMessagesEnabled()
    
public  booleanisOnline()
    
public  booleanisPrivateMessagesEnabled()
    
public  booleanisSmiliesEnabled()
    
public  booleanisViewEmailEnabled()
    
public  booleanisViewOnlineEnabled()
    
public  booleannotifyAlways()
    
public  booleannotifyText()
    
public  voidsetActivationKey(String activationKey)
    
public  voidsetActive(int active)
    
public  voidsetAim(String aim)
     Sets the aim.
public  voidsetAttachSignatureEnabled(boolean b)
    
public  voidsetAvatar(String avatar)
     Sets the avatar.
public  voidsetAvatarEnabled(boolean avatarEnabled)
    
public  voidsetBbCodeEnabled(boolean bbCodeEnabled)
    
public  voidsetBiography(String biography)
    
public  voidsetDateFormat(String dateFormat)
     Sets the date format.
public  voidsetDeleted(int deleted)
    
public  voidsetEmail(String email)
     Sets the email.
public  voidsetFirstName(String name)
    
public  voidsetFrom(String from)
    
public  voidsetGender(String gender)
     Sets the gender.
Parameters:
  gender - The gender to set.
public  voidsetHtmlEnabled(boolean htmlEnabled)
    
public  voidsetIcq(String icq)
    
public  voidsetId(int id)
     Sets the user id.
public  voidsetInterests(String interests)
     Sets the interests.
public  voidsetKarma(KarmaStatus karma)
    
public  voidsetLang(String lang)
     Sets the language.
public  voidsetLastName(String name)
    
public  voidsetLastVisit(Date lastVisit)
    
public  voidsetLevel(int level)
     Sets the level.
public  voidsetMsnm(String string)
    
public  voidsetNotifyAlways(boolean notifyAlways)
    
public  voidsetNotifyOnMessagesEnabled(boolean b)
    
public  voidsetNotifyPrivateMessagesEnabled(boolean notifyPrivateMessagesEnabled)
    
public  voidsetNotifyText(boolean notifyText)
    
public  voidsetOccupation(String occupation)
     Sets the occ.
public  voidsetPassword(String password)
     Sets the password.
public  voidsetPrivateMessagesCount(int privateMessagesCount)
    
public  voidsetPrivateMessagesEnabled(boolean privateMessagesEnabled)
    
public  voidsetRankId(int rankId)
    
public  voidsetRegistrationDate(Date registrationDate)
     Sets the registration date.
public  voidsetSignature(String signature)
     Sets the signature.
public  voidsetSmiliesEnabled(boolean smilesEnabled)
    
public  voidsetThemeId(int themeId)
    
public  voidsetTimeZone(String timeZone)
     Sets the Timezone.
public  voidsetTotalPosts(int totalPosts)
    
public  voidsetUsername(String username)
     Sets the username.
public  voidsetViewEmailEnabled(boolean b)
    
public  voidsetViewOnlineEnabled(boolean viewOnlineEnabled)
     Sets the viewOnlineEnabled.
public  voidsetWebSite(String webSite)
     Sets the webSite.
public  voidsetYim(String yim)
    


Constructor Detail
User
public User(int userId)(Code)



User
public User()(Code)
Default Constructor




Method Detail
addExtra
public void addExtra(String name, Object value)(Code)



getActivationKey
public String getActivationKey()(Code)
Gets the Yahoo messenger ID String with the activation key that is created during user registration



getAim
public String getAim()(Code)
Gets the AIM identification String with the AIM ID



getAttachSignatureEnabled
public boolean getAttachSignatureEnabled()(Code)



getAvatar
public String getAvatar()(Code)
Gets the avatar of the user String with the avatar



getBiography
public String getBiography()(Code)
Gets the user's biography the user biography



getDateFormat
public String getDateFormat()(Code)
Gets the format to represent dates and time String with the format



getEmail
public String getEmail()(Code)
Gets the user email String with the email



getExtra
public Object getExtra(String name)(Code)



getFirstName
public String getFirstName()(Code)



getFrom
public String getFrom()(Code)
Gets the user location ( where he lives ) String with the location



getGender
public String getGender()(Code)
Gets the user gender String value. Possible values are M or F



getGroupsList
public List getGroupsList()(Code)



getIcq
public String getIcq()(Code)
Gets the ICQ UIM String with the UIN



getId
public int getId()(Code)
Gets the user id int value with the id



getInterests
public String getInterests()(Code)
Gets the user interests String literal



getKarma
public KarmaStatus getKarma()(Code)



getLang
public String getLang()(Code)
Gets the user language String value with the language chosen



getLastNmame
public String getLastNmame()(Code)



getLastVisit
public Date getLastVisit()(Code)
Gets the last visit time the user was in the forum long value representing the time



getLevel
public int getLevel()(Code)
Gets the user leve int value with the level



getMsnm
public String getMsnm()(Code)



getName
public String getName()(Code)



getOccupation
public String getOccupation()(Code)
Gets the OCC String



getPassword
public String getPassword()(Code)
Gets the user password String with the password ( in plain/text )



getPrivateMessagesCount
public int getPrivateMessagesCount()(Code)
Returns the privateMessagesCount.



getRankId
public int getRankId()(Code)
Gets the ranking ID of the user int



getRegistrationDate
public String getRegistrationDate()(Code)
Gets the registration date of the user String value with the registration date



getSignature
public String getSignature()(Code)
Gets the user signature String literal with the signature



getThemeId
public int getThemeId()(Code)
Gets the id of the theme chosen by the user int value with the theme ID



getTimeZone
public String getTimeZone()(Code)
Gets the timezone String value with the timezone



getTotalPosts
public int getTotalPosts()(Code)
Gets the total number of messages posted by the user int value with the total of messages



getUsername
public String getUsername()(Code)
Gets the username String with the username



getWebSite
public String getWebSite()(Code)
Gets the user website address String with the URL



getYim
public String getYim()(Code)
Gets the Yahoo messenger ID String with the ID



hasPrivateMessages
public boolean hasPrivateMessages()(Code)
Returns the hasPrivateMessages.



isActive
public boolean isActive()(Code)
Is the user's email authenticated? integer 1 if true



isAvatarEnabled
public boolean isAvatarEnabled()(Code)
Checks if avatar is enabled boolean value



isBbCodeEnabled
public boolean isBbCodeEnabled()(Code)
Checks if BB code is enabled boolean value



isDeleted
public boolean isDeleted()(Code)



isExternalAvatar
public boolean isExternalAvatar()(Code)
Indicates if the avatar points to an external URL true if the avatar is some external image



isHtmlEnabled
public boolean isHtmlEnabled()(Code)
Checks if HTML code is enabled by default in user messages boolean value



isNotifyOnMessagesEnabled
public boolean isNotifyOnMessagesEnabled()(Code)



isNotifyPrivateMessagesEnabled
public boolean isNotifyPrivateMessagesEnabled()(Code)
Checks if notification of new private messages is enabled boolean value



isOnline
public boolean isOnline()(Code)
Is the user online? true if user is in Session



isPrivateMessagesEnabled
public boolean isPrivateMessagesEnabled()(Code)
Checks if user permits other people to sent private messages to him boolean value



isSmiliesEnabled
public boolean isSmiliesEnabled()(Code)
Checks if smilies are enabled boolean value



isViewEmailEnabled
public boolean isViewEmailEnabled()(Code)



isViewOnlineEnabled
public boolean isViewOnlineEnabled()(Code)
Checks if the user permits other people to see he online boolean value



notifyAlways
public boolean notifyAlways()(Code)
the notifyAlways



notifyText
public boolean notifyText()(Code)
the notifyText



setActivationKey
public void setActivationKey(String activationKey)(Code)



setActive
public void setActive(int active)(Code)
Set when user authenticates his email after user registration



setAim
public void setAim(String aim)(Code)
Sets the aim.
Parameters:
  aim - The aim ID to set



setAttachSignatureEnabled
public void setAttachSignatureEnabled(boolean b)(Code)

Parameters:
  b -



setAvatar
public void setAvatar(String avatar)(Code)
Sets the avatar.
Parameters:
  avatar - The avatar to set



setAvatarEnabled
public void setAvatarEnabled(boolean avatarEnabled)(Code)
Sets avatar status
Parameters:
  avatarEnabled - true or false



setBbCodeEnabled
public void setBbCodeEnabled(boolean bbCodeEnabled)(Code)
Sets the status for BB codes
Parameters:
  bbCodeEnabled - true or false



setBiography
public void setBiography(String biography)(Code)
Sets the user's biography
Parameters:
  biography - the user's biography



setDateFormat
public void setDateFormat(String dateFormat)(Code)
Sets the date format.
Parameters:
  dateFormat - The date format to set



setDeleted
public void setDeleted(int deleted)(Code)



setEmail
public void setEmail(String email)(Code)
Sets the email.
Parameters:
  email - The email to set



setFirstName
public void setFirstName(String name)(Code)



setFrom
public void setFrom(String from)(Code)
Sets the user location ( where he lives )
Parameters:
  from - The location



setGender
public void setGender(String gender)(Code)
Sets the gender.
Parameters:
  gender - The gender to set. Possible values must be M or F



setHtmlEnabled
public void setHtmlEnabled(boolean htmlEnabled)(Code)
Enable or not HTML code into the messages
Parameters:
  htmlEnabled - true or false



setIcq
public void setIcq(String icq)(Code)
Sets the icq UIN
Parameters:
  icq - The icq to set



setId
public void setId(int id)(Code)
Sets the user id.
Parameters:
  id - The user id to set



setInterests
public void setInterests(String interests)(Code)
Sets the interests.
Parameters:
  interests - The interests to set



setKarma
public void setKarma(KarmaStatus karma)(Code)



setLang
public void setLang(String lang)(Code)
Sets the language.
Parameters:
  lang - The lang to set



setLastName
public void setLastName(String name)(Code)



setLastVisit
public void setLastVisit(Date lastVisit)(Code)
Sets the last visit time
Parameters:
  lastVisit - Last visit time, represented as a long value



setLevel
public void setLevel(int level)(Code)
Sets the level.
Parameters:
  level - The level to set



setMsnm
public void setMsnm(String string)(Code)

Parameters:
  string -



setNotifyAlways
public void setNotifyAlways(boolean notifyAlways)(Code)

Parameters:
  notifyAlways - the notifyAlways to set



setNotifyOnMessagesEnabled
public void setNotifyOnMessagesEnabled(boolean b)(Code)

Parameters:
  b -



setNotifyPrivateMessagesEnabled
public void setNotifyPrivateMessagesEnabled(boolean notifyPrivateMessagesEnabled)(Code)
Sets the status for notification of new private messages
Parameters:
  notifyPrivateMessagesEnabled - true or false



setNotifyText
public void setNotifyText(boolean notifyText)(Code)

Parameters:
  notifyText - the notifyText to set



setOccupation
public void setOccupation(String occupation)(Code)
Sets the occ.
Parameters:
  occ - The occ to set



setPassword
public void setPassword(String password)(Code)
Sets the password.
Parameters:
  password - The password to set



setPrivateMessagesCount
public void setPrivateMessagesCount(int privateMessagesCount)(Code)

Parameters:
  privateMessagesCount - The privateMessagesCount to set.



setPrivateMessagesEnabled
public void setPrivateMessagesEnabled(boolean privateMessagesEnabled)(Code)
Enable or not private messages to the user
Parameters:
  privateMessagesEnabled - true or false



setRankId
public void setRankId(int rankId)(Code)
Sets the ranking id
Parameters:
  rankId - The id of the ranking



setRegistrationDate
public void setRegistrationDate(Date registrationDate)(Code)
Sets the registration date.
Parameters:
  registrationDate - The registration date to set



setSignature
public void setSignature(String signature)(Code)
Sets the signature.
Parameters:
  signature - The signature to set



setSmiliesEnabled
public void setSmiliesEnabled(boolean smilesEnabled)(Code)
Enable or not smilies in messages
Parameters:
  smilesEnabled - true or false



setThemeId
public void setThemeId(int themeId)(Code)
Sets the theme id
Parameters:
  themeId - The theme Id to set



setTimeZone
public void setTimeZone(String timeZone)(Code)
Sets the Timezone.
Parameters:
  timeZone - The Timezone to set



setTotalPosts
public void setTotalPosts(int totalPosts)(Code)
Sets the total number of posts by the user
Parameters:
  totalPosts - int value with the total of messages posted by the user



setUsername
public void setUsername(String username)(Code)
Sets the username.
Parameters:
  username - The username to set



setViewEmailEnabled
public void setViewEmailEnabled(boolean b)(Code)

Parameters:
  b -



setViewOnlineEnabled
public void setViewOnlineEnabled(boolean viewOnlineEnabled)(Code)
Sets the viewOnlineEnabled.
Parameters:
  viewOnlineEnabled - The viewOnlineEnabled to set



setWebSite
public void setWebSite(String webSite)(Code)
Sets the webSite.
Parameters:
  webSite - The webSite to set



setYim
public void setYim(String yim)(Code)
Sets the Yahoo messenger ID
Parameters:
  yim - The yim to set



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.