Agentflow
V3.1

si.wfinterface
Interface BBS


public interface BBS

BBS system interface

Version:
1.1.5,
Author:
Flowring co.

Method Summary
 boolean activeBBSBoard(java.lang.String boardID)
          Activate a BBSBoard to be readable.
 boolean delBBSMsg(java.lang.String boardID, java.lang.String msgID)
          Delete a message.
 boolean deleteBBSBoard(java.lang.String boardID)
          Delete a BBSBoard.
 java.util.Vector getAllBBSBoard()
          Get BBS borad list which board is readable or unreadable .
 java.util.Vector getBBSBoard()
          Get BBS borad list which board is active.
 BBSBoard getBBSBoard(java.lang.String boardID)
          Get the BBS borad instance.
 BBSMessage getBBSMsg(java.lang.String msgID)
          Get the BBSMessage object with ID.
 java.util.Vector getBBSMsgList(java.lang.String board)
          Get all messages of the BBS board.
 boolean newBBSBoard(BBSBoard bbsBoard)
          New a BBSBoard object and add it to database.
 boolean postBBSMsg(BBSMessage msg)
          Post a message.
 boolean suspendBBSBoard(java.lang.String bbsBoardID)
          Suspend a BBSBoard with specific ID.
 boolean updateBBSBoard(BBSBoard bbsBoard)
          Update a BBSBoard's data in database.
 

Method Detail

activeBBSBoard

boolean activeBBSBoard(java.lang.String boardID)
                       throws java.rmi.RemoteException
Activate a BBSBoard to be readable.

Parameters:
bbsBoardID - the BBSBoard ID
Returns:
true if succeeded
Throws:
java.rmi.RemoteException

delBBSMsg

boolean delBBSMsg(java.lang.String boardID,
                  java.lang.String msgID)
                  throws java.rmi.RemoteException
Delete a message.

Parameters:
boardID - the board ID where the deleted message is in
msgID - the deleted message ID
Returns:
true if succeeded
Throws:
java.rmi.RemoteException

deleteBBSBoard

boolean deleteBBSBoard(java.lang.String boardID)
                       throws java.rmi.RemoteException
Delete a BBSBoard.

Parameters:
bbsBoardID - the BBSBoard ID
Returns:
true if succeeded
Throws:
java.rmi.RemoteException

getAllBBSBoard

java.util.Vector getAllBBSBoard()
                                throws java.rmi.RemoteException
Get BBS borad list which board is readable or unreadable .

Returns:
all borads(each element in Vector are instance of BBSBoard)
Throws:
java.rmi.RemoteException

getBBSBoard

java.util.Vector getBBSBoard()
                             throws java.rmi.RemoteException
Get BBS borad list which board is active.

Returns:
all borads(each element in Vector are instance of BBSBoard)
Throws:
java.rmi.RemoteException

getBBSBoard

BBSBoard getBBSBoard(java.lang.String boardID)
                     throws java.rmi.RemoteException
Get the BBS borad instance.

Parameters:
boardID - the board ID
Returns:
the borads
Throws:
java.rmi.RemoteException

getBBSMsg

BBSMessage getBBSMsg(java.lang.String msgID)
                     throws java.rmi.RemoteException
Get the BBSMessage object with ID.

Parameters:
boardID - the board ID where the deleted message is in
Returns:
BBSMessage object
Throws:
java.rmi.RemoteException

getBBSMsgList

java.util.Vector getBBSMsgList(java.lang.String board)
                               throws java.rmi.RemoteException
Get all messages of the BBS board.

Parameters:
board - the givin borad ID
Returns:
all messages(each element in Vector are instance of BBSMessage)
Throws:
java.rmi.RemoteException

newBBSBoard

boolean newBBSBoard(BBSBoard bbsBoard)
                    throws java.rmi.RemoteException
New a BBSBoard object and add it to database.

Parameters:
bbsBoard - the new BBSBoard object
Returns:
true if succeeded
Throws:
java.rmi.RemoteException

postBBSMsg

boolean postBBSMsg(BBSMessage msg)
                   throws java.rmi.RemoteException
Post a message.

Parameters:
msg - the posted message
Returns:
true if succeeded
Throws:
java.rmi.RemoteException

suspendBBSBoard

boolean suspendBBSBoard(java.lang.String bbsBoardID)
                        throws java.rmi.RemoteException
Suspend a BBSBoard with specific ID.

Parameters:
bbsBoardID - the BBSBoard ID
Returns:
true if succeeded
Throws:
java.rmi.RemoteException

updateBBSBoard

boolean updateBBSBoard(BBSBoard bbsBoard)
                       throws java.rmi.RemoteException
Update a BBSBoard's data in database.

Parameters:
bbsBoard - the BBSBoard object
Returns:
true if succeeded
Throws:
java.rmi.RemoteException

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.