| Interface | osid.voting.PollsQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| 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 | canSearchPolls | ||
| Description |
Tests if this user can perform | ||
| Return | boolean | false if search methods are not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPollsQuery | ||
| Description |
Gets a polls query. | ||
| Return | osid.voting.PollsQuery | the polls query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPollsByQuery | ||
| Description |
Gets a list of | ||
| Parameters | osid.voting.PollsQuery | pollsQuery | the polls query |
| Return | osid.voting.PollsList | the returned PollsList | |
| Errors | NULL_ARGUMENT | pollsQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | a pollsQuery is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |