| Interface | osid.voting.PollsSearchSession | ||
|---|---|---|---|
| Implements | osid.voting.PollsQuerySession | ||
| Description |
This session provides methods for searching among Polls may have a polls query record indicated by their
respective record types. The polls query record is accessed
via the | ||
| Method | getPollsSearch | ||
| Description |
Gets a polls search. | ||
| Return | osid.voting.PollsSearch | the polls search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPollsSearchOrder | ||
| Description |
Gets a polls search order. The | ||
| Return | osid.voting.PollsSearchOrder | the polls search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPollssBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.voting.PollsQuery | pollsQuery | the polls query |
osid.voting.PollsSearch | pollsSearch | the polls search | |
| Return | osid.voting.PollsSearchResults | the polls search results | |
| Errors | NULL_ARGUMENT | pollsQuery or pollsSearch is null
| |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | pollsQuery or pollsSearch is not of this
service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPollsQueryFromInspector | ||
| Description |
Gets a polls query from an inspector. The inspector is
available from a | ||
| Parameters | osid.voting.PollsQueryInspector | pollsQueryInspector | a polls query inspector |
| Return | osid.voting.PollsQuery | the polls query | |
| Errors | NULL_ARGUMENT | pollsQueryInspector is null | |
| UNSUPPORTED | pollsQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |