public interface TimePeriodSearch extends OsidSearch
TimePeriodSearch defines the interface for specifying
time period search options.
| Modifier and Type | Method and Description |
|---|---|
TimePeriodSearchRecord |
getTimePeriodSearchRecord(Type timePeriodSearchRecordType)
Gets the time period search record corresponding to the given time
period search record
Type. |
void |
orderTimePeriodResults(TimePeriodSearchOrder timePeriodSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongTimePeriods(IdList timePeriodIds)
Execute this search among the given list of time periods.
|
limitResultSetgetRecordTypes, hasRecordTypevoid searchAmongTimePeriods(IdList timePeriodIds)
timePeriodIds - list of time periodsNullArgumentException - timePeriodIds is
null mandatory - This method must be implemented. void orderTimePeriodResults(TimePeriodSearchOrder timePeriodSearchOrder)
timePeriodSearchOrder - time period search orderNullArgumentException - timePeriodSearchOrder
is null UnsupportedException - timePeriodSearchOrder
is not of this servicemandatory - This method must be implemented. TimePeriodSearchRecord getTimePeriodSearchRecord(Type timePeriodSearchRecordType) throws OperationFailedException
Type. This method is used to
retrieve an object implementing the requested record.timePeriodSearchRecordType - a time period search record typeNullArgumentException -
timePeriodSearchRecordType is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(timePeriodSearchRecordType) is
false mandatory - This method must be implemented.