| 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 |
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 FAQCategoryDO instances. |
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. |
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 FAQCategoryDO instances. |
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. |
|
|