OSID Logo
OSID Specifications
hold package
Version 3.0.0
Release Candidate Preview
Interfaceosid.hold.OublietteSearchSession
Implementsosid.hold.OublietteQuerySession
Description

This session provides methods for searching among Oubliette objects. The search query is constructed using the OublietteQuery.

getOublietteByQuery() is the basic search method and returns a list of Oubliettes. A more advanced search may be performed with getOublietteBySearch(). It accepts a OublietteSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getOublietteBySearch() returns a OublietteSearchResults that can be used to access the resulting OublietteList or be used to perform a search within the result set through OublietteSearch.

Oubliettes may have a query record indicated by their respective record types. The query record is accessed via the OublietteQuery.

MethodgetOublietteSearch
Description

Gets an oubliette search.

Returnosid.hold.OublietteSearchthe oubliette search
CompliancemandatoryThis method must be implemented.
MethodgetOublietteSearchOrder
Description

Gets an oubliette search order. The OublietteSearchOrder is supplied to a OublietteSearch to specify the ordering of results.

Returnosid.hold.OublietteSearchOrderthe oubliette search order
CompliancemandatoryThis method must be implemented.
MethodgetOublietteBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.hold.OublietteQueryoublietteQuerythe oubliette query
osid.hold.OublietteSearchoublietteSearchthe oubliette search
Returnosid.hold.OublietteSearchResultsthe oubliette search results
ErrorsNULL_ARGUMENT oublietteQuery or oublietteSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTED oublietteQuery or oublietteSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetOublietteQueryFromInspector
Description

Gets an oubliette query from an inspector. The inspector is available from a OublietteSearchResults.

Parametersosid.hold.OublietteQueryInspectoroublietteQueryInspectoran oubliette query inspector
Returnosid.hold.OublietteQuerythe oubliette query
ErrorsNULL_ARGUMENT oublietteQueryInspector is null
UNSUPPORTED oublietteQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.