Java Doc for LibraryItemDO.java in  » Groupware » ivatagroupware » com » ivata » groupware » business » library » item » 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 » Groupware » ivatagroupware » com.ivata.groupware.business.library.item 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.ivata.groupware.container.persistence.TimestampDO
   com.ivata.groupware.business.library.item.LibraryItemDO

LibraryItemDO
public class LibraryItemDO extends TimestampDO (Code)

Represents a single item within the library. The item can be one of six types:

  • document
  • Faq (Frequently Asked Question)
  • memo
  • note
  • news item
  • meeting agenda/minutes

This is a dependent value class, used to pass data back from the.

LibraryItemBean LibraryItemBean to a client application.

Note: This class provides data from LibraryItemBean LibraryItemBean . This is no local copy of the bean class, however, and changes here will not be automatically reflected in LibraryItemBean LibraryItemBean .


since:
   2002-06-14
author:
   Colin MacLeod
author:
   colin.macleod@ivata.com
version:
   $Revision: 1.4 $
See Also:   LibraryItemBean




Method Summary
public static  LibraryItemDOconvertFromFile(FileContentDO fileContent)
    
public  ListgetFAQCategories()
    
final public  StringgetImageDirectory()
    
public  ListgetPages()
    

Set all the pages of this item, as a List of PageDO instances.

Note: not all types have pages.

final public  StringgetSummary()
    

Set the summary text.

final public  StringgetTitle()
    

Set the title for this item.

final public  TopicDOgetTopic()
    
final public  IntegergetType()
    
public  StringsaveToFile()
    

This method will convert a library item to a to a file.

final public  voidsetFAQCategories(List fAQCategories)
    
final public  voidsetImageDirectory(String imageDirectory)
    
final public  voidsetPages(List pages)
    

Set all the pages of this item, as a List of PageDO instances.

Note: not all types have pages.

final public  voidsetSummary(String summary)
    

Set the summary text.

final public  voidsetTitle(String title)
    

Set the title for this item.

final public  voidsetTopic(TopicDO topic)
    
final public  voidsetType(Integer type)
    



Method Detail
convertFromFile
public static LibraryItemDO convertFromFile(FileContentDO fileContent)(Code)

This method converts an XML file to a LibraryItemDO.


Parameters:
  fileContent - contains the XML to be converted valid library item.



getFAQCategories
public List getFAQCategories()(Code)

If the item is frequently asked questions, set all the categoreies of questions here.

fAQCategories List of FAQCategoryDOinstances.



getImageDirectory
final public String getImageDirectory()(Code)

Get the directory to store images in for this library item.

the directory to store images in for this library item.



getPages
public List getPages()(Code)

Set all the pages of this item, as a List of PageDO instances.

Note: not all types have pages. Use this method only if this library item represents a document, news item or meeting minutes.

page texts as a set of DO instances.



getSummary
final public String getSummary()(Code)

Set the summary text. This summary will appear on the noticeboard page, giving an overview of the content of the item.

the summary text.



getTitle
final public String getTitle()(Code)

Set the title for this item. Is usually used in the titlebar of the window which displays the item.

the title for this item. Is usually used in the titlebar of thewindow which displays the item.



getTopic
final public TopicDO getTopic()(Code)

Topics are used to group items together and apply rights.

current value of topic.



getType
final public Integer getType()(Code)

Get the type of the item, as one of the values found in LibraryItemConstantsLibraryItemConstants .




saveToFile
public String saveToFile() throws IOException(Code)

This method will convert a library item to a to a file. In this case it will be an XML file.

name of the file this library item was saved to.



setFAQCategories
final public void setFAQCategories(List fAQCategories)(Code)

If the item is frequently asked questions, set all the categoreies of questions here.


Parameters:
  fAQCategories - List of FAQCategoryDOinstances.



setImageDirectory
final public void setImageDirectory(String imageDirectory)(Code)

Set the directory to store images in for this library item.


Parameters:
  imageDirectory - new value of image directory.



setPages
final public void setPages(List pages)(Code)

Set all the pages of this item, as a List of PageDO instances.

Note: not all types have pages. Use this method only if this library item represents a document, news item or meeting minutes.


Parameters:
  pages - new value of page texts as a set of DO instances.



setSummary
final public void setSummary(String summary)(Code)

Set the summary text. This summary will appear on the noticeboard page, giving an overview of the content of the item.


Parameters:
  summary - summary of the item's contents.



setTitle
final public void setTitle(String title)(Code)

Set the title for this item. Is usually used in the titlebar of the window which displays the item.


Parameters:
  title - new value of title.



setTopic
final public void setTopic(TopicDO topic)(Code)

Topics are used to group items together and apply rights.


Parameters:
  topic - new value of topic.



setType
final public void setType(Integer type)(Code)

Set the type of the item, to one of the values found in LibraryItemConstantsLibraryItemConstants .




Methods inherited from com.ivata.groupware.container.persistence.TimestampDO
abstract public Timestamp getCreated()(Code)(Java Doc)
abstract public Timestamp getModified()(Code)(Java Doc)
abstract public void setCreated(Timestamp createdParam)(Code)(Java Doc)
abstract public void setModified(Timestamp modifiedParam)(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.