Interface TimePeriodSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
TimePeriodSearch defines the interface for specifying time
period search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetTimePeriodSearchRecord(Type timePeriodSearchRecordType) Gets the time period search record corresponding to the given time period search recordType.This method is used to retrieve an object implementing the requested record.voidorderTimePeriodResults(TimePeriodSearchOrder timePeriodSearchOrder) Specify an ordering to the search results.voidsearchAmongTimePeriods(IdList timePeriodIds) Execute this search among the given list of time 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
-
searchAmongTimePeriods
Execute this search among the given list of time periods.- Parameters:
timePeriodIds- list of time periods- Throws:
NullArgumentException-timePeriodIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderTimePeriodResults
Specify an ordering to the search results.- Parameters:
timePeriodSearchOrder- time period search order- Throws:
NullArgumentException-timePeriodSearchOrderisnullUnsupportedException-timePeriodSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getTimePeriodSearchRecord
TimePeriodSearchRecord getTimePeriodSearchRecord(Type timePeriodSearchRecordType) throws OperationFailedException Gets the time period search record corresponding to the given time period search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
timePeriodSearchRecordType- a time period search record type- Returns:
- the time period search record
- Throws:
NullArgumentException-timePeriodSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(timePeriodSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-