KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portlet > forums > model > Message


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under GPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portlet.forums.model;
12
13
14 /**
15  * An object that groups the message informations for a post.
16  *
17  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
18  * @author <a HREF="mailto:theute@jboss.org">Thomas Heute</a>
19  * @version $Revision: 1.2 $
20  */

21 public interface Message
22 {
23    /**
24     * DOCUMENT_ME
25     *
26     * @return DOCUMENT_ME
27     */

28    public String JavaDoc getSubject();
29
30    /**
31     * DOCUMENT_ME
32     *
33     * @param subject DOCUMENT_ME
34     */

35    public void setSubject(String JavaDoc subject);
36
37    /**
38     * DOCUMENT_ME
39     *
40     * @return DOCUMENT_ME
41     */

42    public String JavaDoc getText();
43
44    /**
45     * DOCUMENT_ME
46     *
47     * @param text DOCUMENT_ME
48     */

49    public void setText(String JavaDoc text);
50
51    /**
52     * DOCUMENT_ME
53     *
54     * @return DOCUMENT_ME
55     */

56    public boolean getBBCodeEnabled();
57
58    /**
59     * DOCUMENT_ME
60     *
61     * @param BBCodeEnabled DOCUMENT_ME
62     */

63    public void setBBCodeEnabled(boolean BBCodeEnabled);
64
65    /**
66     * DOCUMENT_ME
67     *
68     * @return DOCUMENT_ME
69     */

70    public boolean getHTMLEnabled();
71
72    /**
73     * DOCUMENT_ME
74     *
75     * @param HTMLEnabled DOCUMENT_ME
76     */

77    public void setHTMLEnabled(boolean HTMLEnabled);
78
79    /**
80     * DOCUMENT_ME
81     *
82     * @return DOCUMENT_ME
83     */

84    public boolean getSmiliesEnabled();
85
86    /**
87     * DOCUMENT_ME
88     *
89     * @param smiliesEnabled DOCUMENT_ME
90     */

91    public void setSmiliesEnabled(boolean smiliesEnabled);
92
93    /**
94     * DOCUMENT_ME
95     *
96     * @return DOCUMENT_ME
97     */

98    public boolean getSignatureEnabled();
99
100    /**
101     * DOCUMENT_ME
102     *
103     * @param signatureEnabled DOCUMENT_ME
104     */

105    public void setSignatureEnabled(boolean signatureEnabled);
106 }
Popular Tags