Interface PostSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing post searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPostSearchRecord(Type postSearchRecordType) Gets the post search record corresponding to the given post search recordType.voidorderPostResults(PostSearchOrder postSearchOrder) Specify an ordering to the search results.voidsearchAmongPosts(IdList postIds) Execute this search among the given list of posts.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
-
searchAmongPosts
Execute this search among the given list of posts.- Parameters:
postIds- list of payers- Throws:
NullArgumentException-postIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPostResults
Specify an ordering to the search results.- Parameters:
postSearchOrder- payer search order- Throws:
NullArgumentException-postSearchOrderisnullUnsupportedException-postSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPostSearchRecord
Gets the post search record corresponding to the given post search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
postSearchRecordType- a payer search record type- Returns:
- the post search record
- Throws:
NullArgumentException-postSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(postSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-