| Interface | osid.acknowledgement.CreditSearchSession | ||
|---|---|---|---|
| Implements | osid.acknowledgement.CreditQuerySession | ||
| Used By | osid.acknowledgement.AcknowledgementManager | ||
osid.acknowledgement.AcknowledgementProxyManager | |||
| Description |
This session provides methods for searching
getCreditsByQuery() is the basic search method
and returns a list of Credit elements. A more
advanced search may be performed with
getCreditsBySearch(). It accepts a
CreditSearch in addition to the query for the
purpose of specifying additional options affecting the entire
search, such as ordering. getCreditsBySearch()
returns a CreditSearchResults that can be used to
access the resulting CreditList or be used to
perform a search within the result set through
CreditSearch.
This session defines views that offer differing behaviors for searching.
Credits may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getCreditSearch | ||
| Description |
Gets a credit search. | ||
| Return | osid.acknowledgement.CreditSearch | the credit search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCreditSearchOrder | ||
| Description |
Gets a credit search order. The
| ||
| Return | osid.acknowledgement.CreditSearchOrder | the credit search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCreditsBySearch | ||
| Description |
Gets the search results matching the given search. | ||
| Parameters | osid.acknowledgement.CreditQuery | creditQuery | the credit query |
osid.acknowledgement.CreditSearch | creditSearch | the credit search | |
| Return | osid.acknowledgement.CreditSearchResults | the search results | |
| Errors | NULL_ARGUMENT | creditQuery or creditSearch is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | creditQuery or creditSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getCreditQueryFromInspector | ||
| Description |
Gets a credit query from an inspector. The inspector
is available from a | ||
| Parameters | osid.acknowledgement.CreditQueryInspector | creditQueryInspector | a credit query inspector |
| Return | osid.acknowledgement.CreditQuery | the credit query | |
| Errors | NULL_ARGUMENT | creditQueryInspector is null | |
| UNSUPPORTED | creditQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |