OSID Logo
OSID Specifications
transport package
Version 3.1.0
Interfaceosid.transport.EndpointQuerySession
Implementsosid.OsidSession
Implemented Byosid.transport.EndpointSearchSession
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.

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

MethodcanSearchEndpoints
Description

Tests if this user can perform Endpoint searches. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer search operations to unauthorized users.

Returnboolean false if search methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetEndpointQuery
Description

Gets a endpoint query. The returned query will not have an extension query.

Returnosid.transport.EndpointQuery the endpoint query
Compliancemandatory This method must be implemented.
MethodgetEndpointsByQuery
Description

Gets a list of Endpoints matching the given endpoint query.

Parametersosid.transport.EndpointQueryendpointQuery the endpoint query
Returnosid.transport.EndpointList the returned EndpointList
ErrorsNULL_ARGUMENT endpointQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED a endpointQuery is not of this service
Compliancemandatory This method must be implemented.