Java Doc for Post.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.Post

All known Subclasses:   net.jforum.search.SearchPost,
Post
public class Post implements Serializable(Code)
Represents every message post in the system.
author:
   Rafael Steil
version:
   $Id: Post.java,v 1.15 2007/07/25 03:08:15 rafaelsteil Exp $



Constructor Summary
public  Post()
    
public  Post(int postId)
    
public  Post(Post p)
    

Method Summary
public  booleanequals(Object o)
    
public  booleangetCanEdit()
    
public  intgetEditCount()
    
public  DategetEditTime()
    
public  StringgetFormatedTime()
    
public  intgetForumId()
    
public  intgetId()
    
public  KarmaStatusgetKarma()
    
public  StringgetPostUsername()
    
public  StringgetSubject()
    
public  StringgetText()
    
public  DategetTime()
    
public  intgetTopicId()
    
public  intgetUserId()
    
public  StringgetUserIp()
    
public  booleanhasAttachments()
    
public  voidhasAttachments(boolean hasAttachments)
    
public  inthashCode()
    
public  booleanisBbCodeEnabled()
    
public  booleanisHtmlEnabled()
    
public  booleanisModerate()
    
public  booleanisModerationNeeded()
    
public  booleanisSignatureEnabled()
    
public  booleanisSmiliesEnabled()
    
public  voidsetBbCodeEnabled(boolean bbCodeEnabled)
    
public  voidsetCanEdit(boolean canEdit)
    
public  voidsetEditCount(int editCount)
    
public  voidsetEditTime(Date editTime)
    
public  voidsetFormatedTime(String t)
    
public  voidsetForumId(int forumId)
    
public  voidsetHtmlEnabled(boolean htmlEnabled)
    
public  voidsetId(int id)
    
public  voidsetKarma(KarmaStatus karma)
    
public  voidsetModerate(boolean status)
    
public  voidsetPostUsername(String postUsername)
    
public  voidsetSignatureEnabled(boolean signatureEnabled)
    
public  voidsetSmiliesEnabled(boolean smiliesEnabled)
    
public  voidsetSubject(String subject)
    
public  voidsetText(String text)
    
public  voidsetTime(Date time)
    
public  voidsetTopicId(int topicId)
    
public  voidsetUserId(int userId)
    
public  voidsetUserIp(String userIp)
    


Constructor Detail
Post
public Post()(Code)



Post
public Post(int postId)(Code)



Post
public Post(Post p)(Code)
Copy constructor
Parameters:
  p - The Post to make a copy from




Method Detail
equals
public boolean equals(Object o)(Code)

See Also:   java.lang.Object.equals(java.lang.Object)



getCanEdit
public boolean getCanEdit()(Code)



getEditCount
public int getEditCount()(Code)
Gets the total number of times the post was edited int value with the total number of times the post was edited



getEditTime
public Date getEditTime()(Code)
Gets the edit time of the post long value representing the time



getFormatedTime
public String getFormatedTime()(Code)



getForumId
public int getForumId()(Code)
Gets the forum's id the post is associated int value with the id of the forum



getId
public int getId()(Code)
Gets the ID of the post int value with the ID



getKarma
public KarmaStatus getKarma()(Code)



getPostUsername
public String getPostUsername()(Code)
Gets the username of the user ( an anonymous user ) that have posted the message String with the username



getSubject
public String getSubject()(Code)
Gets the subject of the post String with the subject



getText
public String getText()(Code)
Gets the message of the post String containing the text



getTime
public Date getTime()(Code)
Gets the time, represented as long, of the message post long representing the post time



getTopicId
public int getTopicId()(Code)
Gets the id of the topic this message is associated int value with the topic id



getUserId
public int getUserId()(Code)
Gets the ID of the user that have posted the message int value with the user id



getUserIp
public String getUserIp()(Code)
Gets the IP of the user who have posted the message String value with the user IP



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



hasAttachments
public void hasAttachments(boolean hasAttachments)(Code)

Parameters:
  hasAttachments - The hasAttachments to set.



hashCode
public int hashCode()(Code)

See Also:   java.lang.Object.hashCode



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



isHtmlEnabled
public boolean isHtmlEnabled()(Code)
Checks if HTML is enabled in the topic boolean value representing the result



isModerate
public boolean isModerate()(Code)



isModerationNeeded
public boolean isModerationNeeded()(Code)



isSignatureEnabled
public boolean isSignatureEnabled()(Code)
Checks if signature is allowd in the message boolean representing the result



isSmiliesEnabled
public boolean isSmiliesEnabled()(Code)
Checks if smart Smilies are enabled :) boolean representing the result



setBbCodeEnabled
public void setBbCodeEnabled(boolean bbCodeEnabled)(Code)
Sets the status for BB code in the message
Parameters:
  bbCodeEnabled - true or false, depending the intention



setCanEdit
public void setCanEdit(boolean canEdit)(Code)



setEditCount
public void setEditCount(int editCount)(Code)
Sets the count times the message was edited
Parameters:
  editCount - The count time



setEditTime
public void setEditTime(Date editTime)(Code)
Sets the edit time the message was last edited
Parameters:
  editTime - long value representing the time



setFormatedTime
public void setFormatedTime(String t)(Code)



setForumId
public void setForumId(int forumId)(Code)
Sets the id of the forum this message belongs to
Parameters:
  forumId - The forum's id



setHtmlEnabled
public void setHtmlEnabled(boolean htmlEnabled)(Code)
Sets the status for HTML code in the message
Parameters:
  htmlEnabled - true or false, depending the intention



setId
public void setId(int id)(Code)
Sets the id for the message
Parameters:
  id - The id



setKarma
public void setKarma(KarmaStatus karma)(Code)



setModerate
public void setModerate(boolean status)(Code)



setPostUsername
public void setPostUsername(String postUsername)(Code)
Sets the username of the anonymous user that have sent the message
Parameters:
  postUsername - String with the username



setSignatureEnabled
public void setSignatureEnabled(boolean signatureEnabled)(Code)
Sets the status for signatures in the message
Parameters:
  signatureEnabled - true or false, depending the intention



setSmiliesEnabled
public void setSmiliesEnabled(boolean smiliesEnabled)(Code)
Sets the status for smilies in the message
Parameters:
  smiliesEnabled - true or false, depending the intention



setSubject
public void setSubject(String subject)(Code)
Sets the subject for the message
Parameters:
  subject - The subject to set



setText
public void setText(String text)(Code)
Sets the text of the post
Parameters:
  text - The text to set



setTime
public void setTime(Date time)(Code)
Sets the time the message was sent
Parameters:
  time - The time



setTopicId
public void setTopicId(int topicId)(Code)
Sets the id of the topic that the message belongs to
Parameters:
  topicId - The id of the topic



setUserId
public void setUserId(int userId)(Code)
Sets the id of the user that sent the message
Parameters:
  userId - The user Id



setUserIp
public void setUserIp(String userIp)(Code)
Sets the IP of the user
Parameters:
  userIP - The IP address of the user



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.