public interface PeriodSearch extends OsidSearch
The search interface for governing period searches.
Modifier and Type | Method and Description |
---|---|
PeriodSearchRecord |
getPeriodSearchRecord(Type periodSearchRecordType)
Gets the period search record corresponding to the given period search
record
Type. |
void |
orderPeriodResults(PeriodSearchOrder periodSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongPeriods(IdList periodIds)
Execute this search among the given list of periods.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongPeriods(IdList periodIds)
periodIds
- list of periodsNullArgumentException
- periodIds
is
null
mandatory
- This method must be implemented. void orderPeriodResults(PeriodSearchOrder periodSearchOrder)
periodSearchOrder
- period search orderNullArgumentException
- periodSearchOrder
is null
UnsupportedException
- periodSearchOrder
is not of this servicemandatory
- This method must be implemented. PeriodSearchRecord getPeriodSearchRecord(Type periodSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an object
implementing the requested record.periodSearchRecordType
- a period search record typeNullArgumentException
- periodSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(periodSearchRecordType)
is false
mandatory
- This method must be implemented.