Uses of Class
org.silverpeas.core.comment.model.Comment
-
Packages that use Comment Package Description org.silverpeas.core.comment.dao org.silverpeas.core.comment.dao.jdbc org.silverpeas.core.comment.service org.silverpeas.core.comment.service.notification org.silverpeas.core.comment.socialnetwork org.silverpeas.core.webapi.comment Provides the REST web service that handle requests about comments on a given resource in published in Silverpeas. -
-
Uses of Comment in org.silverpeas.core.comment.dao
Methods in org.silverpeas.core.comment.dao that return Comment Modifier and Type Method Description Comment
CommentDAO. getComment(CommentId commentId)
Gets the comment identified by the specified primary key.Comment
CommentDAO. saveComment(Comment cmt)
Saves the specified comment into the underlying data source.Methods in org.silverpeas.core.comment.dao that return types with arguments of type Comment Modifier and Type Method Description List<Comment>
CommentDAO. getAllCommentsByForeignKey(String resourceType, ResourceReference resourceRef)
Gets all the comments of the publication identified by the resource type and the specified foreign key.List<Comment>
CommentDAO. getLastComments(String instanceId, int count)
Gets the last comments posted to the publications in the specified component instance.Methods in org.silverpeas.core.comment.dao with parameters of type Comment Modifier and Type Method Description Comment
CommentDAO. saveComment(Comment cmt)
Saves the specified comment into the underlying data source.void
CommentDAO. updateComment(Comment cmt)
Updates the comment in the data source identified by the specified one with the values carried by the specified comment. -
Uses of Comment in org.silverpeas.core.comment.dao.jdbc
Methods in org.silverpeas.core.comment.dao.jdbc that return Comment Modifier and Type Method Description Comment
JDBCCommentDAO. getComment(CommentId commentId)
Comment
JDBCCommentRequester. getComment(Connection con, CommentId commentId)
Gets the comment identified by the specified identifier.Comment
JDBCCommentDAO. saveComment(Comment cmt)
Comment
JDBCCommentRequester. saveComment(Connection con, Comment cmt)
Saves the specified comment with the specified connection onto a data source.Methods in org.silverpeas.core.comment.dao.jdbc that return types with arguments of type Comment Modifier and Type Method Description List<Comment>
JDBCCommentRequester. getAllComments(Connection con, String resourceType, ResourceReference resourceRef)
List<Comment>
JDBCCommentDAO. getAllCommentsByForeignKey(String resourceType, ResourceReference resourceRef)
List<Comment>
JDBCCommentDAO. getLastComments(String instanceId, int count)
List<Comment>
JDBCCommentRequester. getLastComments(Connection con, String instanceId, int count)
Methods in org.silverpeas.core.comment.dao.jdbc with parameters of type Comment Modifier and Type Method Description Comment
JDBCCommentDAO. saveComment(Comment cmt)
Comment
JDBCCommentRequester. saveComment(Connection con, Comment cmt)
Saves the specified comment with the specified connection onto a data source.void
JDBCCommentDAO. updateComment(Comment cmt)
void
JDBCCommentRequester. updateComment(Connection con, Comment cmt)
Updates the comment representation in the data source by the specified one. -
Uses of Comment in org.silverpeas.core.comment.service
Methods in org.silverpeas.core.comment.service that return Comment Modifier and Type Method Description Comment
CommentService. createAndIndexComment(Comment cmt)
Persists and indexes the specified comment and notifies any observers about the comment creation.Comment
DefaultCommentService. createAndIndexComment(Comment cmt)
Comment
CommentService. createComment(Comment cmt)
Persists the specified comment and notifies any observers about the comment creation.Comment
DefaultCommentService. createComment(Comment cmt)
Comment
CommentService. getComment(CommentId commentId)
Gets the comment that identified by the specified identifier.Comment
DefaultCommentService. getComment(CommentId commentId)
Methods in org.silverpeas.core.comment.service that return types with arguments of type Comment Modifier and Type Method Description List<Comment>
CommentService. getAllCommentsOnResource(String resourceType, ResourceReference resourceRef)
Gets all the comments on the resource identified by the resource type and the specified reference.List<Comment>
DefaultCommentService. getAllCommentsOnResource(String resourceType, ResourceReference resourceRef)
List<Comment>
CommentService. getLastComments(String resourceType, int count)
List<Comment>
DefaultCommentService. getLastComments(String resourceType, int count)
Methods in org.silverpeas.core.comment.service with parameters of type Comment Modifier and Type Method Description Comment
CommentService. createAndIndexComment(Comment cmt)
Persists and indexes the specified comment and notifies any observers about the comment creation.Comment
DefaultCommentService. createAndIndexComment(Comment cmt)
Comment
CommentService. createComment(Comment cmt)
Persists the specified comment and notifies any observers about the comment creation.Comment
DefaultCommentService. createComment(Comment cmt)
void
CommentService. deleteComment(Comment comment)
Deletes the specified comment and notifies about any observers about his deletion.void
DefaultCommentService. deleteComment(Comment comment)
void
CommentService. updateAndIndexComment(Comment cmt)
Updates and indexes the specified comment in the business layer.void
DefaultCommentService. updateAndIndexComment(Comment cmt)
void
CommentService. updateComment(Comment cmt)
Updates the specified comment in the business layer.void
DefaultCommentService. updateComment(Comment cmt)
Constructors in org.silverpeas.core.comment.service with parameters of type Comment Constructor Description CommentUserNotification(CommentService commentService, Comment comment, Contribution commentedContent, String subjectKey, LocalizationBundle componentMessages, Set<String> recipients)
-
Uses of Comment in org.silverpeas.core.comment.service.notification
Methods in org.silverpeas.core.comment.service.notification with parameters of type Comment Modifier and Type Method Description protected CommentEvent
CommentEventNotifier. createResourceEventFrom(ResourceEvent.Type type, Comment... resource)
Constructors in org.silverpeas.core.comment.service.notification with parameters of type Comment Constructor Description CommentEvent(ResourceEvent.Type type, Comment... resource)
-
Uses of Comment in org.silverpeas.core.comment.socialnetwork
Methods in org.silverpeas.core.comment.socialnetwork that return Comment Modifier and Type Method Description Comment
SocialInformationComment. getComment()
Constructors in org.silverpeas.core.comment.socialnetwork with parameters of type Comment Constructor Description SocialInformationComment(Comment comment)
Constructor with one param -
Uses of Comment in org.silverpeas.core.webapi.comment
Methods in org.silverpeas.core.webapi.comment that return Comment Modifier and Type Method Description Comment
CommentEntity. toComment()
Gets the comment business objet this entity represent.Methods in org.silverpeas.core.webapi.comment with parameters of type Comment Modifier and Type Method Description protected CommentEntity
CommentResource. asWebEntity(Comment comment, URI commentURI)
Converts the comment into its corresponding web entity.static CommentEntity
CommentEntity. fromComment(Comment comment)
Creates a new comment entity from the specified comment.static List<CommentEntity>
CommentEntity. fromComments(Comment... comments)
Creates several new comment entities from the specified comments.Method parameters in org.silverpeas.core.webapi.comment with type arguments of type Comment Modifier and Type Method Description protected CommentEntity[]
CommentResource. asWebEntities(List<Comment> comments)
Converts the specified list of comments into their corresponding web entities.static List<CommentEntity>
CommentEntity. fromComments(List<Comment> comments)
Creates several new comment entities from the specified list of comments.Constructors in org.silverpeas.core.webapi.comment with parameters of type Comment Constructor Description CommentEntity(Comment comment)
-