Java Doc for Blog.java in  » J2EE » OpenCore » org » opensubsystems » blog » data » 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 » J2EE » OpenCore » org.opensubsystems.blog.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.opensubsystems.blog.data.Blog

Blog
public class Blog extends ModifiableDataObject (Code)
Blog is a list of entries. Simples blog has name, description and set of entries added over the time.
version:
   $Id: Blog.java,v 1.4 2007/01/18 06:03:31 bastafidli Exp $
author:
   Miro Halas


Field Summary
final public static  int[]ALL_COLUMNS
     Static variable for array of all columns codes.
final public static  intCOL_BLOG_CAPTION
     Code for table column.
final public static  IntegerCOL_BLOG_CAPTION_OBJ
     Object code for table column.
final public static  intCOL_BLOG_COMMENTS
     Code for table column.
final public static  IntegerCOL_BLOG_COMMENTS_OBJ
     Object code for table column.
final public static  intCOL_BLOG_CREATION_DATE
     Code for table column.
final public static  intCOL_BLOG_DOMAIN_ID
     Code for table column.
final public static  intCOL_BLOG_FOLDER
     Code for table column.
final public static  IntegerCOL_BLOG_FOLDER_OBJ
     Object code for table column.
final public static  intCOL_BLOG_ID
     Code for table column.
final public static  IntegerCOL_BLOG_ID_OBJ
     Object code for table column.
final public static  intCOL_BLOG_MODIFICATION_DATE
     Code for table column.
final public static  int[]DEFAULT_LIST_COLUMNS
     Default columns to retrieve when asked for list of objects.
final public static  int[]DEFAULT_LIST_SORT_COLUMNS
     Default columns to sort by when asked for list of objects.
final public static  String[]DEFAULT_LIST_SORT_ORDER
     Default order in which the columns will be sorted.
protected  Booleanm_bIsPreformated
     Flag signaling if the text contains formatting or not.
protected  Stringm_strCaption
     Caption is more descriptive name of the blog.
protected  Stringm_strComments
     Comments is any additional description of the blog.
protected  Stringm_strFolder
     Folder allows to organize blogs within folders.
protected static  ints_iCaptionMaxLength
     Maximal length of the caption field.
protected static  ints_iCommentsMaxLength
     Maximal length of the comments field.
protected static  ints_iFolderMaxLength
     Maximal length of the folder field.

Constructor Summary
public  Blog()
    
public  Blog(int iDomainId)
    
public  Blog(int iId, int iDomainId, String strBlogFolder, String strCaption, String strComments, Timestamp creationTimestamp, Timestamp modificationTimestamp)
     Create blog from a given parameters.

Method Summary
public  StringgetCaption()
     Caption is more descriptive name of the blog.
public  intgetCaptionMaxLength()
    
public static  intgetCaptionMaxLengthStatic()
    
public  StringgetComments()
     Comments is any additional description of the blog.
public  intgetCommentsMaxLength()
    
public static  intgetCommentsMaxLengthStatic()
    
public  StringgetFolder()
     Folder allows to organize blogs within folders.
public  intgetFolderMaxLength()
    
public static  intgetFolderMaxLengthStatic()
    
public  booleangetIsPreformated()
     Flag signaling if the text contains formatting or not.
public  booleanisSame(Object oObject)
    
public static  voidsetCaptionMaxLength(int iCaptionMaxLength)
    
public static  voidsetCommentsMaxLength(int iCommentsMaxLength)
    
public static  voidsetFolderMaxLength(int iFolderMaxLength)
    

Field Detail
ALL_COLUMNS
final public static int[] ALL_COLUMNS(Code)
Static variable for array of all columns codes. The order is important since it is used to retrieve all data from the persistence store efficiently so do not modify it unless you make changes to other places as well.



COL_BLOG_CAPTION
final public static int COL_BLOG_CAPTION(Code)
Code for table column.



COL_BLOG_CAPTION_OBJ
final public static Integer COL_BLOG_CAPTION_OBJ(Code)
Object code for table column.



COL_BLOG_COMMENTS
final public static int COL_BLOG_COMMENTS(Code)
Code for table column.



COL_BLOG_COMMENTS_OBJ
final public static Integer COL_BLOG_COMMENTS_OBJ(Code)
Object code for table column.



COL_BLOG_CREATION_DATE
final public static int COL_BLOG_CREATION_DATE(Code)
Code for table column.



COL_BLOG_DOMAIN_ID
final public static int COL_BLOG_DOMAIN_ID(Code)
Code for table column.



COL_BLOG_FOLDER
final public static int COL_BLOG_FOLDER(Code)
Code for table column.



COL_BLOG_FOLDER_OBJ
final public static Integer COL_BLOG_FOLDER_OBJ(Code)
Object code for table column.



COL_BLOG_ID
final public static int COL_BLOG_ID(Code)
Code for table column.



COL_BLOG_ID_OBJ
final public static Integer COL_BLOG_ID_OBJ(Code)
Object code for table column.



COL_BLOG_MODIFICATION_DATE
final public static int COL_BLOG_MODIFICATION_DATE(Code)
Code for table column.



DEFAULT_LIST_COLUMNS
final public static int[] DEFAULT_LIST_COLUMNS(Code)
Default columns to retrieve when asked for list of objects. These should be only columns visible to user on the screen and not any internal columns. Also the columns should be retrievable efficiently so that the default view is very quick.



DEFAULT_LIST_SORT_COLUMNS
final public static int[] DEFAULT_LIST_SORT_COLUMNS(Code)
Default columns to sort by when asked for list of objects.



DEFAULT_LIST_SORT_ORDER
final public static String[] DEFAULT_LIST_SORT_ORDER(Code)
Default order in which the columns will be sorted.



m_bIsPreformated
protected Boolean m_bIsPreformated(Code)
Flag signaling if the text contains formatting or not. Example of such formatting is a newline character.



m_strCaption
protected String m_strCaption(Code)
Caption is more descriptive name of the blog.



m_strComments
protected String m_strComments(Code)
Comments is any additional description of the blog.



m_strFolder
protected String m_strFolder(Code)
Folder allows to organize blogs within folders.



s_iCaptionMaxLength
protected static int s_iCaptionMaxLength(Code)
Maximal length of the caption field. The value depends on the underlying persistance mechanism and it is set once the persistance is initialized.



s_iCommentsMaxLength
protected static int s_iCommentsMaxLength(Code)
Maximal length of the comments field. The value depends on the underlying persistance mechanism and it is set once the persistance is initialized.



s_iFolderMaxLength
protected static int s_iFolderMaxLength(Code)
Maximal length of the folder field. The value depends on the underlying persistance mechanism and it is set once the persistance is initialized.




Constructor Detail
Blog
public Blog()(Code)
Empty blog initialized to default parameters



Blog
public Blog(int iDomainId)(Code)
Empty blog for a specified domain initialized to default parameters
Parameters:
  iDomainId - - Id of the domain this blog belongs to



Blog
public Blog(int iId, int iDomainId, String strBlogFolder, String strCaption, String strComments, Timestamp creationTimestamp, Timestamp modificationTimestamp)(Code)
Create blog from a given parameters.
Parameters:
  iId - - Unique ID identifying this Blog
Parameters:
  iDomainId - - Id of the domain this blog belongs to
Parameters:
  strBlogFolder - - Folder allows to categorize Blogs to groups
Parameters:
  strCaption - - More descriptive name of the Blog
Parameters:
  strComments - - Any additional description of the Blog
Parameters:
  creationTimestamp - - Timestamp when the Blog was created
Parameters:
  modificationTimestamp - - Timestamp when the Blog was last time modified




Method Detail
getCaption
public String getCaption()(Code)
Caption is more descriptive name of the blog. String



getCaptionMaxLength
public int getCaptionMaxLength()(Code)
int



getCaptionMaxLengthStatic
public static int getCaptionMaxLengthStatic()(Code)
int



getComments
public String getComments()(Code)
Comments is any additional description of the blog. String



getCommentsMaxLength
public int getCommentsMaxLength()(Code)
int



getCommentsMaxLengthStatic
public static int getCommentsMaxLengthStatic()(Code)
int



getFolder
public String getFolder()(Code)
Folder allows to organize blogs within folders. String



getFolderMaxLength
public int getFolderMaxLength()(Code)
int



getFolderMaxLengthStatic
public static int getFolderMaxLengthStatic()(Code)
int



getIsPreformated
public boolean getIsPreformated()(Code)
Flag signaling if the text contains formatting or not. Example of such formatting is a newline character. boolean



isSame
public boolean isSame(Object oObject)(Code)



setCaptionMaxLength
public static void setCaptionMaxLength(int iCaptionMaxLength)(Code)

Parameters:
  iCaptionMaxLength - - maximal length for caption



setCommentsMaxLength
public static void setCommentsMaxLength(int iCommentsMaxLength)(Code)

Parameters:
  iCommentsMaxLength - - maximal length for comments



setFolderMaxLength
public static void setFolderMaxLength(int iFolderMaxLength)(Code)

Parameters:
  iFolderMaxLength - - maximal length for folder



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