Interface EntrySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
This interface specifies options for governing entry searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetEntrySearchRecord(Type entrySearchRecordType) Gets the entry search record corresponding to the given entry search recordType.voidorderEntryResults(EntrySearchOrder entrySearchOrder) Specify an ordering to the search results.voidsearchAmongEntries(IdList entryIds) Execute this search among the given list of 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
-
searchAmongEntries
Execute this search among the given list of entries.- Parameters:
entryIds- list of entryIds- Throws:
NullArgumentException-entryIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderEntryResults
Specify an ordering to the search results.- Parameters:
entrySearchOrder- entry searcgh order- Throws:
NullArgumentException-entrySearchOrderisnullUnsupportedException-entrySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getEntrySearchRecord
Gets the entry search record corresponding to the given entry search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
entrySearchRecordType- an entry search record type- Returns:
- the entry search record
- Throws:
NullArgumentException-entrySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(entrySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-