public interface CommentDao extends Dao
CommentModel data access object.| Modifier and Type | Method and Description |
|---|---|
SearchResult<CommentModel> |
findAll(UserModel user,
java.util.Collection<ComponentModel> components,
int offset,
int count)
Deprecated.
since ages - as of release 4.3, please use
findCommentsByUser(UserModel, Collection, int, int) |
SearchResult<CommentModel> |
findAllByItem(UserModel user,
java.util.Collection<ComponentModel> components,
ItemModel item,
int offset,
int count)
Deprecated.
since ages - as of release 4.3, please use
findCommentsByItem(UserModel, Collection, ItemModel, int, int) |
SearchResult<CommentModel> |
findAllByItemAndType(UserModel user,
java.util.Collection<ComponentModel> components,
ItemModel item,
java.util.Collection<CommentTypeModel> types,
int offset,
int count)
Deprecated.
since ages - as of release 4.3, please use
findCommentsByItemAndType(UserModel, Collection, ItemModel, Collection, int, int) |
SearchResult<CommentModel> |
findAllByType(UserModel user,
java.util.Collection<ComponentModel> components,
java.util.Collection<CommentTypeModel> types,
int offset,
int count)
Deprecated.
since ages - as of release 4.3, please use
findCommentsByType(UserModel, Collection, Collection, int, int) |
SearchResult<ReplyModel> |
findAllDirectReplies(CommentModel comment,
int offset,
int count)
Deprecated.
since ages - as of release 4.3, please use
findDirectRepliesByComment(CommentModel, int, int) |
java.util.List<CommentModel> |
findCommentsByItem(UserModel user,
java.util.Collection<ComponentModel> components,
ItemModel item,
int offset,
int count)
Searches for all item comments related to the specified item, which are in the specified domain components and
where
user is a participant. |
java.util.List<CommentModel> |
findCommentsByItemAndType(UserModel user,
java.util.Collection<ComponentModel> components,
ItemModel item,
java.util.Collection<CommentTypeModel> types,
int offset,
int count)
Searches for all item comments related to the specified item, which are of the specified types, in the specified
domain components and where
user is a participant. |
java.util.List<CommentModel> |
findCommentsByType(UserModel user,
java.util.Collection<ComponentModel> components,
java.util.Collection<CommentTypeModel> types,
int offset,
int count)
Searches for all comments of the specified types in the specified domain components where
user is a
participant. |
java.util.List<CommentModel> |
findCommentsByUser(UserModel user,
java.util.Collection<ComponentModel> components,
int offset,
int count)
Searches for all comments in the specified domain components where
user is a participant i.e. |
java.util.List<ComponentModel> |
findComponentsByDomainAndCode(DomainModel domain,
java.lang.String componentCode)
Searches for components by domain and code.
|
java.util.List<ReplyModel> |
findDirectRepliesByComment(CommentModel comment,
int offset,
int count)
Searches for all direct comment replies i.e.
|
java.util.List<DomainModel> |
findDomainsByCode(java.lang.String domainCode)
Searches for domains by code.
|
SearchResult<CommentUserSettingModel> |
findUserSettingByComment(UserModel user,
AbstractCommentModel comment)
Deprecated.
since ages - as of release 4.3, please use
findUserSettingsByComment(UserModel, AbstractCommentModel) |
java.util.List<CommentUserSettingModel> |
findUserSettingsByComment(UserModel user,
AbstractCommentModel comment)
Searches for the comments user setting
|
java.util.List<CommentModel> findCommentsByUser(UserModel user, java.util.Collection<ComponentModel> components, int offset, int count)
user is a participant i.e. where
the user is either author, assignee or watcher.user - comment participantcomponents - domain componentsoffset - search offsetcount - max hit countjava.util.List<CommentModel> findCommentsByType(UserModel user, java.util.Collection<ComponentModel> components, java.util.Collection<CommentTypeModel> types, int offset, int count)
user is a
participant.user - comment participantcomponents - domain componentstypes - comment typesoffset - search offsetcount - max hit countjava.util.List<CommentModel> findCommentsByItem(UserModel user, java.util.Collection<ComponentModel> components, ItemModel item, int offset, int count)
user is a participant.user - comment participantcomponents - domain componentsitem - related itemoffset - search offsetcount - max hit countjava.util.List<CommentModel> findCommentsByItemAndType(UserModel user, java.util.Collection<ComponentModel> components, ItemModel item, java.util.Collection<CommentTypeModel> types, int offset, int count)
user is a participant.user - comment participantcomponents - domain componentsitem - related itemtypes - comment typesoffset - search offsetcount - max hit countjava.util.List<ReplyModel> findDirectRepliesByComment(CommentModel comment, int offset, int count)
comment - the commentoffset - search offsetcount - max hit countjava.util.List<CommentUserSettingModel> findUserSettingsByComment(UserModel user, AbstractCommentModel comment)
user - comment participantcomment - the comment itemjava.util.List<ComponentModel> findComponentsByDomainAndCode(DomainModel domain, java.lang.String componentCode)
java.util.List<DomainModel> findDomainsByCode(java.lang.String domainCode)
@Deprecated SearchResult<CommentModel> findAll(UserModel user, java.util.Collection<ComponentModel> components, int offset, int count)
findCommentsByUser(UserModel, Collection, int, int)user is a participant i.e. where
the user is either author, assignee or watcher.user - comment participantcomponents - domain componentsoffset - search offsetcount - max hit count@Deprecated SearchResult<CommentModel> findAllByType(UserModel user, java.util.Collection<ComponentModel> components, java.util.Collection<CommentTypeModel> types, int offset, int count)
findCommentsByType(UserModel, Collection, Collection, int, int)user is a
participant.user - comment participantcomponents - domain componentstypes - comment typesoffset - search offsetcount - max hit count@Deprecated SearchResult<CommentModel> findAllByItem(UserModel user, java.util.Collection<ComponentModel> components, ItemModel item, int offset, int count)
findCommentsByItem(UserModel, Collection, ItemModel, int, int)user is a participant.user - comment participantcomponents - domain componentsitem - related itemoffset - search offsetcount - max hit count@Deprecated SearchResult<CommentModel> findAllByItemAndType(UserModel user, java.util.Collection<ComponentModel> components, ItemModel item, java.util.Collection<CommentTypeModel> types, int offset, int count)
findCommentsByItemAndType(UserModel, Collection, ItemModel, Collection, int, int)user is a participant.user - comment participantcomponents - domain componentsitem - related itemtypes - comment typesoffset - search offsetcount - max hit count@Deprecated SearchResult<ReplyModel> findAllDirectReplies(CommentModel comment, int offset, int count)
findDirectRepliesByComment(CommentModel, int, int)comment - the commentoffset - search offsetcount - max hit count@Deprecated SearchResult<CommentUserSettingModel> findUserSettingByComment(UserModel user, AbstractCommentModel comment)
findUserSettingsByComment(UserModel, AbstractCommentModel)user - comment participantcomment - the comment itemCopyright © 2018 SAP SE. All Rights Reserved.