Interface ProgramEntrySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing program entry searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetProgramEntrySearchRecord(Type programEntrySearchRecordType) Gets the program entry search record corresponding to the given program entry search recordType.This method is used to retrieve an object implementing the requested record.voidorderProgramEntryResults(ProgramEntrySearchOrder programEntrySearchOrder) Specify an ordering to the search results.voidsearchAmongProgramEntries(IdList programEntryIds) Execute this search among the given list of program 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
-
searchAmongProgramEntries
Execute this search among the given list of program entries.- Parameters:
programEntryIds- list of program entryIds- Throws:
NullArgumentException-programEntryIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderProgramEntryResults
Specify an ordering to the search results.- Parameters:
programEntrySearchOrder- program entry search order- Throws:
NullArgumentException-programEntrySearchOrderisnullUnsupportedException-programEntrySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getProgramEntrySearchRecord
ProgramEntrySearchRecord getProgramEntrySearchRecord(Type programEntrySearchRecordType) throws OperationFailedException Gets the program entry search record corresponding to the given program entry search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
programEntrySearchRecordType- a program entry search record type- Returns:
- the program entry search record
- Throws:
NullArgumentException-programEntrySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(programEntrySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-