public interface CommentingProxyManager extends OsidProxyManager, CommentingProfile
The commenting manager provides access to commenting sessions and
provides interoperability tests for various aspects of this service.
Methods in this manager accept a Proxy
for passing
information from a server environment. The sessions included in this
manager are:
CommentLookupSession:
a session to lookup comments
RatingLookupSession:
a session to lookup comments
CommentQuerySession:
a session to query comments
CommentSearchSession:
a session to search comments
CommentAdminSession:
a session to manage comments
CommentNotificationSession:
a session to subscribe
to notifications of comment changes CommentBookSession:
a session for looking up
comment and book mappings CommentBookAssignmentSession:
a session for
managing comment and book mappings CommentSmartBookSession:
a session to manage
dynamic comment books BookLookupSession:
a session to retrieve books
BookQuerySession:
a session to query books BookSearchSession:
a session to search for books
BookAdminSession:
a session to create, update and
delete books BookNotificationSession:
a session to receive
notifications for changes in books BookHierarchyTraversalSession:
a session to
traverse hierarchies of books BookHierarchyDesignSession:
a session to manage
hierarchies of books The commenting manager also provides a profile for determing the supported search types supported by this service.
Modifier and Type | Method and Description |
---|---|
BookAdminSession |
getBookAdminSession(Proxy proxy)
Gets the
OsidSession associated with the book
administrative service. |
BookHierarchyDesignSession |
getBookHierarchyDesignSession(Proxy proxy)
Gets the
OsidSession associated with the book hierarchy
design service. |
BookHierarchySession |
getBookHierarchySession(Proxy proxy)
Gets the
OsidSession associated with the book hierarchy
service. |
BookLookupSession |
getBookLookupSession(Proxy proxy)
Gets the
OsidSession associated with the book lookup
service. |
BookNotificationSession |
getBookNotificationSession(BookReceiver bookReceiver,
Proxy proxy)
Gets the
OsidSession associated with the book
notification service. |
BookQuerySession |
getBookQuerySession(Proxy proxy)
Gets the
OsidSession associated with the book query
service. |
BookSearchSession |
getBookSearchSession(Proxy proxy)
Gets the
OsidSession associated with the book search
service. |
CommentAdminSession |
getCommentAdminSession(Proxy proxy)
Gets the
OsidSession associated with the comment
administration service. |
CommentAdminSession |
getCommentAdminSessionForBook(Id bookId,
Proxy proxy)
Gets the
OsidSession associated with the comment
administration service for the given book. |
CommentBookAssignmentSession |
getCommentBookAssignmentSession(Proxy proxy)
Gets the session for assigning comment to book mappings.
|
CommentBookSession |
getCommentBookSession(Proxy proxy)
Gets the session for retrieving comment to book mappings.
|
CommentingBatchProxyManager |
getCommentingBatchProxyManager()
Gets a
CommentingBatchProxyManager. |
CommentLookupSession |
getCommentLookupSession(Proxy proxy)
Gets the
OsidSession associated with the comment lookup
service. |
CommentLookupSession |
getCommentLookupSessionForBook(Id bookId,
Proxy proxy)
Gets the
OsidSession associated with the comment lookup
service for the given book. |
CommentNotificationSession |
getCommentNotificationSession(CommentReceiver commentReceiver,
Proxy proxy)
Gets the
OsidSession associated with the comment
notification service. |
CommentNotificationSession |
getCommentNotificationSessionForBook(CommentReceiver commentReceiver,
Id bookId,
Proxy proxy)
Gets the
OsidSession associated with the comment
notification service for the given book. |
CommentQuerySession |
getCommentQuerySession(Proxy proxy)
Gets the
OsidSession associated with the comment query
service. |
CommentQuerySession |
getCommentQuerySessionForBook(Id bookId,
Proxy proxy)
Gets the
OsidSession associated with the comment query
service for the given book. |
CommentSearchSession |
getCommentSearchSession(Proxy proxy)
Gets the
OsidSession associated with the comment search
service. |
CommentSearchSession |
getCommentSearchSessionForBook(Id bookId,
Proxy proxy)
Gets the
OsidSession associated with the comment search
service for the given book. |
CommentSmartBookSession |
getCommentSmartBookSession(Id bookId,
Proxy proxy)
Gets the session for managing dynamic comment books for the given
book.
|
RatingLookupSession |
getRatingLookupSession(Proxy proxy)
Gets the
OsidSession associated with the rating lookup
service. |
RatingLookupSession |
getRatingLookupSessionForBook(Id bookId,
Proxy proxy)
Gets the
OsidSession associated with the rating lookup
service for the given book. |
changeBranch, initialize, rollbackService
close
getBookRecordTypes, getBookSearchRecordTypes, getCommentRecordTypes, getCommentSearchRecordTypes, supportsBookAdmin, supportsBookHierarchy, supportsBookHierarchyDesign, supportsBookLookup, supportsBookNotification, supportsBookQuery, supportsBookRecordType, supportsBookSearch, supportsBookSearchRecordType, supportsCommentAdmin, supportsCommentBook, supportsCommentBookAssignment, supportsCommentingBatch, supportsCommentLookup, supportsCommentNotification, supportsCommentQuery, supportsCommentRecordType, supportsCommentSearch, supportsCommentSearchRecordType, supportsCommentSmartBook, supportsRatingLookup, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
CommentLookupSession getCommentLookupSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the comment lookup
service.proxy
- a proxy CommentLookupSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsCommentLookup()
is false
optional
- This method must be implemented if
supportsCommentLookup()
is true.
CommentLookupSession getCommentLookupSessionForBook(Id bookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the comment lookup
service for the given book.bookId
- the Id
of the Book
proxy
- a proxy CommentLookupSession
NotFoundException
- no Book
found by the
given Id
NullArgumentException
- bookId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsCommentLookup()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsCommentLookup()
and
supportsVisibleFederation()
are true
RatingLookupSession getRatingLookupSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the rating lookup
service.proxy
- a proxy RatingLookupSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRatingLookup()
is false
optional
- This method must be implemented if
supportsRatingLookup()
is true.
RatingLookupSession getRatingLookupSessionForBook(Id bookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the rating lookup
service for the given book.bookId
- the Id
of the Book
proxy
- a proxy RatingLookupSession
NotFoundException
- no Book
found by the
given Id
NullArgumentException
- bookId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRatingLookup()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsRatingLookup()
and
supportsVisibleFederation()
are true
CommentQuerySession getCommentQuerySession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the comment query
service.proxy
- a proxy CommentQuerySession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsCommentQuery()
is false
optional
- This method must be implemented if
supportsCommentQuery()
is true.
CommentQuerySession getCommentQuerySessionForBook(Id bookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the comment query
service for the given book.bookId
- the Id
of the Book
proxy
- a proxy CommentQuerySession
NotFoundException
- no Comment
found by
the given Id
NullArgumentException
- bookId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsCommentQuery()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsCommentQuery()
and
supportsVisibleFederation()
are true
CommentSearchSession getCommentSearchSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the comment search
service.proxy
- a proxy CommentSearchSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsCommentSearch()
is false
optional
- This method must be implemented if
supportsCommentSearch()
is true.
CommentSearchSession getCommentSearchSessionForBook(Id bookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the comment search
service for the given book.bookId
- the Id
of the Book
proxy
- a proxy CommentSearchSession
NotFoundException
- no Comment
found by
the given Id
NullArgumentException
- bookId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsCommentSearch()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsCommentSearch()
and
supportsVisibleFederation()
are true
CommentAdminSession getCommentAdminSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the comment
administration service.proxy
- a proxy CommentAdminSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsCommentAdmin()
is false
optional
- This method must be implemented if
supportsCommentAdmin()
is true.
CommentAdminSession getCommentAdminSessionForBook(Id bookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the comment
administration service for the given book.bookId
- the Id
of the Book
proxy
- a proxy CommentAdminSession
NotFoundException
- no Comment
found by
the given Id
NullArgumentException
- bookId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsCommentAdmin()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsCommentAdmin()
and
supportsVisibleFederation()
are true
CommentNotificationSession getCommentNotificationSession(CommentReceiver commentReceiver, Proxy proxy) throws OperationFailedException
OsidSession
associated with the comment
notification service.commentReceiver
- the receiverproxy
- a proxy CommentNotificationSession
NullArgumentException
- commentReceiver
or proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCommentNotification()
is false
optional
- This method must be implemented if
supportsCommentNotification()
is true.
CommentNotificationSession getCommentNotificationSessionForBook(CommentReceiver commentReceiver, Id bookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the comment
notification service for the given book.commentReceiver
- the receiverbookId
- the Id
of the Book
proxy
- a proxy CommentNotificationSession
NotFoundException
- no Comment
found by
the given Id
NullArgumentException
- commentReceiver, bookId
or proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCommentNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsCommentNotification()
and
supportsVisibleFederation()
are true
CommentBookSession getCommentBookSession(Proxy proxy) throws OperationFailedException
proxy
- a proxy CommentBookSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsCommentBook()
is false
optional
- This method must be implemented if
supportsCommentBook()
is true.
CommentBookAssignmentSession getCommentBookAssignmentSession(Proxy proxy) throws OperationFailedException
proxy
- a proxy CommentBookAssignmentSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCommentBookAssignment()
is false
optional
- This method must be implemented if
supportsCommentBookAssignment()
is true.
CommentSmartBookSession getCommentSmartBookSession(Id bookId, Proxy proxy) throws NotFoundException, OperationFailedException
bookId
- the Id
of a bookproxy
- a proxy bookId
not foundNotFoundException
- bookId
or
proxy
is null
NullArgumentException
- bookId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCommentSmartBook()
is false
optional
- This method must be implemented if
supportsCommentSmartBook()
is true.
BookLookupSession getBookLookupSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the book lookup
service.proxy
- a proxy BookLookupSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBookLookup()
is false
optional
- This method must be implemented if
supportsBookLookup()
is true.
BookQuerySession getBookQuerySession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the book query
service.proxy
- a proxy BookQuerySession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBookQueryh()
is false
optional
- This method must be implemented if
supportsBookQuery()
is true.
BookSearchSession getBookSearchSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the book search
service.proxy
- a proxy BookSearchSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBookSearch()
is false
optional
- This method must be implemented if
supportsBookSearch()
is true.
BookAdminSession getBookAdminSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the book
administrative service.proxy
- a proxy BookAdminSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBookAdmin()
is false
optional
- This method must be implemented if
supportsBookAdmin()
is true.
BookNotificationSession getBookNotificationSession(BookReceiver bookReceiver, Proxy proxy) throws OperationFailedException
OsidSession
associated with the book
notification service.bookReceiver
- the receiverproxy
- a proxy BookNotificationSession
NullArgumentException
- bookReceiver
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsBookNotification()
is false
optional
- This method must be implemented if
supportsBookNotification()
is true.
BookHierarchySession getBookHierarchySession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the book hierarchy
service.proxy
- a proxy BookHierarchySession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBookHierarchy()
is false
optional
- This method must be implemented if
supportsBookHierarchy()
is true.
BookHierarchyDesignSession getBookHierarchyDesignSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the book hierarchy
design service.proxy
- a proxy BookHierarchyDesignSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsBookHierarchyDesign()
is false
optional
- This method must be implemented if
supportsBookHierarchyDesign()
is true.
CommentingBatchProxyManager getCommentingBatchProxyManager() throws OperationFailedException
CommentingBatchProxyManager.
CommentingBatchProxyManager
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCommentingBatch()
is false
optional
- This method must be implemented if
supportsCommentingBatch()
is true.