| Interface | osid.blogging.EntryBlogSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods to retrieve  This lookup session defines several views: 
  | ||
| Method | canLookupEntryBlogMappings | ||
| Description | 
                     Tests if this user can perform lookups of entry/blog 
                    mappings. A return of true does not guarantee successful 
                    authorization. A return of false indicates that it is 
                    known lookup methods in this session will result in a 
                      | ||
| Return | boolean |  false  if looking up mappings is 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 | getEntryIdsByBlog | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | blogId |  Id  of a  Blog   | 
| Return | osid.id.IdList | list of related entry  Ids   | |
| Errors | NOT_FOUND |  blogId  is not found  |                 |
| NULL_ARGUMENT |  blogId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEntriesByBlog | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | blogId |  Id  of a  Blog   | 
| Return | osid.blogging.EntryList | list of related entries | |
| Errors | NOT_FOUND |  blogId  is not found  |                 |
| NULL_ARGUMENT |  blogId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEntryIdsByBlogs | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | blogIds | list of blog  Ids   | 
| Return | osid.id.IdList | list of entry  Ids   | |
| Errors | NULL_ARGUMENT |  blogIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEntriesByBlogs | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.IdList | blogIds | list of blog  Ids   | 
| Return | osid.blogging.EntryList | list of entries | |
| Errors | NULL_ARGUMENT |  blogIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBlogIdsByEntry | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | entryId |  Id  of an  Entry   | 
| Return | osid.id.IdList | list of blog  Ids   | |
| Errors | NOT_FOUND |  entryId  is not found  |                 |
| NULL_ARGUMENT |  entryId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBlogsByEntry | ||
| Description | 
                     Gets the list of   | ||
| Parameters | osid.id.Id | entryId |  Id  of an  Entry   | 
| Return | osid.blogging.BlogList | list of blogs | |
| Errors | NOT_FOUND |  entryId  is not found  |                 |
| NULL_ARGUMENT |  entryId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |