OSID Logo
OSID Specifications
blogging package
Version 3.1.0
Interfaceosid.blogging.BlogSearchSession
Implementsosid.blogging.BlogQuerySession
Used Byosid.blogging.BloggingManager
osid.blogging.BloggingProxyManager
Description

This session provides methods for searching among Blogs. The search query is constructed using the BlogQuery.

getBlogsByQuery() is the basic search method and returns a list of Blog objects.A more advanced search may be performed with getBlogsBySearch() .It accepts a BlogSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getBlogsBySearch() returns a BlogSearchResults that can be used to access the resulting BlogList or be used to perform a search within the result set through BlogSearch.

Blogs may have a query record indicated by their respective record types. The query record is accessed via the BlogQuery.

MethodgetBlogSearch
Description

Gets a blog search.

Returnosid.blogging.BlogSearch the blog search
Compliancemandatory This method must be implemented.
MethodgetBlogSearchOrder
Description

Gets a blog search order. The BlogSearchOrder is supplied to a BlogSearch to specify the ordering of results.

Returnosid.blogging.BlogSearchOrder the blog search order
Compliancemandatory This method must be implemented.
MethodgetBlogsBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.blogging.BlogQueryblogQuery the blog query
osid.blogging.BlogSearchblogSearch the blog search
Returnosid.blogging.BlogSearchResults the search results
ErrorsNULL_ARGUMENT blogQuery or blogSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED blogQuery or blogSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetBlogQueryFromInspector
Description

Gets a blog query from an inspector. The inspector is available from an BlogSearchResults.

Parametersosid.blogging.BlogQueryInspectorblogQueryInspector a query inspector
Returnosid.blogging.BlogQuery the blog query
ErrorsNULL_ARGUMENT blogQueryInspector is null
UNSUPPORTED blogQueryInspector is not of this service
Compliancemandatory This method must be implemented.