Interface ForumBatchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, ForumBatchProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The forum batch proxy manager provides access to forum batch sessions
and provides interoperability tests for various aspects of this service.
Methods in this manager support the passing of a Proxy object. The
sessions included in this manager are:
-
PostBatchSession: a session to create, modify and delete posts in bulk -
ReplyBatchAdminSession: a session to create, modify and delete replies in bulk -
ForumBatchAdminSession: a session to create, modify and delete forums in bulk
-
Method Summary
Modifier and TypeMethodDescriptiongetForumBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk forum administration service.getPostBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk post administration service.getPostBatchAdminSessionForForum(Id forumId, Proxy proxy) Gets theOsidSessionassociated with the bulk post administration service for the given forum.getReplyBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk reply administration service.getReplyBatchAdminSessionForForum(Id forumId, Proxy proxy) Gets theOsidSessionassociated with the bulk reply administration service for the given forum.Methods inherited from interface ForumBatchProfile
supportsForumBatchAdmin, supportsPostBatchAdmin, supportsReplyBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of forums is available.booleanTests if bulk administration of posts is available.booleanTests if bulk administration of replies is available.booleanTests if federation is visible.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getPostBatchAdminSession
Gets theOsidSessionassociated with the bulk post administration service.- Parameters:
proxy- a proxy- Returns:
- a
PostBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPostBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPostBatchAdmin()} is {@code true} .
-
getPostBatchAdminSessionForForum
PostBatchAdminSession getPostBatchAdminSessionForForum(Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk post administration service for the given forum.- Parameters:
forumId- theIdof theForumproxy- a proxy- Returns:
- a
PostBatchAdminSession - Throws:
NotFoundException- noForumfound by the givenIdNullArgumentException-forumIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPostBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPostBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getReplyBatchAdminSession
Gets theOsidSessionassociated with the bulk reply administration service.- Parameters:
proxy- a proxy- Returns:
- a
ReplyBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsReplyBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsReplyBatchAdmin()} is {@code true} .
-
getReplyBatchAdminSessionForForum
ReplyBatchAdminSession getReplyBatchAdminSessionForForum(Id forumId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk reply administration service for the given forum.- Parameters:
forumId- theIdof theForumproxy- a proxy- Returns:
- a
ReplyBatchAdminSession - Throws:
NotFoundException- noForumfound by the givenIdNullArgumentException-forumIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsReplyBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsReplyBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getForumBatchAdminSession
Gets theOsidSessionassociated with the bulk forum administration service.- Parameters:
proxy- a proxy- Returns:
- a
ForumBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsForumBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsForumBatchAdmin()} is {@code true} .
-