Interface JournalSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing journal searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetJournalSearchRecord(Type journalSearchRecordType) Gets the journal search record corresponding to the given journal search recordType.voidorderJournalResults(JournalSearchOrder journalSearchOrder) Specify an ordering to the search results.voidsearchAmongJournals(IdList journalIds) Execute this search among the given list of journals.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
-
searchAmongJournals
Execute this search among the given list of journals.- Parameters:
journalIds- list of journals- Throws:
NullArgumentException-journalIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderJournalResults
Specify an ordering to the search results.- Parameters:
journalSearchOrder- journal search order- Throws:
NullArgumentException-journalSearchOrderisnullUnsupportedException-journalSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getJournalSearchRecord
JournalSearchRecord getJournalSearchRecord(Type journalSearchRecordType) throws OperationFailedException Gets the journal search record corresponding to the given journal search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
journalSearchRecordType- a journal search record type- Returns:
- the journal search record
- Throws:
NullArgumentException-journalSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(journalSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-