Agentflow
V3.1

si.wfcidata
Class AFBBSManager

java.lang.Object
  extended by si.wfcidata.AFBBSManager

public class AFBBSManager
extends java.lang.Object

AFBBSManager

Version:
1.1.5,
Author:
Flowring co.

Constructor Summary
AFBBSManager(WFCI wfci)
          Constructor
 
Method Summary
 boolean activeAFBBSBoard(java.lang.String bbsBoardID)
          Activate an AFBBSBoard to be active.
 boolean delAFBBSMsg(AFBBSMessage msg)
          Delete an AFBBSMessage.
 boolean delAFBBSMsg(java.lang.String bbsBoardID, java.lang.String msgID)
          Delete an AFBBSMessage.
 boolean deleteAFBBSBoard(java.lang.String bbsBoardID)
          Delete an AFBBSBoard.
 java.util.Vector getAFBBSBoard()
          Get AFBBSBorad list which board is readable.
 AFBBSBoard getAFBBSBoard(java.lang.String bbsBoardID)
          Get AFBBSBorad object with ID.
 AFBBSMessage getAFBBSMsg(java.lang.String msgID)
          Get the AFBBSMessage object with ID.
 java.util.Vector getAFBBSMsgList(java.lang.String bbsBoardID)
          Get all AFBBSMessages of the BBS board.
 java.util.Vector getAllBBSBoard()
          Get AFBBSBorad list which board, including active and suspended.
 boolean newAFBBSBoard(AFBBSBoard bbsBoard)
          New an AFBBSBoard object and add it to database.
 boolean postAFBBSMsg(AFBBSMessage msg)
          Post an AFBBSMessage.
 boolean suspendAFBBSBoard(java.lang.String bbsBoardID)
          Suspend an AFBBSBoard with specific ID.
 boolean updateAFBBSBoard(AFBBSBoard bbsBoard)
          Update an AFBBSBoard's data in database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AFBBSManager

public AFBBSManager(WFCI wfci)
Constructor

Parameters:
wfci - WFCI interface
Method Detail

activeAFBBSBoard

public boolean activeAFBBSBoard(java.lang.String bbsBoardID)
                         throws WFCIException
Activate an AFBBSBoard to be active.

Parameters:
bbsBoardID - the AFBBSBoard ID
Returns:
true if succeeded
Throws:
WFCIException

delAFBBSMsg

public boolean delAFBBSMsg(AFBBSMessage msg)
                    throws WFCIException
Delete an AFBBSMessage.

Parameters:
msg - the deleted AFBBSMessage
Returns:
true if succeeded
Throws:
WFCIException

delAFBBSMsg

public boolean delAFBBSMsg(java.lang.String bbsBoardID,
                           java.lang.String msgID)
                    throws WFCIException
Delete an AFBBSMessage.

Parameters:
bbsBoardID - the board ID where the deleted message is in
msgID - the deleted message ID
Returns:
true if succeeded
Throws:
WFCIException

deleteAFBBSBoard

public boolean deleteAFBBSBoard(java.lang.String bbsBoardID)
                         throws WFCIException
Delete an AFBBSBoard.

Parameters:
bbsBoardID - the AFBBSBoard ID
Returns:
true if succeeded
Throws:
WFCIException

getAFBBSBoard

public java.util.Vector getAFBBSBoard()
                               throws WFCIException
Get AFBBSBorad list which board is readable.

Returns:
all borads(each element in Vector are instance of AFBBSBoard)
Throws:
WFCIException

getAFBBSBoard

public AFBBSBoard getAFBBSBoard(java.lang.String bbsBoardID)
                         throws WFCIException
Get AFBBSBorad object with ID.

Parameters:
bbsBoardID - the board ID
Returns:
AFBBSBoard object
Throws:
WFCIException

getAFBBSMsg

public AFBBSMessage getAFBBSMsg(java.lang.String msgID)
                         throws WFCIException
Get the AFBBSMessage object with ID.

Parameters:
msgID - the message ID
Returns:
AFBBSMessage object
Throws:
WFCIException

getAFBBSMsgList

public java.util.Vector getAFBBSMsgList(java.lang.String bbsBoardID)
                                 throws WFCIException
Get all AFBBSMessages of the BBS board.

Parameters:
bbsBoardID - the given borad ID
Returns:
all bbs messages(each element in Vector are instance of AFBBSMessage)
Throws:
WFCIException

getAllBBSBoard

public java.util.Vector getAllBBSBoard()
                                throws WFCIException
Get AFBBSBorad list which board, including active and suspended.

Returns:
all borads(each element in Vector are instance of AFBBSBoard)
Throws:
WFCIException

newAFBBSBoard

public boolean newAFBBSBoard(AFBBSBoard bbsBoard)
                      throws WFCIException
New an AFBBSBoard object and add it to database.

Parameters:
bbsBoard - the new AFBBSBoard object
Returns:
true if succeeded
Throws:
WFCIException

postAFBBSMsg

public boolean postAFBBSMsg(AFBBSMessage msg)
                     throws WFCIException
Post an AFBBSMessage.

Parameters:
msg - the posted AFBBSMessage
Returns:
true if succeeded
Throws:
WFCIException

suspendAFBBSBoard

public boolean suspendAFBBSBoard(java.lang.String bbsBoardID)
                          throws WFCIException
Suspend an AFBBSBoard with specific ID.

Parameters:
bbsBoardID - the AFBBSBoard ID
Returns:
true if succeeded
Throws:
WFCIException

updateAFBBSBoard

public boolean updateAFBBSBoard(AFBBSBoard bbsBoard)
                         throws WFCIException
Update an AFBBSBoard's data in database.

Parameters:
bbsBoard - the AFBBSBoard object
Returns:
true if succeeded
Throws:
WFCIException

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.