Interface BlogSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing blog searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBlogSearchRecord(Type blogSearchRecordType) Gets the blog search record corresponding to the given blog search recordType.voidorderBlogResults(BlogSearchOrder blogSearchOrder) Specify an ordering to the search results.voidsearchAmongBlogs(IdList blogIds) Execute this search among the given list of blogs.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
-
searchAmongBlogs
Execute this search among the given list of blogs.- Parameters:
blogIds- list of blogs- Throws:
NullArgumentException-blogIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBlogResults
Specify an ordering to the search results.- Parameters:
blogSearchOrder- blog search order- Throws:
NullArgumentException-blogSearchOrderisnullUnsupportedException-blogSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBlogSearchRecord
Gets the blog search record corresponding to the given blog search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
blogSearchRecordType- a blog search record type- Returns:
- the blog search record
- Throws:
NullArgumentException-blogSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(blogSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-