KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freeforums > message > MessageManager


1 /*
2  * MessageManager.java
3  *
4  * Defines the remote interface for the MessageManager Session Bean
5  *
6  * @author: Devraj Mukherjee
7  *
8  * Created: 24th June 2001
9  *
10  */

11
12  package freeforums.message;
13
14  import javax.ejb.EJBObject JavaDoc;
15  import javax.ejb.*;
16  import java.rmi.RemoteException JavaDoc;
17
18  import org.jdom.*;
19
20  public interface MessageManager extends EJBObject JavaDoc {
21
22      public Document getMessage(Document message) throws RemoteException JavaDoc, FinderException;
23
24      public Document addMessage(Document MessageInformation) throws RemoteException JavaDoc, FinderException;
25
26      public Document markReadMessage(Document MessageInfo) throws RemoteException JavaDoc, FinderException;
27
28      public Document isReadMessage(Document MessageInfo) throws RemoteException JavaDoc, FinderException;
29
30      public Document findMessagesForForum(Document ForumID) throws RemoteException JavaDoc, FinderException;
31
32  }
33
Popular Tags