Interface | osid.blogging.EntryQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for querying This session defines views that offer differing behaviors for searching.
Entries may have a query record indicated by their
respective types. The query record is accessed via the | ||
Method | getBlogId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Blog Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getBlog | ||
Description |
Gets the | ||
Return | osid.blogging.Blog | the Blog associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSearchEntries | ||
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 | useFederatedBlogView | ||
Description |
Federates the view for methods in this session. A federated view will include entries in blogs which are children of this blog in the blog hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedBlogView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this blog only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getEntryQuery | ||
Description |
Gets an entry query. | ||
Return | osid.blogging.EntryQuery | the entry query interface | |
Compliance | mandatory | This method must be implemented. | |
Method | getEntriesByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.blogging.EntryQuery | entryQuery | the entry query |
Return | osid.blogging.EntryList | the returned EntryList | |
Errors | NULL_ARGUMENT | entryQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | entryQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |