OSID Logo
OSID Specifications
room package
Version 3.1.0
Interfaceosid.room.CampusSearchSession
Implementsosid.room.CampusQuerySession
Used Byosid.room.RoomManager
osid.room.RoomProxyManager
Description

This session provides methods for searching Campuses. The search query is constructed using the CampusQuery. The campus record Type also specifies the record for the campus query.

getCampusesByQuery() is the basic search method and returns a list of Campus elements. A more advanced search may be performed with getCampusesBySearch(). It accepts a CampusSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getCampusesBySearch() returns a CampusSearchResults that can be used to access the resulting CampusList or be used to perform a search within the result set through CampusSearch.

Campuses may have a query record indicated by their respective record types. The query record is accessed via the CampusQuery. The returns in this session may not be cast directly to these interfaces.

MethodgetCampusSearch
Description

Gets a campus search.

Returnosid.room.CampusSearch the campus search
Compliancemandatory This method must be implemented.
MethodgetCampusSearchOrder
Description

Gets a campus search order. The CampusSearchOrder is supplied to a CampusSearch to specify the ordering of results.

Returnosid.room.CampusSearchOrder the campus search order
Compliancemandatory This method must be implemented.
MethodgetCampusesBySearch
Description

Gets the search results matching the given search.

Parametersosid.room.CampusQuerycampusQuery the campus query
osid.room.CampusSearchcampusSearch the campus search
Returnosid.room.CampusSearchResults the campus search results
ErrorsNULL_ARGUMENT campusQuery or campusSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED campusQuery or campusSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetCampusQueryFromInspector
Description

Gets an entry query from an inspector. The inspector is available from an CampusSearchResults.

Parametersosid.room.CampusQueryInspectorcampusQueryInspector a query inspector
Returnosid.room.CampusQuery the entry query
ErrorsNULL_ARGUMENT campusQueryInspector is null
UNSUPPORTED campusQueryInspector is not of this service
Compliancemandatory This method must be implemented.