@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
在接口中 UserCommentsDao
public java.util.List<UserCommentsCount> countCommentsWithSubPath(OLATResourceable olatResourceable, java.lang.String resourceableSubPath)
countCommentsWithSubPath
在接口中 UserCommentsDao
public UserComment createAndSaveComment(OLATResourceable olatResourceable, java.lang.String resourceableSubPath, Identity creator, java.lang.String commentText)
createAndSaveComment
在接口中 UserCommentsDao
public UserComment replyTo(OLATResourceable olatResourceable, java.lang.String resourceableSubPath, UserComment originalComment, Identity creator, java.lang.String replyCommentText)
replyTo
在接口中 UserCommentsDao
public java.util.List<UserComment> getComments(OLATResourceable olatResourceable, java.lang.String resourceableSubPath)
getComments
在接口中 UserCommentsDao
public UserComment updateComment(OLATResourceable olatResourceable, java.lang.String resourceableSubPath, UserComment comment, java.lang.String newCommentText)
updateComment
在接口中 UserCommentsDao
public int deleteComment(OLATResourceable olatResourceable, java.lang.String resourceableSubPath, UserComment comment, boolean deleteReplies)
deleteComment
在接口中 UserCommentsDao
public int deleteAllComments(OLATResourceable olatResourceable, java.lang.String resourceableSubPath)
deleteAllComments
在接口中 UserCommentsDao
public int deleteAllCommentsIgnoringSubPath(OLATResourceable olatResourceable)