Java Doc for OnlineUserImpl.java in  » Forum » mvnforum-1.1 » com » mvnforum » auth » 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 » mvnforum 1.1 » com.mvnforum.auth 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.mvnforum.auth.OnlineUserImpl

OnlineUserImpl
class OnlineUserImpl implements OnlineUser(Code)



Constructor Summary
 OnlineUserImpl(HttpServletRequest request, boolean isGuest)
    
 OnlineUserImpl(GenericRequest request, boolean isGuest)
    

Method Summary
public  voidbuildNewCaptcha()
     Build a new captcha, this method must be called before using some action that need captcha validation.
public  java.util.DateconvertGMTDate(java.util.Date gmtDate)
    
public  TimestampconvertGMTTimestamp(Timestamp gmtTimestamp)
    
public  voiddestroyCurrentCaptcha()
    
public  voidensureCorrectCaptchaResponse(String answer)
    
public  intgetAuthenticationType()
    
public  StringgetCssPath()
    
public  StringgetCssPath(HttpServletRequest request)
    
public  BufferedImagegetCurrentCaptchaImage()
    
public  StringgetGMTDateFormat(java.util.Date gmtDate)
    
public synchronized  StringgetGMTDateFormat(java.util.Date gmtDate, boolean adjustTimeZone)
    
public  StringgetGMTTimestampFormat(Timestamp gmtTimestamp)
    
public synchronized  StringgetGMTTimestampFormat(Timestamp gmtTimestamp, boolean adjustTimeZone)
    
public  booleangetGender()
    
public  StringgetLastLogonIP()
    
public  TimestampgetLastLogonTimestamp()
    
public  LocalegetLocale()
    
public  StringgetLocaleName()
    
public  StringgetLogoPath()
    
public  intgetMemberID()
    
public  StringgetMemberName()
    
public  intgetMessagesPerPage()
    
public  intgetNewMessageCount()
    
public  OnlineUserActiongetOnlineUserAction()
    
public  SetgetParticipants()
    
public  MVNForumPermissiongetPermission()
    
public  intgetPostsPerPage()
    
public  doublegetTimeZone()
    
public  StringgetTimeZoneFormat()
    
public  SetgetWaitingList()
    
public  ObjectgetXMPPConnection()
    
public  booleanisGuest()
    
public  booleanisInvisibleMember()
    
public  booleanisMember()
    
public  booleanisPasswordExpired()
    
public  voidreloadPermission()
    
public  voidreloadProfile()
    
public  voidremoveParticipant(Object participant)
    
public  voidremoveWaiting(Object waiting)
    
 voidsetAuthenticationType(int authType)
    
public  voidsetCssPath(String cssPath)
    
 voidsetGender(boolean gender)
    
 voidsetInvisible(boolean invisible)
    
 voidsetLastLogonIP(String lastLogonIP)
    
 voidsetLastLogonTimestamp(Timestamp lastLogon)
    
public  voidsetLocaleName(String localeName)
    
public  voidsetLogoPath(String logoPath)
    
 voidsetMemberID(int memberID)
    
 voidsetMemberName(String memberName)
    
public  voidsetParticipants(Object participant)
    
 voidsetPasswordExpired(boolean expired)
    
 voidsetPermission(MVNForumPermission permission)
    
 voidsetPostsPerPage(int postsPerPage)
    
 voidsetTimeZone(double timeZone)
    
public  voidsetWaitingList(Object waiting)
    
public  voidsetXMPPConnection(Object conn)
    
public  booleanupdateNewMessageCount(boolean forceUpdate)
    
public  booleanvalidateCaptchaResponse(String anwser)
    


Constructor Detail
OnlineUserImpl
OnlineUserImpl(HttpServletRequest request, boolean isGuest) throws DatabaseException(Code)
Default access constructor, prevent outsite creation NOTE: the implementation should init the following: - Is Guest or not
- Call initRemoteAddr_UserAgent()
- The memberCssPath
- The memberLogoPath



OnlineUserImpl
OnlineUserImpl(GenericRequest request, boolean isGuest) throws DatabaseException(Code)




Method Detail
buildNewCaptcha
public void buildNewCaptcha()(Code)
Build a new captcha, this method must be called before using some action that need captcha validation.



convertGMTDate
public java.util.Date convertGMTDate(java.util.Date gmtDate)(Code)



convertGMTTimestamp
public Timestamp convertGMTTimestamp(Timestamp gmtTimestamp)(Code)



destroyCurrentCaptcha
public void destroyCurrentCaptcha()(Code)
Destroy the current captcha, this method must be called after validate the captcha



ensureCorrectCaptchaResponse
public void ensureCorrectCaptchaResponse(String answer) throws BadInputException(Code)
Check to make sure that the captcha answer is correct
Parameters:
  answer - String the captcha answer to check
throws:
  BadInputException - in case the captcha answer is not correct



getAuthenticationType
public int getAuthenticationType()(Code)



getCssPath
public String getCssPath()(Code)



getCssPath
public String getCssPath(HttpServletRequest request)(Code)



getCurrentCaptchaImage
public BufferedImage getCurrentCaptchaImage()(Code)
Get the captcha image to challenge the user BufferedImage the captcha image to challenge the user



getGMTDateFormat
public String getGMTDateFormat(java.util.Date gmtDate)(Code)



getGMTDateFormat
public synchronized String getGMTDateFormat(java.util.Date gmtDate, boolean adjustTimeZone)(Code)



getGMTTimestampFormat
public String getGMTTimestampFormat(Timestamp gmtTimestamp)(Code)



getGMTTimestampFormat
public synchronized String getGMTTimestampFormat(Timestamp gmtTimestamp, boolean adjustTimeZone)(Code)



getGender
public boolean getGender()(Code)



getLastLogonIP
public String getLastLogonIP()(Code)



getLastLogonTimestamp
public Timestamp getLastLogonTimestamp()(Code)



getLocale
public Locale getLocale()(Code)



getLocaleName
public String getLocaleName()(Code)



getLogoPath
public String getLogoPath()(Code)



getMemberID
public int getMemberID()(Code)



getMemberName
public String getMemberName()(Code)



getMessagesPerPage
public int getMessagesPerPage()(Code)



getNewMessageCount
public int getNewMessageCount()(Code)



getOnlineUserAction
public OnlineUserAction getOnlineUserAction()(Code)



getParticipants
public Set getParticipants()(Code)



getPermission
public MVNForumPermission getPermission()(Code)



getPostsPerPage
public int getPostsPerPage()(Code)



getTimeZone
public double getTimeZone()(Code)



getTimeZoneFormat
public String getTimeZoneFormat()(Code)



getWaitingList
public Set getWaitingList()(Code)



getXMPPConnection
public Object getXMPPConnection()(Code)



isGuest
public boolean isGuest()(Code)



isInvisibleMember
public boolean isInvisibleMember()(Code)



isMember
public boolean isMember()(Code)



isPasswordExpired
public boolean isPasswordExpired()(Code)



reloadPermission
public void reloadPermission()(Code)



reloadProfile
public void reloadProfile()(Code)



removeParticipant
public void removeParticipant(Object participant)(Code)



removeWaiting
public void removeWaiting(Object waiting)(Code)



setAuthenticationType
void setAuthenticationType(int authType)(Code)



setCssPath
public void setCssPath(String cssPath)(Code)



setGender
void setGender(boolean gender)(Code)



setInvisible
void setInvisible(boolean invisible)(Code)



setLastLogonIP
void setLastLogonIP(String lastLogonIP)(Code)



setLastLogonTimestamp
void setLastLogonTimestamp(Timestamp lastLogon)(Code)



setLocaleName
public void setLocaleName(String localeName)(Code)



setLogoPath
public void setLogoPath(String logoPath)(Code)



setMemberID
void setMemberID(int memberID)(Code)
Default-scope methods, only for internal package usage



setMemberName
void setMemberName(String memberName)(Code)



setParticipants
public void setParticipants(Object participant)(Code)



setPasswordExpired
void setPasswordExpired(boolean expired)(Code)



setPermission
void setPermission(MVNForumPermission permission)(Code)
NOTE: this method SHOULD ONLY BE CALLED from OnlineUserFactory



setPostsPerPage
void setPostsPerPage(int postsPerPage)(Code)



setTimeZone
void setTimeZone(double timeZone)(Code)



setWaitingList
public void setWaitingList(Object waiting)(Code)



setXMPPConnection
public void setXMPPConnection(Object conn)(Code)



updateNewMessageCount
public boolean updateNewMessageCount(boolean forceUpdate)(Code)



validateCaptchaResponse
public boolean validateCaptchaResponse(String anwser)(Code)
Validate the anwser of the captcha from user
Parameters:
  anwser - String the captcha anwser from user boolean true if the answer is valid, otherwise return false



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.