OSID Logo
OSID Specifications
transport package
Version 3.1.0
Interfaceosid.transport.EndpointSearchSession
Implementsosid.transport.EndpointQuerySession
Used Byosid.transport.TransportManager
osid.transport.TransportProxyManager
Description

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

getEndpointsByQuery() is the basic search method and returns a list of Endpoint objects.A more advanced search may be performed with getEndpointsBySearch().It accepts a EndpointSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getEndpointsBySearch() returns a EndpointSearchResults that can be used to access the resulting EndpointList or be used to perform a search within the result set through EndpointSearch.

Endpoints may have a endpoint query record indicated by their respective record types. The endpoint query record is accessed via the EndpointQuery.

MethodgetEndpointSearch
Description

Gets a endpoint search.

Returnosid.transport.EndpointSearch the endpoint search
Compliancemandatory This method must be implemented.
MethodgetEndpointSearchOrder
Description

Gets a endpoint search order. The EndpointSearchOrder is supplied to a EndpointSearch to specify the ordering of results.

Returnosid.transport.EndpointSearchOrder the endpoint search order
Compliancemandatory This method must be implemented.
MethodgetEndpointsBySearch
Description

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

Parametersosid.transport.EndpointQueryendpointQuery the endpoint query
osid.transport.EndpointSearchendpointSearch the endpoint search
Returnosid.transport.EndpointSearchResults the endpoint search results
ErrorsNULL_ARGUMENT endpointQuery or endpointSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED endpointQuery or endpointSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetEndpointQueryFromInspector
Description

Gets a endpoint query from an inspector. The inspector is available from a EndpointSearchResults.

Parametersosid.transport.EndpointQueryInspectorendpointQueryInspector a endpoint query inspector
Returnosid.transport.EndpointQuery the endpoint query
ErrorsNULL_ARGUMENT endpointQueryInspector is null
UNSUPPORTED endpointQueryInspector is not of this service
Compliancemandatory This method must be implemented.