@Repository public class UserCommentsDaoImpl extends java.lang.Object implements UserCommentsDao
Initial Date: 23.11.2009
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Long |
countComments(OLATResourceable olatResourceable,
java.lang.String resourceableSubPath) |
java.util.List<UserCommentsCount> |
countCommentsWithSubPath(OLATResourceable olatResourceable,
java.lang.String resourceableSubPath) |
UserComment |
createAndSaveComment(OLATResourceable olatResourceable,
java.lang.String resourceableSubPath,
Identity creator,
java.lang.String commentText) |
int |
deleteAllComments(OLATResourceable olatResourceable,
java.lang.String resourceableSubPath) |
int |
deleteAllCommentsIgnoringSubPath(OLATResourceable olatResourceable) |
int |
deleteComment(OLATResourceable olatResourceable,
java.lang.String resourceableSubPath,
UserComment comment,
boolean deleteReplies) |
java.util.List<UserComment> |
getComments(OLATResourceable olatResourceable,
java.lang.String resourceableSubPath) |
UserComment |
replyTo(OLATResourceable olatResourceable,
java.lang.String resourceableSubPath,
UserComment originalComment,
Identity creator,
java.lang.String replyCommentText)
org.olat.data.basesecurity.Identity, java.lang.String)
|
UserComment |
updateComment(OLATResourceable olatResourceable,
java.lang.String resourceableSubPath,
UserComment comment,
java.lang.String newCommentText) |
public java.lang.Long countComments(OLATResourceable olatResourceable, java.lang.String resourceableSubPath)
countComments 在接口中 UserCommentsDaopublic java.util.List<UserCommentsCount> countCommentsWithSubPath(OLATResourceable olatResourceable, java.lang.String resourceableSubPath)
countCommentsWithSubPath 在接口中 UserCommentsDaopublic UserComment createAndSaveComment(OLATResourceable olatResourceable, java.lang.String resourceableSubPath, Identity creator, java.lang.String commentText)
createAndSaveComment 在接口中 UserCommentsDaopublic UserComment replyTo(OLATResourceable olatResourceable, java.lang.String resourceableSubPath, UserComment originalComment, Identity creator, java.lang.String replyCommentText)
replyTo 在接口中 UserCommentsDaopublic java.util.List<UserComment> getComments(OLATResourceable olatResourceable, java.lang.String resourceableSubPath)
getComments 在接口中 UserCommentsDaopublic UserComment updateComment(OLATResourceable olatResourceable, java.lang.String resourceableSubPath, UserComment comment, java.lang.String newCommentText)
updateComment 在接口中 UserCommentsDaopublic int deleteComment(OLATResourceable olatResourceable, java.lang.String resourceableSubPath, UserComment comment, boolean deleteReplies)
deleteComment 在接口中 UserCommentsDaopublic int deleteAllComments(OLATResourceable olatResourceable, java.lang.String resourceableSubPath)
deleteAllComments 在接口中 UserCommentsDaopublic int deleteAllCommentsIgnoringSubPath(OLATResourceable olatResourceable)