Interface ForumSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing forum searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetForumSearchRecord(Type forumSearchRecordType) Gets the forum search record corresponding to the given forum search recordType.voidorderForumResults(ForumSearchOrder forumsearchOrder) Specify an ordering to the search results.voidsearchAmongForums(IdList forumIds) Execute this search among the given list of forums.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongForums
Execute this search among the given list of forums.- Parameters:
forumIds- list of forums- Throws:
NullArgumentException-forumIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderForumResults
Specify an ordering to the search results.- Parameters:
forumsearchOrder- forum search order- Throws:
NullArgumentException-forumsearchOrderisnullUnsupportedException-forumsearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getForumSearchRecord
Gets the forum search record corresponding to the given forum search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
forumSearchRecordType- a forum search record type- Returns:
- the forum search record
- Throws:
NullArgumentException-forumSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(forumSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-