Interface ICommentsDao
public interface ICommentsDao
Dao interface for storing comments.
- Since:
- 9.2
- Author:
- A.Pragt
-
Method Summary
Modifier and TypeMethodDescriptioncom.aquima.interactions.portal.comments.ICommentEntry[]
find
(com.aquima.interactions.portal.comments.CommentSearchCriteria criteria) Search for comments, orderer by date descending.void
insert
(String appId, String referenceId, String user, Date date, com.aquima.interactions.foundation.text.IMultilingualText title, String comment) Inserts a comment.
-
Method Details
-
insert
void insert(String appId, String referenceId, String user, Date date, com.aquima.interactions.foundation.text.IMultilingualText title, String comment) Inserts a comment.- Parameters:
appId
- The id of the application, not null.referenceId
- The referenceId to search on, not null.user
- The id of the user, not null.date
- The insertion date, not null.title
- The title of the comment, not null.comment
- The comment content, not null.
-
find
com.aquima.interactions.portal.comments.ICommentEntry[] find(com.aquima.interactions.portal.comments.CommentSearchCriteria criteria) Search for comments, orderer by date descending.- Parameters:
criteria
- The search criteria, not null.- Returns:
- The search result, never null.
-