public interface ForumProxyManager extends OsidProxyManager, ForumProfile
The reply manager provides access to forum 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:
PostLookupSession:
a session to retrieve posts
PostQuerySession:
a session to query posts PostSearchSession:
a session to search for posts
PostAdminSession:
a session to create, update and
delete posts PostNotificationSession:
a session to receive
notifications for changes in posts PostForumSession:
a session to lookup post forum
mappings PostForumAssignmentSession:
a session to manage
post forum mappings PostSmartForumSession:
a session to manage smart
forums of posts ReplyLookupSession:
a session to lookup replies
ReplyAdminSession:
a session to manage replies
ReplyNotificationSession:
a session to subscribe
to notifications of reply changes ForumLookupSession:
a session to retrieve forums
ForumQuerySession:
a session to query forums ForumSearchSession:
a session to search for forums
ForumAdminSession:
a session to create, update and
delete forums ForumNotificationSession:
a session to receive
notifications for changes in forums ForumHierarchySession:
a session to traverse
hierarchies of forums ForumHierarchyDesignSession:
a session to manage
hierarchies of forums The forum manager also provides a profile for determing the supported search types supported by this service.
Modifier and Type | Method and Description |
---|---|
ForumAdminSession |
getForumAdminSession(Proxy proxy)
Gets the
OsidSession associated with the forum
administrative service. |
ForumBatchProxyManager |
getForumBatchProxyManager()
Gets a
ForumBatchProxyManager. |
ForumHierarchyDesignSession |
getForumHierarchyDesignSession(Proxy proxy)
Gets the
OsidSession associated with the forum
hierarchy design service. |
ForumHierarchySession |
getForumHierarchySession(Proxy proxy)
Gets the
OsidSession associated with the forum
hierarchy service. |
ForumLookupSession |
getForumLookupSession(Proxy proxy)
Gets the
OsidSession associated with the forum lookup
service. |
ForumNotificationSession |
getForumNotificationSession(ForumReceiver forumReceiver,
Proxy proxy)
Gets the
OsidSession associated with the forum
notification service. |
ForumQuerySession |
getForumQuerySession(Proxy proxy)
Gets the
OsidSession associated with the forum query
service. |
ForumSearchSession |
getForumSearchSession(Proxy proxy)
Gets the
OsidSession associated with the forum search
service. |
PostAdminSession |
getPostAdminSession(Proxy proxy)
Gets the
OsidSession associated with the post
administrative service. |
PostAdminSession |
getPostAdminSessionForForum(Id forumId,
Proxy proxy)
Gets the
OsidSession associated with the post
administration service for the given forum. |
PostForumAssignmentSession |
getPostForumAssignmentSession(Proxy proxy)
Gets the session for assigning post to forum mappings.
|
PostForumSession |
getPostForumSession(Proxy proxy)
Gets the session for retrieving post to forum mappings.
|
PostLookupSession |
getPostLookupSession(Proxy proxy)
Gets the
OsidSession associated with the post lookup
service. |
PostLookupSession |
getPostLookupSessionForForum(Id forumId,
Proxy proxy)
Gets the
OsidSession associated with the post lookup
service for the given forum. |
PostNotificationSession |
getPostNotificationSession(PostReceiver postReceiver,
Proxy proxy)
Gets the
OsidSession associated with the post
notification service. |
PostNotificationSession |
getPostNotificationSessionForForum(PostReceiver postReceiver,
Id forumId,
Proxy proxy)
Gets the
OsidSession associated with the post
notification service for the given forum. |
PostQuerySession |
getPostQuerySession(Proxy proxy)
Gets the
OsidSession associated with the post query
service. |
PostQuerySession |
getPostQuerySessionForForum(Id forumId,
Proxy proxy)
Gets the
OsidSession associated with the post query
service for the given forum. |
PostSearchSession |
getPostSearchSession(Proxy proxy)
Gets the
OsidSession associated with the post search
service. |
PostSearchSession |
getPostSearchSessionForForum(Id forumId,
Proxy proxy)
Gets the
OsidSession associated with the post search
service for the given forum. |
PostSmartForumSession |
getPostSmartForumSession(Id forumId,
Proxy proxy)
Gets the session for managing dynamic post forums for the given forum.
|
ReplyAdminSession |
getReplyAdminSession(Proxy proxy)
Gets the
OsidSession associated with the reply
administration service. |
ReplyAdminSession |
getReplyAdminSessionForForum(Id forumId,
Proxy proxy)
Gets the
OsidSession associated with the reply
administration service for the given forum. |
ReplyLookupSession |
getReplyLookupSession(Proxy proxy)
Gets the
OsidSession associated with the reply lookup
service. |
ReplyLookupSession |
getReplyLookupSessionForForum(Id forumId,
Proxy proxy)
Gets the
OsidSession associated with the reply lookup
service for the given forum. |
ReplyNotificationSession |
getReplyNotificationSession(ReplyReceiver replyReceiver,
Proxy proxy)
Gets the
OsidSession associated with the reply
notification service. |
ReplyNotificationSession |
getReplyNotificationSessionForForum(ReplyReceiver replyReceiver,
Id forumId,
Proxy proxy)
Gets the
OsidSession associated with the reply
notification service for the given forum. |
changeBranch, initialize, rollbackService
close
getForumRecordTypes, getForumSearchRecordTypes, getPostRecordTypes, getPostSearchRecordTypes, getReplyRecordTypes, getReplySearchRecordTypes, supportsForumAdmin, supportsForumBatch, supportsForumHierarchy, supportsForumHierarchyDesign, supportsForumLookup, supportsForumNotification, supportsForumQuery, supportsForumRecordType, supportsForumSearch, supportsForumSearchRecordType, supportsPostAdmin, supportsPostForum, supportsPostForumAssignment, supportsPostLookup, supportsPostNotification, supportsPostQuery, supportsPostRecordType, supportsPostSearch, supportsPostSearchRecordType, supportsPostSmartForum, supportsReplyAdmin, supportsReplyLookup, supportsReplyNotification, supportsReplyRecordType, supportsReplySearchRecordType, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
PostLookupSession getPostLookupSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the post lookup
service.proxy
- a proxy PostLookupSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsPostLookup()
is false
optional
- This method must be implemented if
supportsPostLookup()
is true.
PostLookupSession getPostLookupSessionForForum(Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the post lookup
service for the given forum.forumId
- the Id
of the Forum
proxy
- a proxy PostLookupSession
NotFoundException
- no Forum
found by
the given Id
NullArgumentException
- forumId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsPostLookup()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsPostLookup()
and
supportsVisibleFederation()
are true
PostQuerySession getPostQuerySession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the post query
service.proxy
- a proxy PostQuerySession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsPostQuery()
is false
optional
- This method must be implemented if
supportsPostQuery()
is true.
PostQuerySession getPostQuerySessionForForum(Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the post query
service for the given forum.forumId
- the Id
of the Forum
proxy
- a proxy PostQuerySession
NotFoundException
- no Post
found by the
given Id
NullArgumentException
- forumId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsPostQuery()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsPostQuery()
and
supportsVisibleFederation()
are true
PostSearchSession getPostSearchSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the post search
service.proxy
- a proxy PostSearchSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsPostSearch()
is false
optional
- This method must be implemented if
supportsPostSearch()
is true.
PostSearchSession getPostSearchSessionForForum(Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the post search
service for the given forum.forumId
- the Id
of the Forum
proxy
- a proxy PostSearchSession
NotFoundException
- no Post
found by the
given Id
NullArgumentException
- forumId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsPostSearch()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsPostSearch()
and
supportsVisibleFederation()
are true
PostAdminSession getPostAdminSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the post
administrative service.proxy
- a proxy PostAdminSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsPostAdmin()
is false
optional
- This method must be implemented if
supportsPostAdmin()
is true.
PostAdminSession getPostAdminSessionForForum(Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the post
administration service for the given forum.forumId
- the Id
of the Forum
proxy
- a proxy PostAdminSession
NotFoundException
- no Post
found by the
given Id
NullArgumentException
- forumId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsPostAdmin()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsPostAdmin()
and
supportsVisibleFederation()
are true
PostNotificationSession getPostNotificationSession(PostReceiver postReceiver, Proxy proxy) throws OperationFailedException
OsidSession
associated with the post
notification service.postReceiver
- the receiverproxy
- a proxy PostNotificationSession
NullArgumentException
- postReceiver
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsPostNotification()
is false
optional
- This method must be implemented if
supportsPostNotification()
is true.
PostNotificationSession getPostNotificationSessionForForum(PostReceiver postReceiver, Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the post
notification service for the given forum.postReceiver
- the receiverforumId
- the Id
of the Forum
proxy
- a proxy PostNotificationSession
NotFoundException
- no Post
found by the
given Id
NullArgumentException
- postReceiver, forumId
or proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsPostNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsPostNotification()
and
supportsVisibleFederation()
are true
PostForumSession getPostForumSession(Proxy proxy) throws OperationFailedException
proxy
- a proxy PostForumSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsPostForum()
is false
optional
- This method must be implemented if
supportsPostForum()
is true.
PostForumAssignmentSession getPostForumAssignmentSession(Proxy proxy) throws OperationFailedException
proxy
- a proxy PostForumAssignmentSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsPostForumAssignment()
is false
optional
- This method must be implemented if
supportsPostForumAssignment()
is true.
PostSmartForumSession getPostSmartForumSession(Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException
forumId
- the Id
of a forumproxy
- a proxy forumId
not foundNotFoundException
- forumId
or
proxy
is null
NullArgumentException
- forumId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsPostSmartForum()
is false
optional
- This method must be implemented if
supportsPostSmartForum()
is true.
ReplyLookupSession getReplyLookupSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the reply lookup
service.proxy
- a proxy ReplyLookupSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsReplyLookup()
is false
optional
- This method must be implemented if
supportsReplyLookup()
is true.
ReplyLookupSession getReplyLookupSessionForForum(Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the reply lookup
service for the given forum.forumId
- the Id
of the Forum
proxy
- a proxy ReplyLookupSession
NotFoundException
- no Forum
found by
the given Id
NullArgumentException
- forumId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsReplyLookup()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsReplyLookup()
and
supportsVisibleFederation()
are true
ReplyAdminSession getReplyAdminSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the reply
administration service.proxy
- a proxy ReplyAdminSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsReplyAdmin()
is false
optional
- This method must be implemented if
supportsReplyAdmin()
is true.
ReplyAdminSession getReplyAdminSessionForForum(Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the reply
administration service for the given forum.forumId
- the Id
of the Forum
proxy
- a proxy ReplyAdminSession
NotFoundException
- no Forum
found by
the given Id
NullArgumentException
- forumId
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsReplyAdmin()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsReplyAdmin()
and
supportsVisibleFederation()
are true
ReplyNotificationSession getReplyNotificationSession(ReplyReceiver replyReceiver, Proxy proxy) throws OperationFailedException
OsidSession
associated with the reply
notification service.replyReceiver
- the receiverproxy
- a proxy ReplyNotificationSession
NullArgumentException
- replyReceiver
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsReplyNotification()
is false
optional
- This method must be implemented if
supportsReplyNotification()
is true.
ReplyNotificationSession getReplyNotificationSessionForForum(ReplyReceiver replyReceiver, Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession
associated with the reply
notification service for the given forum.replyReceiver
- the receiverforumId
- the Id
of the Forum
proxy
- a proxy ReplyNotificationSession
NotFoundException
- no Forum
found by
the given Id
NullArgumentException
- replyReceiver, forumId,
or proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsReplyNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsReplyNotification()
and
supportsVisibleFederation()
are true
ForumLookupSession getForumLookupSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the forum lookup
service.proxy
- a proxy ForumLookupSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsForumLookup()
is false
optional
- This method must be implemented if
supportsForumLookup()
is true.
ForumQuerySession getForumQuerySession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the forum query
service.proxy
- a proxy ForumQuerySession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsForumQuery()
is false
optional
- This method must be implemented if
supportsForumQuery()
is true.
ForumSearchSession getForumSearchSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the forum search
service.proxy
- a proxy ForumSearchSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsForumSearch()
is false
optional
- This method must be implemented if
supportsForumSearch()
is true.
ForumAdminSession getForumAdminSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the forum
administrative service.proxy
- a proxy ForumAdminSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsForumAdmin()
is false
optional
- This method must be implemented if
supportsForumAdmin()
is true.
ForumNotificationSession getForumNotificationSession(ForumReceiver forumReceiver, Proxy proxy) throws OperationFailedException
OsidSession
associated with the forum
notification service.forumReceiver
- the receiverproxy
- a proxy ForumNotificationSession
NullArgumentException
- forumReceiver
or
proxy
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsForumNotification()
is false
optional
- This method must be implemented if
supportsForumNotification()
is true.
ForumHierarchySession getForumHierarchySession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the forum
hierarchy service.proxy
- a proxy ForumHierarchySession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsForumHierarchy()
is false
optional
- This method must be implemented if
supportsForumHierarchy()
is true.
ForumHierarchyDesignSession getForumHierarchyDesignSession(Proxy proxy) throws OperationFailedException
OsidSession
associated with the forum
hierarchy design service.proxy
- a proxy ForumHierarchyDesignSession
NullArgumentException
- proxy
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsForumHierarchyDesign()
is false
optional
- This method must be implemented if
supportsForumHierarchyDesign()
is true.
ForumBatchProxyManager getForumBatchProxyManager() throws OperationFailedException
ForumBatchProxyManager.
ForumBatchProxyManager
OperationFailedException
- unable to complete requestUnimplementedException
- supportsForumBatch()
is false
optional
- This method must be implemented if
supportsForumBatch()
is true.