Java Doc for DatabaseEntry.java in  » Blogger-System » blojsom-3.1 » org » blojsom » blog » database » 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 » Blogger System » blojsom 3.1 » org.blojsom.blog.database 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.blojsom.blog.database.DatabaseEntry

DatabaseEntry
public class DatabaseEntry implements Entry,Serializable(Code)
DatabaseEntry
author:
   David Czarnecki
since:
   blojsom 3.0
version:
   $Id: DatabaseEntry.java,v 1.7 2007/01/17 02:35:16 czarneckid Exp $


Field Summary
protected  Integer_allowComments
    
protected  Integer_allowPingbacks
    
protected  Integer_allowTrackbacks
    
protected  String_author
    
protected  Integer_blogCategoryId
    
protected  Integer_blogId
    
protected  Category_category
    
protected  List_comments
    
protected  String_description
    
protected  Date_entryDate
    
protected  Integer_id
    
protected  String_link
    
protected  Map_metaData
    
protected  Date_modifiedDate
    
protected  List_pingbacks
    
protected  String_postSlug
    
protected  String_status
    
protected  String_title
    
protected  List_trackbacks
    

Constructor Summary
public  DatabaseEntry()
    

Method Summary
public  BooleanallowsComments()
    
public  BooleanallowsPingbacks()
    
public  BooleanallowsTrackbacks()
    
public  IntegergetAllowComments()
     Determines whether or not this blog entry supports comments.
public  IntegergetAllowPingbacks()
     Determines whether or not this blog entry supports pingbacks.
public  IntegergetAllowTrackbacks()
     Determines whether or not this blog entry supports trackbacks.
public  StringgetAuthor()
    
public  CategorygetBlogCategory()
    
public  IntegergetBlogCategoryId()
    
public  IntegergetBlogId()
    
public  StringgetCategory()
     Category for the blog entry.
public  ListgetComments()
    
public  Comment[]getCommentsAsArray()
    
public  DategetDate()
    
public  StringgetDateAsFormat(String format)
     Return the blog entry date formatted with a specified date format
Parameters:
  format - Date format null if the entry date or format is null, otherwise returns the entry date formatted to the specified format.
public  StringgetDateAsFormat(String format, Locale locale)
     Return the blog entry date formatted with a specified date format
Parameters:
  format - Date format
Parameters:
  locale - Locale for date formatting null if the entry date or format is null, otherwise returns the entry date formatted to the specified format.
public  StringgetDescription()
    
public  StringgetEncodedCategory()
     Return the category name encoded.
public  StringgetEncodedPostSlug()
    
public  StringgetEscapedDescription()
    
public  StringgetEscapedTitle()
    
public  StringgetISO8601Date()
    
public  IntegergetId()
    
public  MapgetMetaData()
     Return meta data for this blog entry.
public  DategetModifiedDate()
    
public  intgetNumComments()
    
public  intgetNumPingbacks()
    
public  intgetNumTrackbacks()
    
public  ListgetPingbacks()
    
public  Pingback[]getPingbacksAsArray()
    
public  StringgetPostSlug()
    
public  StringgetRFC822Date()
    
public  ListgetResponses()
    
public  ListgetResponsesMatchingStatus(String status)
    
public  ListgetResponsesNotMatchingStatus(String status)
    
public  StringgetStatus()
    
public  StringgetTitle()
    
public  ListgetTrackbacks()
    
public  Trackback[]getTrackbacksAsArray()
    
public  StringgetUTCDate()
    
public  voidsetAllowComments(Integer allowComments)
    
public  voidsetAllowPingbacks(Integer allowPingbacks)
    
public  voidsetAllowTrackbacks(Integer allowTrackbacks)
    
public  voidsetAuthor(String author)
    
public  voidsetBlogCategory(Category blogCategory)
    
public  voidsetBlogCategoryId(Integer blogCategoryId)
    
public  voidsetBlogId(Integer blogId)
    
public  voidsetComments(List comments)
     Set the comments for this blog entry.
public  voidsetDate(Date entryDate)
    
public  voidsetDescription(String description)
    
public  voidsetId(Integer id)
    
public  voidsetMetaData(Map metaData)
    
public  voidsetModifiedDate(Date modifiedDate)
    
public  voidsetPingbacks(List pingbacks)
     Set the pingbacks for this blog entry.
public  voidsetPostSlug(String postSlug)
    
public  voidsetStatus(String status)
    
public  voidsetTitle(String title)
    
public  voidsetTrackbacks(List trackbacks)
     Set the trackbacks for this blog entry.

Field Detail
_allowComments
protected Integer _allowComments(Code)



_allowPingbacks
protected Integer _allowPingbacks(Code)



_allowTrackbacks
protected Integer _allowTrackbacks(Code)



_author
protected String _author(Code)



_blogCategoryId
protected Integer _blogCategoryId(Code)



_blogId
protected Integer _blogId(Code)



_category
protected Category _category(Code)



_comments
protected List _comments(Code)



_description
protected String _description(Code)



_entryDate
protected Date _entryDate(Code)



_id
protected Integer _id(Code)



_link
protected String _link(Code)



_metaData
protected Map _metaData(Code)



_modifiedDate
protected Date _modifiedDate(Code)



_pingbacks
protected List _pingbacks(Code)



_postSlug
protected String _postSlug(Code)



_status
protected String _status(Code)



_title
protected String _title(Code)



_trackbacks
protected List _trackbacks(Code)




Constructor Detail
DatabaseEntry
public DatabaseEntry()(Code)
Create a new instance of the database entry




Method Detail
allowsComments
public Boolean allowsComments()(Code)
Whether or not comments are allowed true if comments are allowed, false otherwise



allowsPingbacks
public Boolean allowsPingbacks()(Code)
Whether or not pingbacks are allowed true if pingbacks are allowed, false otherwise



allowsTrackbacks
public Boolean allowsTrackbacks()(Code)
Whether or not trackbacks are allowed true if trackbacks are allowed, false otherwise



getAllowComments
public Integer getAllowComments()(Code)
Determines whether or not this blog entry supports comments. true if the blog entry supports comments, false otherwise



getAllowPingbacks
public Integer getAllowPingbacks()(Code)
Determines whether or not this blog entry supports pingbacks. true if the blog entry supports pingbacks, false otherwise



getAllowTrackbacks
public Integer getAllowTrackbacks()(Code)
Determines whether or not this blog entry supports trackbacks. true if the blog entry supports trackbacks, false otherwise



getAuthor
public String getAuthor()(Code)
Get the author Author



getBlogCategory
public Category getBlogCategory()(Code)
Get the org.blojsom.blog.Category object for this blog entry org.blojsom.blog.Category object



getBlogCategoryId
public Integer getBlogCategoryId()(Code)
Get the blog category ID Blog category ID



getBlogId
public Integer getBlogId()(Code)
Get the blog ID Blog ID



getCategory
public String getCategory()(Code)
Category for the blog entry. This corresponds to the category directory name. Blog entry category



getComments
public List getComments()(Code)
Get the comments List of comments



getCommentsAsArray
public Comment[] getCommentsAsArray()(Code)
Get the comments as an array of Comment objects BlogComment[] array



getDate
public Date getDate()(Code)
Date of the blog entry

This value is constructed from the lastModified value of the file Date of the blog entry




getDateAsFormat
public String getDateAsFormat(String format)(Code)
Return the blog entry date formatted with a specified date format
Parameters:
  format - Date format null if the entry date or format is null, otherwise returns the entry date formatted to the specified format. If the format is invalid, returns entryDate.toString()



getDateAsFormat
public String getDateAsFormat(String format, Locale locale)(Code)
Return the blog entry date formatted with a specified date format
Parameters:
  format - Date format
Parameters:
  locale - Locale for date formatting null if the entry date or format is null, otherwise returns the entry date formatted to the specified format. If the format is invalid, returns entryDate.toString()



getDescription
public String getDescription()(Code)
Description of the blog entry Blog entry description



getEncodedCategory
public String getEncodedCategory()(Code)
Return the category name encoded. Category name encoded as UTF-8



getEncodedPostSlug
public String getEncodedPostSlug()(Code)
Get the post slug encoded as UTF-8 Post slug encoded as UTF-8



getEscapedDescription
public String getEscapedDescription()(Code)
Escaped description of the blog entry This method would be used for generating RSS feeds where the <, >, and & characters are escaped Blog entry description where &, <, and > have been escaped



getEscapedTitle
public String getEscapedTitle()(Code)
Title for the entry where the <, >, and & characters are escaped Escaped entry title



getISO8601Date
public String getISO8601Date()(Code)
Return an ISO 8601 style date http://www.w3.org/TR/NOTE-datetime Date formatted in ISO 8601 format



getId
public Integer getId()(Code)
Get the entry ID Entry ID



getMetaData
public Map getMetaData()(Code)
Return meta data for this blog entry. This method may return null. Meta data



getModifiedDate
public Date getModifiedDate()(Code)
Get the last modified date Last modified date



getNumComments
public int getNumComments()(Code)
Get the number of comments for this entry 0 if comments is null, or the number of comments otherwise, which could be 0



getNumPingbacks
public int getNumPingbacks()(Code)
Get the number of pingbacks for this entry 0 if pingbacks is null, or the number of pingbacks otherwise, which could be 0



getNumTrackbacks
public int getNumTrackbacks()(Code)
Get the number of trackbacks for this entry 0 if trackbacks is null, or the number of trackbacks otherwise, which could be 0



getPingbacks
public List getPingbacks()(Code)
Get the pingbacks for this entry List of org.blojsom.blog.Pingback



getPingbacksAsArray
public Pingback[] getPingbacksAsArray()(Code)
Get the pingbacks as an array of org.blojsom.blog.Pingback s objects org.blojsom.blog.Pingback[] array



getPostSlug
public String getPostSlug()(Code)
Get the post slug Post slug



getRFC822Date
public String getRFC822Date()(Code)
Return an RFC 822 style date Date formatted in RFC 822 format



getResponses
public List getResponses()(Code)
Get the responses (comments, trackbacks, pingbacks) Responses (comments, trackbacks, pingbacks)



getResponsesMatchingStatus
public List getResponsesMatchingStatus(String status)(Code)
Get the responses (comments, trackbacks, pingbacks) matching some status code
Parameters:
  status - Status code Responses (comments, trackbacks, pingbacks) matching some status code



getResponsesNotMatchingStatus
public List getResponsesNotMatchingStatus(String status)(Code)
Get the responses (comments, trackbacks, pingbacks) not matching some status code
Parameters:
  status - Status code Responses (comments, trackbacks, pingbacks) not matching some status code



getStatus
public String getStatus()(Code)
Get the status Status



getTitle
public String getTitle()(Code)
Title of the blog entry Blog title



getTrackbacks
public List getTrackbacks()(Code)
Get the trackbacks List of trackbacks



getTrackbacksAsArray
public Trackback[] getTrackbacksAsArray()(Code)
Get the trackbacks as an array of Trackback objects Trackback[] array



getUTCDate
public String getUTCDate()(Code)
Return an UTC style date Date formatted in UTC format



setAllowComments
public void setAllowComments(Integer allowComments)(Code)
Set whether comments are allowed
Parameters:
  allowComments - true if comments are allowed, false otherwise



setAllowPingbacks
public void setAllowPingbacks(Integer allowPingbacks)(Code)
Set whether pingbacks are allowed
Parameters:
  allowPingbacks - true if pingbacks are allowed, false otherwise



setAllowTrackbacks
public void setAllowTrackbacks(Integer allowTrackbacks)(Code)
Set whether trackbacks are allowed
Parameters:
  allowTrackbacks - true if trackbacks are allowed, false otherwise



setAuthor
public void setAuthor(String author)(Code)
Set the author
Parameters:
  author - Author



setBlogCategory
public void setBlogCategory(Category blogCategory)(Code)
Set the org.blojsom.blog.Category object for this blog entry
Parameters:
  blogCategory - New org.blojsom.blog.Category object



setBlogCategoryId
public void setBlogCategoryId(Integer blogCategoryId)(Code)
Set the blog category ID
Parameters:
  blogCategoryId - Blog category ID



setBlogId
public void setBlogId(Integer blogId)(Code)
Set the blog ID
Parameters:
  blogId - Blog ID



setComments
public void setComments(List comments)(Code)
Set the comments for this blog entry. The comments must be an List of Comment . This method will not writeback or change the comments on disk.
Parameters:
  comments - Comments for this entry



setDate
public void setDate(Date entryDate)(Code)
Date of this blog entry
Parameters:
  entryDate - Date of the blog entry



setDescription
public void setDescription(String description)(Code)
Set the description for the blog entry
Parameters:
  description - Description for the blog entry



setId
public void setId(Integer id)(Code)
Set the entry ID
Parameters:
  id - Entry ID



setMetaData
public void setMetaData(Map metaData)(Code)
Set the meta-data associated with this blog entry
Parameters:
  metaData - Meta-data



setModifiedDate
public void setModifiedDate(Date modifiedDate)(Code)
Set the last modified date
Parameters:
  modifiedDate - Last modified date



setPingbacks
public void setPingbacks(List pingbacks)(Code)
Set the pingbacks for this blog entry. The pingbacks must be a List of org.blojsom.blog.Pingback . This method will not writeback or change the pingbacks to disk.
Parameters:
  pingbacks - org.blojsom.blog.Pingbacks for this entry



setPostSlug
public void setPostSlug(String postSlug)(Code)
Set the post slug
Parameters:
  postSlug - Post slug



setStatus
public void setStatus(String status)(Code)
Set the status
Parameters:
  status - Status



setTitle
public void setTitle(String title)(Code)
Set the title of the blog entry
Parameters:
  title - Title for the blog entry



setTrackbacks
public void setTrackbacks(List trackbacks)(Code)
Set the trackbacks for this blog entry. The trackbacks must be an List of org.blojsom.blog.Trackback . This method will not writeback or change the trackbacks to disk.
Parameters:
  trackbacks - Trackbacks for this entry



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.