| Interface | osid.blogging.EntrySearchSession | ||
|---|---|---|---|
| Implements | osid.blogging.EntryQuerySession | ||
| Used By | osid.blogging.BloggingManager | ||
osid.blogging.BloggingProxyManager | |||
| Description |
This session provides methods for searching among
getEntriesByQuery() is the basic search method
and returns a list of Entries . A more advanced
search may be performed with getEntriesBySearch()
.It accepts an EntrySearch in addition to the
query for the purpose of specifying additional options
affecting the entire search, such as ordering.
getEntriesBySearch() returns an
EntrySearchResults that can be used to access the
resulting EntryList or be used to perform a
search within the result set through EntryList .
This session defines views that offer differing behaviors for searching.
Entries may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
| Method | getEntrySearch | ||
| Description |
Gets an entry search. | ||
| Return | osid.blogging.EntrySearch | the entry search | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getEntrySearchOrder | ||
| Description |
Gets an entry search order. The
| ||
| Return | osid.blogging.EntrySearchOrder | the entry search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getEntriesBySearch | ||
| Description |
Gets the search results matching the given search query using the given search. | ||
| Parameters | osid.blogging.EntryQuery | entryQuery | the entry query |
osid.blogging.EntrySearch | entrySearch | the entry search | |
| Return | osid.blogging.EntrySearchResults | the returned search results | |
| Errors | NULL_ARGUMENT | entryQuery or entrySearch is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | entryQuery or entrySearch is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEntryQueryFromInspector | ||
| Description |
Gets an entry query from an inspector. The inspector is
available from an | ||
| Parameters | osid.blogging.EntryQueryInspector | entryQueryInspector | a query inspector |
| Return | osid.blogging.EntryQuery | the entry query | |
| Errors | NULL_ARGUMENT | entryQueryInspector is null | |
| UNSUPPORTED | entryQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |