KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > forum > Forum


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.communication.forum;
6
7 import java.util.Date JavaDoc ;
8 import java.util.Collection JavaDoc ;
9 /**
10  * Created by The eXo Platform SARL .
11  * Author : Tuan Nguyen
12  * tuan08@users.sourceforge.net
13  * Date: Jun 14, 2003
14  * Time: 1:12:22 PM
15  */

16 public interface Forum {
17   public String JavaDoc getId() ;
18   public String JavaDoc getCategoryId() ;
19   
20   public String JavaDoc getForumName() ;
21   public void setForumName(String JavaDoc s) ;
22
23   public String JavaDoc getDescription() ;
24   public void setDescription(String JavaDoc s) ;
25   
26   public String JavaDoc getOwner() ;
27   public void setOwner(String JavaDoc s) ;
28   
29   public Date JavaDoc getCreatedDate() ;
30   public void setCreatedDate(Date JavaDoc d) ;
31
32   public String JavaDoc getModifiedBy() ;
33   public void setModifiedBy(String JavaDoc s) ;
34
35   public Date JavaDoc getModifiedDate() ;
36   public void setModifiedDate(Date JavaDoc d) ;
37   
38   public Date JavaDoc getLastPostDate() ;
39   public void setLastPostDate(Date JavaDoc d) ;
40
41   public String JavaDoc getLastPostBy() ;
42   public void setLastPostBy(String JavaDoc s) ;
43
44   public int getPostCount() ;
45   public void setPostCount(int num) ;
46
47   public int getTopicCount() ;
48   public void setTopicCount(int num) ;
49
50   public String JavaDoc getViewForumRole() ;
51   public void setViewForumRole(String JavaDoc role) ;
52
53   public String JavaDoc getCreateTopicRole() ;
54   public void setCreateTopicRole(String JavaDoc role) ;
55
56   public String JavaDoc getReplyTopicRole() ;
57   public void setReplyTopicRole(String JavaDoc role) ;
58   
59   public int getForumOrder() ;
60   public void setForumOrder(int num) ;
61   
62   public boolean isModerator(String JavaDoc user) ;
63   public Collection JavaDoc getAllModerators() ;
64   public String JavaDoc getModerators() ;
65   public void setModerators(String JavaDoc s) ;
66 }
67
Popular Tags