public interface BlogQuerySession extends OsidSession
This session provides methods for searching among Blog
objects. The search query is constructed using the BlogQuery.
Blogs may have a query record indicated by their respective record
types. The query record is accessed via the BlogQuery.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSearchBlogs()
Tests if this user can perform
Blog searches. |
BlogQuery |
getBlogQuery()
Gets a blog query.
|
BlogList |
getBlogsByQuery(BlogQuery blogQuery)
Gets a list of
Blogs matching the given search. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canSearchBlogs()
Blog searches. A return
of true does not guarantee successful authorization. A return of false
indicates that it is known all methods in this session will result in
a PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer search operations to
unauthorized users. false if search methods are not authorized,
true otherwisemandatory - This method must be implemented. BlogQuery getBlogQuery()
mandatory - This method must be implemented. BlogList getBlogsByQuery(BlogQuery blogQuery) throws OperationFailedException, PermissionDeniedException
Blogs matching the given search.blogQuery - the blog query BlogList NullArgumentException - blogQuery is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - a blogQuery is
not of this servicemandatory - This method must be implemented.