Interface PeriodSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing period searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPeriodSearchRecord(Type periodSearchRecordType) Gets the period search record corresponding to the given period search recordType.voidorderPeriodResults(PeriodSearchOrder periodSearchOrder) Specify an ordering to the search results.voidsearchAmongPeriods(IdList periodIds) Execute this search among the given list of periods.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
-
searchAmongPeriods
Execute this search among the given list of periods.- Parameters:
periodIds- list of periods- Throws:
NullArgumentException-periodIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPeriodResults
Specify an ordering to the search results.- Parameters:
periodSearchOrder- period search order- Throws:
NullArgumentException-periodSearchOrderisnullUnsupportedException-periodSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPeriodSearchRecord
PeriodSearchRecord getPeriodSearchRecord(Type periodSearchRecordType) throws OperationFailedException Gets the period search record corresponding to the given period search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
periodSearchRecordType- a period search record type- Returns:
- the period search record
- Throws:
NullArgumentException-periodSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(periodSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-