public interface CommentSearch extends OsidSearch
The search interface for governing comment searches.
Modifier and Type | Method and Description |
---|---|
CommentSearchRecord |
getCommentSearchRecord(Type commentSearchRecordType)
Gets the comment search record corresponding to the given comment
search record
Type. |
void |
orderCommentResults(CommentSearchOrder commentSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongComments(IdList commentIds)
Execute this search among the given list of comments.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongComments(IdList commentIds)
commentIds
- list of commentsNullArgumentException
- commentIds
is
null
mandatory
- This method must be implemented. void orderCommentResults(CommentSearchOrder commentSearchOrder)
commentSearchOrder
- comment search orderNullArgumentException
- commentSearchOrder
is null
UnsupportedException
- commentSearchOrder
is not of this servicemandatory
- This method must be implemented. CommentSearchRecord getCommentSearchRecord(Type commentSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an
object implementing the requested record.commentSearchRecordType
- a comment search record typeNullArgumentException
- commentSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(commentSearchRecordType)
is false
mandatory
- This method must be implemented.