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

Entry
public class Entry extends ModifiableDataObject (Code)
Entry within a blog. Entry has caption, text and can have an image associated with it. Entry can also contain separate URL associated with the image.
version:
   $Id: Entry.java,v 1.5 2007/02/20 02:10:00 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_BLOGENTRY_CAPTION
     Code for table column.
final public static  IntegerCOL_BLOGENTRY_CAPTION_OBJ
     Object code for table column.
final public static  intCOL_BLOGENTRY_COMMENTS
     Code for table column.
final public static  IntegerCOL_BLOGENTRY_COMMENTS_OBJ
     Object code for table column.
final public static  intCOL_BLOGENTRY_CREATION_DATE
     Code for table column.
final public static  intCOL_BLOGENTRY_DOMAIN_ID
     Code for table column.
final public static  intCOL_BLOGENTRY_ID
     Code for table column.
final public static  IntegerCOL_BLOGENTRY_ID_OBJ
     Object code for table column.
final public static  intCOL_BLOGENTRY_IMAGEURL
     Code for table column.
final public static  IntegerCOL_BLOGENTRY_IMAGEURL_OBJ
     Object code for table column.
final public static  intCOL_BLOGENTRY_MODIFICATION_DATE
     Code for table column.
final public static  intCOL_BLOGENTRY_PARENT_ID
     Code for table column.
final public static  intCOL_BLOGENTRY_TARGETURL
     Code for table column.
final public static  IntegerCOL_BLOGENTRY_TARGETURL_OBJ
     Object 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  intm_iParentId
     Parent ID is the ID of the blog this entry belongs to.
protected  Stringm_strCaption
     Caption is more descriptive name of the entry.
protected  Stringm_strComments
     Comments is any additional text for the entry.
protected  Stringm_strImageURL
     Image URL of image associated with the entry.
protected  Stringm_strTargetURL
     Target URL for the image when user clicks on the image.
protected static  ints_iCaptionMaxLength
     Maximal length of the caption field.
protected static  ints_iCommentsMaxLength
     Maximal length of the comments field.
protected static  ints_iImageURLMaxLength
     Maximal length of the image URL field.
protected static  ints_iTargetURLMaxLength
     Maximal length of the target URL field.

Constructor Summary
public  Entry()
    
public  Entry(int iDomainId)
    
public  Entry(int iDomainId, int iParentId)
    
public  Entry(int iId, int iDomainId, int iParentId, String strCaption, String strComments, String strImageURL, String strTargetURL, Timestamp creationTimestamp, Timestamp modificationTimestamp)
     Create entry from a given parameters.

Method Summary
public  StringgetCaption()
     Caption is more descriptive name of the entry.
public  intgetCaptionMaxLength()
    
public static  intgetCaptionMaxLengthStatic()
    
public  StringgetComments()
     Comments is any additional description of the entry.
public  intgetCommentsMaxLength()
    
public static  intgetCommentsMaxLengthStatic()
    
public  StringgetImageURL()
     Image URL of image associated with the entry.
public  intgetImageURLMaxLength()
    
public static  intgetImageURLMaxLengthStatic()
    
public  booleangetIsPreformated()
     Flag signaling if the text contains formatting or not.
public  intgetParentId()
     Id of the parent this entry belongs to.
public  StringgetTargetURL()
     Target URL to display when user clicks on the image associated with this entry.
public  intgetTargetURLMaxLength()
    
public static  intgetTargetURLMaxLengthStatic()
    
public  booleanisSame(Object oObject)
    
public static  voidsetCaptionMaxLength(int iCaptionMaxLength)
    
public static  voidsetCommentsMaxLength(int iCommentsMaxLength)
    
public static  voidsetImageURLMaxLength(int iImageURLMaxLength)
    
public  voidsetParentId(int iParentId)
     Id of the parent this entry belongs to.
public static  voidsetTargetURLMaxLength(int iTargetURLMaxLength)
    

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_BLOGENTRY_CAPTION
final public static int COL_BLOGENTRY_CAPTION(Code)
Code for table column.



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



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



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



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



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



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



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



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



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



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



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



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



COL_BLOGENTRY_TARGETURL_OBJ
final public static Integer COL_BLOGENTRY_TARGETURL_OBJ(Code)
Object 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_iParentId
protected int m_iParentId(Code)
Parent ID is the ID of the blog this entry belongs to.



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



m_strComments
protected String m_strComments(Code)
Comments is any additional text for the entry.



m_strImageURL
protected String m_strImageURL(Code)
Image URL of image associated with the entry.



m_strTargetURL
protected String m_strTargetURL(Code)
Target URL for the image when user clicks on the image.



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_iImageURLMaxLength
protected static int s_iImageURLMaxLength(Code)
Maximal length of the image URL field. The value depends on the underlying persistance mechanism and it is set once the persistance is initialized.



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




Constructor Detail
Entry
public Entry()(Code)
Empty entry initialized to default parameters



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



Entry
public Entry(int iDomainId, int iParentId)(Code)
Empty entry for a specified domain and parent initialized to default parameters
Parameters:
  iDomainId - - Id of the domain this domain belongs to
Parameters:
  iParentId - - Id of the parent this entry belongs to



Entry
public Entry(int iId, int iDomainId, int iParentId, String strCaption, String strComments, String strImageURL, String strTargetURL, Timestamp creationTimestamp, Timestamp modificationTimestamp)(Code)
Create entry from a given parameters.
Parameters:
  iId - - Id of the entry
Parameters:
  iDomainId - - Id of the domain this domain belongs to
Parameters:
  iParentId - - Id of the parent this entry belongs to
Parameters:
  strCaption - - More descriptive name of the entry
Parameters:
  strComments - - Any additional text of the entry
Parameters:
  strImageURL - - Image URL of image associated with the entry
Parameters:
  strTargetURL - - Target URL for the image when user clicks on the image
Parameters:
  creationTimestamp - - Timestamp when the entry was created
Parameters:
  modificationTimestamp - - Timestamp when the entry was last time modified




Method Detail
getCaption
public String getCaption()(Code)
Caption is more descriptive name of the entry. 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 entry. String



getCommentsMaxLength
public int getCommentsMaxLength()(Code)
int



getCommentsMaxLengthStatic
public static int getCommentsMaxLengthStatic()(Code)
int



getImageURL
public String getImageURL()(Code)
Image URL of image associated with the entry. String



getImageURLMaxLength
public int getImageURLMaxLength()(Code)
int - maximal length for image URL



getImageURLMaxLengthStatic
public static int getImageURLMaxLengthStatic()(Code)
int - maximal length for image URL



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



getParentId
public int getParentId()(Code)
Id of the parent this entry belongs to. int



getTargetURL
public String getTargetURL()(Code)
Target URL to display when user clicks on the image associated with this entry. String



getTargetURLMaxLength
public int getTargetURLMaxLength()(Code)
int - maximal length for target URL



getTargetURLMaxLengthStatic
public static int getTargetURLMaxLengthStatic()(Code)
int - maximal length for target URL



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



setImageURLMaxLength
public static void setImageURLMaxLength(int iImageURLMaxLength)(Code)

Parameters:
  iImageURLMaxLength - - maximal length for image URL



setParentId
public void setParentId(int iParentId)(Code)
Id of the parent this entry belongs to.
Parameters:
  iParentId - - if of the parent this entry belongs to



setTargetURLMaxLength
public static void setTargetURLMaxLength(int iTargetURLMaxLength)(Code)

Parameters:
  iTargetURLMaxLength - - maximal length for target URL



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