Source code: com/RuntimeCollective/bboard/bean/SimpleHelp.java
1 /* $Header: /home/CVS/rjp/src/com/RuntimeCollective/bboard/bean/SimpleHelp.java,v 1.4 2003/09/30 15:12:43 joe Exp $
2 * $Revision: 1.4 $
3 * $Date: 2003/09/30 15:12:43 $
4 *
5 * ====================================================================
6 *
7 * Josephine : http://www.runtime-collective.com/josephine/index.html
8 *
9 * Copyright (C) 2003 Runtime Collective
10 *
11 * This product includes software developed by the
12 * Apache Software Foundation (http://www.apache.org/).
13 *
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 *
28 */
29
30 package com.RuntimeCollective.bboard.bean;
31
32 import java.sql.SQLException;
33
34 /** A simple implementation of a Help page. This has the same structure as a FAQ; with the description being used for more general help.
35 * @author Joe Faith
36 * @version $Id: SimpleHelp.java,v 1.4 2003/09/30 15:12:43 joe Exp $
37 */
38 public class SimpleHelp extends SimpleFaq implements Help {
39
40 /** The name of the interface that this bean implements, and which may be used to key this bean on the session. */
41 public static final String INTERFACE_BEAN = "com.RuntimeCollective.bboard.bean.Help";
42
43 /** Construct a new simple help page
44 * @exception SQLException if there was a problem constructing the bean
45 */
46 public SimpleHelp() throws SQLException {
47 super();
48 }
49
50 /** Get the given Help page from the database.
51 * @param id The primary key of the help to find.
52 * @exception SQLException if no bean is found for that id.
53 */
54 public SimpleHelp( int id ) throws SQLException {
55 super(id);
56 }
57
58 }