OSID Logo
OSID Specifications
calendaring package
Version 3.0.0
Release Candidate Preview
Interfaceosid.calendaring.TimePeriodSearchResults
Implementsosid.OsidSearchResults
Description

This interface provides a means to capture results of a search.

MethodgetTimePeriods
Description

Gets the time period list resulting from the search.

Returnosid.calendaring.TimePeriodListthe time period list
ErrorsILLEGAL_STATElist already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetTimePeriodQueryInspector
Description

Gets the inspector for the query to examine the time periods used in the search.

Returnosid.calendaring.TimePeriodQueryInspectorthe query inspector
CompliancemandatoryThis method must be implemented.
MethodgetTimePeriodSearchResultsRecord
Description

Gets the time period search results record corresponding to the given time period search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TypetimePeriodSearchRecordTypea time period search record type
Returnosid.calendaring.records.TimePeriodSearchResultsRecordthe time period search results record
ErrorsNULL_ARGUMENT timePeriodSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(timePeriodSearchRecordType) is false
CompliancemandatoryThis method must be implemented.