Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java,v diff -u -r1.4 -r1.5 --- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java 5 Jul 2005 06:39:30 -0000 1.4 +++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java 14 Jul 2005 02:20:59 -0000 1.5 @@ -37,13 +37,7 @@ // NoticeboardContent access methods //=================================================================== - /** - *
Retrieve an instance of NoticeboardContent with the given
- * identifier uid
Returns the persistent instance of NoticeboardContent @@ -116,16 +110,8 @@ */ public NoticeboardSession retrieveNoticeboardSession(Long nbSessionId); + /** - *
Return the persistent instance of a NoticeboardSession
- * with the given identifier uid
, returns null if not found.
Delete the given instance of NoticeboardSession with the
- * given identifier uid
- *
- * @param uid an identifier for the NoticeboardSession instance.
- */
- public void removeSessionByUID(Long uid);
-
- /**
*
Deletes all instances of NoticeboardUser that are associated * with the given instance of NoticeboardSession
* @@ -193,14 +172,6 @@ */ public NoticeboardUser retrieveNoticeboardUser(Long nbUserId); - /** - *Return the persistent instance of a NoticeboardUser
- * with the given identifier uid
, returns null if not found.
Performs a check on the flag indicated by flag
- * In this noticeboard tool, there are 3 possible flags:
- *
+ *
Saves the instance of NoticeboardSession to the database.
+ * This instance is added to the collection of sessions from
+ * NoticeboardContent with tool content id nbContentId
Saves the instance of NoticeboardUser to the database.
+ * nbUser
is added to the collection of users from
+ * NoticeboardSession with tool session id nbSessionId