Interface | osid.forum.ForumLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
| ||
Method | canLookupForums | ||
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 | useComparativeForumView | ||
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 | usePlenaryForumView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getForum | ||
Description |
Gets the | ||
Parameters | osid.id.Id | forumId | Id of the Forum |
Return | osid.forum.Forum | the forum | |
Errors | NOT_FOUND | forumId not found | |
NULL_ARGUMENT | forumId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getForumsByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | forumIds | the list of Ids to retrieve |
Return | osid.forum.ForumList | the returned Forum list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | forumIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getForumsByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | forumGenusType | a forum genus type |
Return | osid.forum.ForumList | the returned Forum list | |
Errors | NULL_ARGUMENT | forumGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getForumsByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | forumGenusType | a forum genus type |
Return | osid.forum.ForumList | the returned Forum list | |
Errors | NULL_ARGUMENT | forumGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getForumsByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | forumRecordType | a forum record type |
Return | osid.forum.ForumList | the returned Forum list | |
Errors | NULL_ARGUMENT | forumRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getForumsByProvider | ||
Description |
Gets a | ||
Parameters | osid.id.Id | resourceId | a resource Id |
Return | osid.forum.ForumList | the returned Forum 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 | getForums | ||
Description |
Gets all | ||
Return | osid.forum.ForumList | a list of Forums | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |