Interface PostEntrySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing post entry searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPostEntrySearchRecord(Type postEntrySearchRecordType) Gets the post entry search record corresponding to the given post entry search recordType.This method is used to retrieve an object implementing the requested record.voidorderPostEntryResults(PostEntrySearchOrder postEntrySearchOrder) Specify an ordering to the search results.voidsearchAmongPostEntries(IdList postEntryIds) Execute this search among the given list of post entries.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
-
searchAmongPostEntries
Execute this search among the given list of post entries.- Parameters:
postEntryIds- list of entries- Throws:
NullArgumentException-postEntryIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPostEntryResults
Specify an ordering to the search results.- Parameters:
postEntrySearchOrder- post entry search order- Throws:
NullArgumentException-postEntrySearchOrderisnullUnsupportedException-postEntrySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPostEntrySearchRecord
PostEntrySearchRecord getPostEntrySearchRecord(Type postEntrySearchRecordType) throws OperationFailedException Gets the post entry search record corresponding to the given post entry search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
postEntrySearchRecordType- a post entry search record type- Returns:
- the post entry search record
- Throws:
NullArgumentException-postEntrySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(postEntrySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-