java.lang.Object
com.RuntimeCollective.content.bean.SimpleContent
com.RuntimeCollective.content.bean.TextComponent
com.RuntimeCollective.bboard.bean.SimpleBoard
com.RuntimeCollective.bboard.bean.SimpleFaq
- All Implemented Interfaces:
- Board, com.RuntimeCollective.content.bean.Content, com.RuntimeCollective.webapps.bean.Duplicable, com.RuntimeCollective.webapps.bean.EntityBean, Faq, com.RuntimeCollective.webapps.bean.PermissionBean, java.io.Serializable
- Direct Known Subclasses:
- SimpleHelp
- public class SimpleFaq
- extends SimpleBoard
- implements Faq
A simple implementation of a Faq list, which uses the same DB tables as SimpleBoard/Topic/Message
- Version:
- $Id: SimpleFaq.java,v 1.8 2003/09/30 15:12:43 joe Exp $
|
Field Summary |
static java.lang.String |
INTERFACE_BEAN
The name of the interface that this bean implements, and which may be used to key this bean on the session. |
| Fields inherited from interface com.RuntimeCollective.webapps.bean.EntityBean |
NULL_ID |
|
Constructor Summary |
SimpleFaq()
Default constructor generates a new blank faq. |
SimpleFaq(int id)
Get the given Faq from the database. |
| Methods inherited from class com.RuntimeCollective.bboard.bean.SimpleBoard |
addTopic, approveAll, archive, canEdit, canView, delete, deleteTopics, getDescription, getDescription, getFaq, getIndexedTopics, getLastUpdated, getNumTopics, getOpen, getTopicList, getTopicListByMessageDate, getTopics, hasUnread, removeTopic, save, setDescription, setDescription, setOpen |
| Methods inherited from class com.RuntimeCollective.content.bean.SimpleContent |
customiseDuplicate, getAuthor, getCreationDate, getId, getLastModifiedDate, getLastModifierUser, makeDuplicate, makeDuplicate, setAuthor, setCreationDate, setId, setLastModifiedDate, setLastModifierUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.RuntimeCollective.bboard.bean.Board |
addTopic, approveAll, getDescription, getFaq, getIndexedTopics, getOpen, getTopicList, getTopicListByMessageDate, getTopics, hasUnread, removeTopic, setDescription, setOpen |
| Methods inherited from interface com.RuntimeCollective.content.bean.Content |
getAuthor, getCreationDate, getDescription, getLastModifiedDate, getLastModifierUser, getTitle, setAuthor, setCreationDate, setDescription, setLastModifiedDate, setLastModifierUser, setTitle, viewFormat |
INTERFACE_BEAN
public static final java.lang.String INTERFACE_BEAN
- The name of the interface that this bean implements, and which may be used to key this bean on the session.
- See Also:
- Constant Field Values
SimpleFaq
public SimpleFaq()
throws java.sql.SQLException
- Default constructor generates a new blank faq.
SimpleFaq
public SimpleFaq(int id)
throws java.sql.SQLException
- Get the given Faq from the database.
getAllQuestionsAsList
public java.util.List getAllQuestionsAsList()
throws java.sql.SQLException
- Get all the questions in this faq, as a List
getAllQuestions
public Message[] getAllQuestions()
throws java.sql.SQLException
- Get all the questions in this faq.