Interface | osid.blogging.BlogLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. For example, a browsing application
may only need to examine the Blogs may have an additional records indicated by their
respective record types. The record may not be accessed
through a cast of the | ||
Method | canLookupBlogs | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeBlogView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryBlogView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getBlog | ||
Description |
Gets the | ||
Parameters | osid.id.Id | blogId | Id of the Blog |
Return | osid.blogging.Blog | the blog | |
Errors | NOT_FOUND | blogId not found | |
NULL_ARGUMENT | blogId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getBlogsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | blogIds | the list of Ids to retrieve |
Return | osid.blogging.BlogList | the returned Blog list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | blogIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBlogsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | blogGenusType | a blog genus type |
Return | osid.blogging.BlogList | the returned Blog list | |
Errors | NULL_ARGUMENT | blogGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBlogsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | blogGenusType | a blog genus type |
Return | osid.blogging.BlogList | the returned Blog list | |
Errors | NULL_ARGUMENT | blogGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBlogsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | blogRecordType | a blog record type |
Return | osid.blogging.BlogList | the returned Blog list | |
Errors | NULL_ARGUMENT | blogRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBlogsByProvider | ||
Description |
Gets a | ||
Parameters | osid.id.Id | resourceId | a resourceId Id |
Return | osid.blogging.BlogList | the returned Blog list | |
Errors | NULL_ARGUMENT | resourceId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBlogs | ||
Description |
Gets all | ||
Return | osid.blogging.BlogList | a list of blogs | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |