Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java =================================================================== diff -u -r7065c3c7f27c9dbc49864cefcea4740b0ced2fc4 -r0048b5d3c999c59bd1fb45b2b231fa97343801e7 --- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java (.../INoticeboardService.java) (revision 7065c3c7f27c9dbc49864cefcea4740b0ced2fc4) +++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/service/INoticeboardService.java (.../INoticeboardService.java) (revision 0048b5d3c999c59bd1fb45b2b231fa97343801e7) @@ -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