| Interface | osid.offering.OfferingSearchSession | ||
|---|---|---|---|
| Implements | osid.offering.OfferingQuerySession | ||
| Used By | osid.offering.OfferingManager | ||
osid.offering.OfferingProxyManager | |||
| Description |
This session provides methods for searching
getOfferingsByQuery() is the basic search method
and returns a list of Offering elements. A more
advanced search may be performed with
getOfferingsBySearch() .It accepts an
OfferingSearch in addition to the query for the
purpose of specifying additional options affecting the entire
search, such as ordering. getOfferingsBySearch()
returns an OfferingSearchResults that can be used
to access the resulting OfferingList or be used
to perform a search within the result set through
OfferingSearch .
This session defines views that offer differing behaviors for searching.
Offerings may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getOfferingSearch | ||
| Description |
Gets an offering search. | ||
| Return | osid.offering.OfferingSearch | the offering search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOfferingSearchOrder | ||
| Description |
Gets an offering search order. The
| ||
| Return | osid.offering.OfferingSearchOrder | the offering search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOfferingsBySearch | ||
| Description |
Gets the search results matching the given search. | ||
| Parameters | osid.offering.OfferingQuery | offeringQuery | the offering query |
osid.offering.OfferingSearch | offeringSearch | the offering search | |
| Return | osid.offering.OfferingSearchResults | the search results | |
| Errors | NULL_ARGUMENT | offeringQuery or offeringSearch is
null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | offeringQuery or offeringSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getOfferingQueryFromInspector | ||
| Description |
Gets an offering query from an inspector. The inspector
is available from an | ||
| Parameters | osid.offering.OfferingQueryInspector | offeringQueryInspector | an offering query inspector |
| Return | osid.offering.OfferingQuery | the offering query | |
| Errors | NULL_ARGUMENT | offeringQueryInspector is null | |
| UNSUPPORTED | offeringQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |