Interface | osid.commenting.CommentingProxyManager | ||
---|---|---|---|
Implements | osid.OsidProxyManager | ||
osid.commenting.CommentingProfile | |||
Description |
The commenting manager provides access to commenting
sessions and provides interoperability tests for various
aspects of this service. Methods in this manager accept a
The commenting manager also provides a profile for determing the supported search types supported by this service. | ||
Method | getCommentLookupSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.CommentLookupSession | a CommentLookupSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentLookup() is false | ||
Compliance | optional | This method must be implemented if supportsCommentLookup()
is true. | |
Method | getCommentLookupSessionForBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | bookId | the Id of the Book |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.commenting.CommentLookupSession | a CommentLookupSession | |
Errors | NOT_FOUND | no Book found by the given Id | |
NULL_ARGUMENT | bookId or proxy is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentLookup() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsCommentLookup()
and supportsVisibleFederation() are true | |
Method | getRatingLookupSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.RatingLookupSession | a RatingLookupSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsRatingLookup() is false | ||
Compliance | optional | This method must be implemented if supportsRatingLookup() is
true. | |
Method | getRatingLookupSessionForBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | bookId | the Id of the Book |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.commenting.RatingLookupSession | a RatingLookupSession | |
Errors | NOT_FOUND | no Book found by the given Id | |
NULL_ARGUMENT | bookId or proxy is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsRatingLookup() or supportsVisibleFederation()
is false | ||
Compliance | optional | This method must be implemented if supportsRatingLookup()
and supportsVisibleFederation() are true | |
Method | getCommentQuerySession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.CommentQuerySession | a CommentQuerySession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentQuery() is false | ||
Compliance | optional | This method must be implemented if supportsCommentQuery() is
true. | |
Method | getCommentQuerySessionForBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | bookId | the Id of the Book |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.commenting.CommentQuerySession | a CommentQuerySession | |
Errors | NOT_FOUND | no Comment found by the given Id | |
NULL_ARGUMENT | bookId or proxy is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentQuery() or supportsVisibleFederation()
is false | ||
Compliance | optional | This method must be implemented if supportsCommentQuery()
and supportsVisibleFederation() are true | |
Method | getCommentSearchSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.CommentSearchSession | a CommentSearchSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentSearch() is false | ||
Compliance | optional | This method must be implemented if supportsCommentSearch()
is true. | |
Method | getCommentSearchSessionForBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | bookId | the Id of the Book |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.commenting.CommentSearchSession | a CommentSearchSession | |
Errors | NOT_FOUND | no Comment found by the given Id | |
NULL_ARGUMENT | bookId or proxy is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentSearch() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsCommentSearch()
and supportsVisibleFederation() are true | |
Method | getCommentAdminSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.CommentAdminSession | a CommentAdminSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsCommentAdmin() is
true. | |
Method | getCommentAdminSessionForBook | ||
Description |
Gets the | ||
Parameters | osid.id.Id | bookId | the Id of the Book |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.commenting.CommentAdminSession | a CommentAdminSession | |
Errors | NOT_FOUND | no Comment found by the given Id | |
NULL_ARGUMENT | bookId or proxy is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentAdmin() or supportsVisibleFederation()
is false | ||
Compliance | optional | This method must be implemented if supportsCommentAdmin()
and supportsVisibleFederation() are true | |
Method | getCommentNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.commenting.CommentReceiver | commentReceiver | the receiver |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.commenting.CommentNotificationSession | a CommentNotificationSession | |
Errors | NULL_ARGUMENT | commentReceiver or proxy is null
| |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentNotification() is false | ||
Compliance | optional | This method must be implemented if supportsCommentNotification()
is true. | |
Method | getCommentNotificationSessionForBook | ||
Description |
Gets the | ||
Parameters | osid.commenting.CommentReceiver | commentReceiver | the receiver |
osid.id.Id | bookId | the Id of the Book | |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.commenting.CommentNotificationSession | a CommentNotificationSession | |
Errors | NOT_FOUND | no Comment found by the given Id | |
NULL_ARGUMENT | commentReceiver, bookId or proxy is
null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentNotification() or
supportsVisibleFederation() is false | ||
Compliance | optional | This method must be implemented if supportsCommentNotification()
and supportsVisibleFederation() are true | |
Method | getCommentBookSession | ||
Description |
Gets the session for retrieving comment to book mappings. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.CommentBookSession | a CommentBookSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentBook() is false | ||
Compliance | optional | This method must be implemented if supportsCommentBook() is
true. | |
Method | getCommentBookAssignmentSession | ||
Description |
Gets the session for assigning comment to book mappings. | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.CommentBookAssignmentSession | a CommentBookAssignmentSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentBookAssignment() is false | ||
Compliance | optional | This method must be implemented if supportsCommentBookAssignment()
is true. | |
Method | getCommentSmartBookSession | ||
Description |
Gets the session for managing dynamic comment books for the given book. | ||
Parameters | osid.id.Id | bookId | the Id of a book |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.commenting.CommentSmartBookSession | bookId not found | |
Errors | NOT_FOUND | bookId or proxy is null | |
NULL_ARGUMENT | bookId or proxy is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsCommentSmartBook() is false | ||
Compliance | optional | This method must be implemented if supportsCommentSmartBook()
is true. | |
Method | getBookLookupSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.BookLookupSession | a BookLookupSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsBookLookup() is false | ||
Compliance | optional | This method must be implemented if supportsBookLookup() is
true. | |
Method | getBookQuerySession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.BookQuerySession | a BookQuerySession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsBookQueryh() is false | ||
Compliance | optional | This method must be implemented if supportsBookQuery() is
true. | |
Method | getBookSearchSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.BookSearchSession | a BookSearchSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsBookSearch() is false | ||
Compliance | optional | This method must be implemented if supportsBookSearch() is
true. | |
Method | getBookAdminSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.BookAdminSession | a BookAdminSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsBookAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsBookAdmin() is
true. | |
Method | getBookNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.commenting.BookReceiver | bookReceiver | the receiver |
osid.proxy.Proxy | proxy | a proxy | |
Return | osid.commenting.BookNotificationSession | a BookNotificationSession | |
Errors | NULL_ARGUMENT | bookReceiver or proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsBookNotification() is false | ||
Compliance | optional | This method must be implemented if supportsBookNotification()
is true. | |
Method | getBookHierarchySession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.BookHierarchySession | a BookHierarchySession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsBookHierarchy() is false | ||
Compliance | optional | This method must be implemented if supportsBookHierarchy()
is true. | |
Method | getBookHierarchyDesignSession | ||
Description |
Gets the | ||
Parameters | osid.proxy.Proxy | proxy | a proxy |
Return | osid.commenting.BookHierarchyDesignSession | a BookHierarchyDesignSession | |
Errors | NULL_ARGUMENT | proxy is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsBookHierarchyDesign() is false | ||
Compliance | optional | This method must be implemented if supportsBookHierarchyDesign()
is true. | |
Method | getCommentingBatchProxyManager | ||
Description |
Gets a | ||
Return | osid.commenting.batch.CommentingBatchProxyManager | a CommentingBatchProxyManager | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsCommentingBatch() is false | ||
Compliance | optional | This method must be implemented if supportsCommentingBatch()
is true. |