public interface IBaseForumModule extends IModule
Code sample :
// creation of a forum module object
IBaseForumModule forumModule = Modules.getForumModule();
try
{
}
finally
{
// uninitialize the module
Modules.releaseModule(forumModule);
}
IForumSpace,
IForum,
IDiscussion,
IPostbeginTransaction, beginTransaction, commitTransaction, commitTransaction, convertId, findNativeClass, generateSystemName, getAnonymous, getAnonymousContext, getContext, getContext, getContextByLogin, getElementFromExternalElement, getExternalElement, getExternalElement, getLoggedOnUser, getLoggedOnUserContext, getLoggedOnUserLanguage, getProtocolPath, getProtocolPath, getProtocolURI, getProtocolURI, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysadmin, getSysadminContext, getTranslation, getTranslationForLanguage, getTranslationKey, initialize, isTransactionActive, rollbackTransaction, rollbackTransaction, setTransactionTimeout, unInitializeIForumSpace createForumSpace(IContext context, IOrganization organization, String name, String description) throws ForumModuleException
context - name - description - ForumModuleExceptionIForumSpace getForumSpace(IContext context, IOrganization organization, String name) throws ForumModuleException
context - The execution context.organization - The IOrganization object.name - The name of the organization.IForumSpace object.ForumModuleException - default module exception.Collection getForumSpaces(IContext context, IOrganization organization) throws ForumModuleException
context - The execution context.organization - The IOrganization object.IForumSpace objects.ForumModuleException - default module exception.Collection getForumSpaces(IContext context) throws ForumModuleException
context - The execution context.IForumSpace objects.ForumModuleException - default module exception.IForum createForum(IContext context, IForumSpace forumSpace, String label, String description) throws ForumModuleException
ForumModuleExceptionIForum createForumCategory(IContext context, IForumSpace forumSpace, String label, String description) throws ForumModuleException
ForumModuleExceptionIForum createForum(IContext context, IForum parent, String label, String description) throws ForumModuleException
ForumModuleExceptionIForum createForumCategory(IContext context, IForum parent, String label, String description) throws ForumModuleException
ForumModuleExceptionIForum getForum(IContext context, IForumSpace forumSpace, String label) throws ForumModuleException
ForumModuleExceptionIForum getForum(IContext context, IForum parent, String label) throws ForumModuleException
ForumModuleExceptionCollection getForums(IContext context, IForum parent) throws ForumModuleException
ForumModuleExceptionCollection getForums(IContext context, IForumSpace forumSpace) throws ForumModuleException
ForumModuleExceptionIForum getForumByPath(IContext context, IForumSpace forumSpace, String path) throws ForumModuleException
ForumModuleExceptionIForumSpace getForumSpace(IContext context, IForum forum) throws ForumModuleException
ForumModuleExceptionIForum getParentForum(IContext context, IForum forum) throws ForumModuleException
ForumModuleExceptionCollection getParentForums(IContext context, IForum forum) throws ForumModuleException
ForumModuleExceptionIDiscussion createDiscussion(IContext context, IForum forum, String label, String description) throws ForumModuleException
ForumModuleExceptionIDiscussion getDiscussion(IContext context, IForum forum, String label) throws ForumModuleException
ForumModuleExceptionCollection getDiscussions(IContext context, IForum parent) throws ForumModuleException
ForumModuleExceptionvoid pin(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionvoid unPin(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionvoid lock(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionvoid unLock(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionIForumSpace getForumSpace(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionIForum getParentForum(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionCollection getParentForums(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionIPost replyTo(IContext context, IDiscussion discussion, String label, String description) throws ForumModuleException
ForumModuleExceptionIPost replyTo(IContext context, IPost post, String label, String description) throws ForumModuleException
ForumModuleExceptionIPost getFirstPost(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionIPost getLastPost(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionCollection getPosts(IContext context, IDiscussion discussion) throws ForumModuleException
ForumModuleExceptionCollection getPosts(IContext context, IPost parent) throws ForumModuleException
ForumModuleExceptionIForumSpace getForumSpace(IContext context, IPost post) throws ForumModuleException
ForumModuleExceptionIForum getParentForum(IContext context, IPost post) throws ForumModuleException
ForumModuleExceptionIDiscussion getParentDiscussion(IContext context, IPost post) throws ForumModuleException
ForumModuleExceptionCollection getParentForums(IContext context, IPost post) throws ForumModuleException
ForumModuleExceptionCollection getAttachments(IPost post) throws ForumModuleException
ForumModuleExceptionIAttachment getAttachment(IPost post, String fileName) throws ForumModuleException
ForumModuleExceptionIAttachment addAttachment(IPost post, File ioFile) throws ForumModuleException
ForumModuleExceptionIAttachment addAttachment(IPost post, String fileName, InputStream inputStream) throws ForumModuleException
ForumModuleExceptionIAttachment addAttachment(IPost post, String fileName, String fullPath) throws ForumModuleException
ForumModuleExceptionIAttachment addAttachment(IPost post, IAttachment attachment) throws ForumModuleException
ForumModuleExceptionIUser getUser(Object object) throws ForumModuleException
ForumModuleExceptionIForumSpace getForumSpace(Object object) throws ForumModuleException
ForumModuleExceptionIForum getForum(Object object) throws ForumModuleException
ForumModuleExceptionIDiscussion getDiscussion(Object object) throws ForumModuleException
ForumModuleExceptionIPost getPost(Object object) throws ForumModuleException
ForumModuleExceptionIProtocolSupport getElementByProtocolURI(String protocolURI) throws ModuleException
IElement object which implements IProtocolSupport interface.protocolURI - The protocol URI as a java.lang.String.IProtocolSupport object.ModuleException - default module exception.ISecurityController getSecurityController(ISecuritySupport securitySupport) throws ForumModuleException
securitySupport - Any IElement that implements ISecuritySupport interface.ISecurityController object.ForumModuleException - default module exception.Copyright © 2021 Visiativ Software. All rights reserved.