org.exoplatform.forum.service
Interface ForumService

All Superinterfaces:
ForumServiceLegacy
All Known Implementing Classes:
ForumServiceImpl

public interface ForumService
extends ForumServiceLegacy

Created by The eXo Platform SARL.


Method Summary
 boolean addBanIP(java.lang.String ip)
           
 boolean addBanIPForum(java.lang.String ip, java.lang.String forumId)
           
 void addInitBBCodePlugin(org.exoplatform.container.component.ComponentPlugin plugin)
          Adds the plugin.
 void addInitialDataPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
          Adds the plugin.
 void addInitRssPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
           
 void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
          Adds the plugin.
 void addRolePlugin(org.exoplatform.container.component.ComponentPlugin plugin)
          Adds the plugin.
 void addTag(java.util.List<Tag> tags, java.lang.String userName, java.lang.String topicPath)
          Adds the topic in tag.
 void addWatch(int watchType, java.lang.String path, java.util.List<java.lang.String> values, java.lang.String currentUser)
           
 void calculateModerator(java.lang.String categoryPath, boolean isNew)
           
 long checkPrune(PruneSetting pSetting)
           
 void createUserProfile(org.exoplatform.services.organization.User user)
           
 void evaluateActiveUsers(java.lang.String query)
           
 java.lang.Object exportXML(java.lang.String categoryId, java.lang.String forumId, java.util.List<java.lang.String> objectIds, java.lang.String nodePath, java.io.ByteArrayOutputStream bos, boolean isExportAll)
           
 java.util.List<java.lang.String> getActiveBBCode()
           
 java.util.List<ForumSearch> getAdvancedSearch(ForumEventQuery eventQuery, java.util.List<java.lang.String> listCateIds, java.util.List<java.lang.String> listForumIds)
          Gets the advanced search.
 java.util.List<BBCode> getAllBBCode()
           
 java.util.List<ForumLinkData> getAllLink(java.lang.String strQueryCate, java.lang.String strQueryForum)
          Gets the all link.
 java.util.List<PruneSetting> getAllPruneSetting()
           
 java.util.List<java.lang.String> getAllTagName(java.lang.String strQuery, java.lang.String userAndTopicId)
           
 java.util.List<Tag> getAllTags()
          Gets the tags.
 java.util.List<Topic> getAllTopicsOld(long date, java.lang.String forumPatch)
           
 long getAvailablePost(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId, java.lang.String isApproved, java.lang.String isHidden, java.lang.String userLogin)
           
 java.util.List<java.lang.String> getBanList()
           
 BBCode getBBcode(java.lang.String id)
           
 java.util.List<java.lang.String> getBookmarks(java.lang.String userName)
           
 java.util.List<Category> getCategories()
          Gets the categories.
 Category getCategory(java.lang.String categoryId)
          Gets the category.
 UserProfile getDefaultUserProfile(java.lang.String userName, java.lang.String ip)
           
 Forum getForum(java.lang.String categoryId, java.lang.String forumId)
          Gets the forum in the category identify.
 ForumAdministration getForumAdministration()
          Gets the forum administration.
 java.util.List<java.lang.String> getForumBanList(java.lang.String forumId)
           
 java.lang.String getForumHomePath()
          Gets the forum home path.
 java.util.List<Forum> getForums(java.lang.String categoryId, java.lang.String strQuery)
          Gets the forums in the category identify.
 ForumStatistic getForumStatistic()
          Gets the forum statistic.
 ForumSubscription getForumSubscription(java.lang.String userId)
          Adds the watch.
 java.util.List<Forum> getForumSummaries(java.lang.String categoryId, java.lang.String strQuery)
           
 java.util.List<ForumSearch> getJobWattingForModerator(java.lang.String[] paths)
           
 int getJobWattingForModeratorByUser(java.lang.String userId)
           
 java.lang.String getLastLogin()
          Gets the last login.
 long getLastReadIndex(java.lang.String path, java.lang.String isApproved, java.lang.String isHidden, java.lang.String userLogin)
           
 JCRPageList getListPostsByIP(java.lang.String ip, java.lang.String strOrderBy)
           
 SendMessageInfo getMessageInfo(java.lang.String name)
           
 java.util.List<Tag> getMyTagInTopic(java.lang.String[] tagIds)
          Gets the tags by user.
 java.util.List<Post> getNewPosts(int number)
          Select number of lasted public post.
 long getNewPrivateMessage(java.lang.String userName)
           
 java.lang.Object getObjectNameById(java.lang.String id, java.lang.String type)
          Gets the object name by path.
 java.lang.Object getObjectNameByPath(java.lang.String path)
          Gets the object name by path.
 java.util.List<java.lang.String> getOnlineUsers()
          Gets the online users.
 JCRPageList getPageListUserProfile()
          Gets the page list user profile.
 JCRPageList getPagePostByUser(java.lang.String userName, java.lang.String userId, boolean isMod, java.lang.String strOrderBy)
          Gets the page post by user.
 JCRPageList getPageTopic(java.lang.String categoryId, java.lang.String forumId, java.lang.String strQuery, java.lang.String strOrderBy)
          Gets the page topic in forum identify.
 JCRPageList getPageTopicByType(java.lang.String type)
           
 JCRPageList getPageTopicByUser(java.lang.String userName, boolean isMod, java.lang.String strOrderBy)
          Gets the page topic by user.
 JCRPageList getPageTopicOld(long date, java.lang.String forumPatch)
          Gets the page topic old.
 java.lang.String[] getPermissionTopicByCategory(java.lang.String categoryId, java.lang.String type)
           
 Poll getPoll(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId)
          Gets the poll.
 Post getPost(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId, java.lang.String postId)
          This method should: 1.
 JCRPageList getPostForSplitTopic(java.lang.String topicPath)
          Gets the posts.
 JCRPageList getPosts(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId, java.lang.String isApproved, java.lang.String isHidden, java.lang.String strQuery, java.lang.String userLogin)
           
 JCRPageList getPrivateMessage(java.lang.String userName, java.lang.String type)
          Gets the private message.
 PruneSetting getPruneSetting(java.lang.String forumPath)
           
 UserProfile getQuickProfile(java.lang.String userName)
           
 java.util.List<UserProfile> getQuickProfiles(java.util.List<java.lang.String> userList)
           
 java.util.List<ForumSearch> getQuickSearch(java.lang.String textQuery, java.lang.String type, java.lang.String pathQuery, java.lang.String userId, java.util.List<java.lang.String> listCateIds, java.util.List<java.lang.String> listForumIds, java.util.List<java.lang.String> forumIdsOfModerator)
          Gets the quick search.
 java.lang.String getScreenName(java.lang.String userName)
           
 Tag getTag(java.lang.String tagId)
          Gets the tag.
 java.util.List<java.lang.String> getTagNameInTopic(java.lang.String userAndTopicId)
           
 Topic getTopic(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId, java.lang.String userRead)
          Gets the topic.
 JCRPageList getTopicByMyTag(java.lang.String userIdAndtagId, java.lang.String strOrderBy)
          Gets the topics by tag.
 Topic getTopicByPath(java.lang.String topicPath, boolean isLastPost)
          Gets the topic by path.
 LazyPageList<Topic> getTopicList(java.lang.String categoryId, java.lang.String forumId, java.lang.String string, java.lang.String strOrderBy, int pageSize)
           
 java.util.List<Topic> getTopics(java.lang.String categoryId, java.lang.String forumId)
          Gets the topics.
 Topic getTopicSummary(java.lang.String topicPath)
           
 TopicType getTopicType(java.lang.String Id)
           
 java.util.List<TopicType> getTopicTypes()
           
 long getTotalTopicOld(long date, java.lang.String forumPatch)
           
 ForumAttachment getUserAvatar(java.lang.String userName)
           
 UserProfile getUserInfo(java.lang.String userName)
          Gets the user info.
 UserProfile getUserInformations(UserProfile userProfile)
           
 java.util.List<java.lang.String> getUserModerator(java.lang.String userName, boolean isModeCate)
           
 UserProfile getUserProfileManagement(java.lang.String userName)
           
 UserProfile getUserSettingProfile(java.lang.String userName)
           
 java.util.List<Watch> getWatchByUser(java.lang.String userId)
           
 void importXML(java.lang.String nodePath, java.io.InputStream is, java.lang.String mimeType)
           
 boolean isAdminRole(java.lang.String userName)
           
 boolean isOnline(java.lang.String userId)
          Checks if is online.
 void mergeTopic(java.lang.String srcTopicPath, java.lang.String destTopicPath, java.lang.String mailContent, java.lang.String link)
           
 void modifyForum(Forum forum, int type)
          Modify this forum identify.
 void modifyPost(java.util.List<Post> posts, int type)
           
 void modifyTopic(java.util.List<Topic> topics, int type)
          Modify topic.
 void moveForum(java.util.List<Forum> forums, java.lang.String destCategoryPath)
          Move forum.
 void movePost(java.lang.String[] postPaths, java.lang.String destTopicPath, boolean isCreatNewTopic, java.lang.String mailContent, java.lang.String link)
          Move post.
 void moveTopic(java.util.List<Topic> topics, java.lang.String destForumPath, java.lang.String mailContent, java.lang.String link)
          Move topic.
 void registerListenerForCategory(java.lang.String categoryId)
           
 void removeBan(java.lang.String ip)
           
 void removeBanIPForum(java.lang.String ip, java.lang.String forumId)
           
 void removeBBCode(java.lang.String bbcodeId)
           
 Category removeCategory(java.lang.String categoryId)
          Removes the category.
 Forum removeForum(java.lang.String categoryId, java.lang.String forumId)
          Remove the forum in category identify.
 Poll removePoll(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId)
          Removes the poll.
 Post removePost(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId, java.lang.String postId)
          Removes the post.
 void removePrivateMessage(java.lang.String messageId, java.lang.String userName, java.lang.String type)
          Removes the private message.
 void removeProfile(java.lang.String userId)
           
 Topic removeTopic(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId)
          Removes the topic.
 void removeTopicType(java.lang.String topicTypeId)
           
 void removeWatch(int watchType, java.lang.String path, java.lang.String values)
           
 void runPrune(PruneSetting pSetting)
           
 void runPrune(java.lang.String forumPath)
           
 void saveBBCode(java.util.List<BBCode> bbcodes)
           
 void saveCategory(Category category, boolean isNew)
          Save category.
 void saveCollapsedCategories(java.lang.String userName, java.lang.String categoryId, boolean isAdd)
          Save user collapCategories.
 void saveForum(java.lang.String categoryId, Forum forum, boolean isNew)
          Save forum.Check exists forum, if not to create new else update exists forum
 void saveForumAdministration(ForumAdministration forumAdministration)
          Save forum administration.
 void saveForumStatistic(ForumStatistic forumStatistic)
          Save forum statistic.
 void saveForumSubscription(ForumSubscription forumSubscription, java.lang.String userId)
           
 void saveLastPostIdRead(java.lang.String userId, java.lang.String[] lastReadPostOfForum, java.lang.String[] lastReadPostOfTopic)
           
 void saveModerateOfForums(java.util.List<java.lang.String> forumPaths, java.lang.String userName, boolean isDelete)
          Save user is moderator of list forum
 void saveModOfCategory(java.util.List<java.lang.String> moderatorCate, java.lang.String userId, boolean isAdd)
           
 void savePoll(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId, Poll poll, boolean isNew, boolean isVote)
          Save poll.
 void savePost(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId, Post post, boolean isNew, java.lang.String defaultEmailContent)
          This method should: 1.
 void savePrivateMessage(ForumPrivateMessage privateMessage)
          Save private message.
 void savePruneSetting(PruneSetting pruneSetting)
           
 void saveReadMessage(java.lang.String messageId, java.lang.String userName, java.lang.String type)
          Save read message.
 void saveTag(Tag newTag)
          Save tag.
 void saveTopic(java.lang.String categoryId, java.lang.String forumId, Topic topic, boolean isNew, boolean isMove, java.lang.String defaultEmailContent)
          Save topic.
 void saveTopicType(TopicType topicType)
           
 void saveUserAvatar(java.lang.String userId, ForumAttachment fileAttachment)
           
 void saveUserBookmark(java.lang.String userName, java.lang.String bookMark, boolean isNew)
          Save user bookmark.
 void saveUserModerator(java.lang.String userName, java.util.List<java.lang.String> ids, boolean isModeCate)
           
 void saveUserProfile(UserProfile userProfile, boolean isOption, boolean isBan)
          Save user profile.
 void saveUserSettingProfile(UserProfile userProfile)
           
 javax.jcr.NodeIterator search(java.lang.String queryString)
           
 JCRPageList searchUserProfile(java.lang.String userSearch)
          Gets the user profile.
 void setClosedPoll(java.lang.String categoryId, java.lang.String forumId, java.lang.String topicId, Poll poll)
          Sets the closed poll.
 void setDefaultAvatar(java.lang.String userName)
           
 void setViewCountTopic(java.lang.String path, java.lang.String userRead)
           
 void unRegisterListenerForCategory(java.lang.String path)
           
 void unTag(java.lang.String tagId, java.lang.String userName, java.lang.String topicPath)
          UnTag the topic in tag.
 void updateEmailWatch(java.util.List<java.lang.String> listNodeId, java.lang.String newEmailAdd, java.lang.String userId)
           
 void updateForum(java.lang.String path)
           
 void updateForumAccess(java.lang.String userId, java.lang.String forumId)
           
 void updateForumStatistic()
           
 void updateLoggedinUsers()
           
 void updateStatisticCounts(long topicCoutn, long postCount)
           
 void updateTopicAccess(java.lang.String userId, java.lang.String topicId)
           
 void updateUserProfile(org.exoplatform.services.organization.User user)
           
 void updateUserProfileInfo(java.lang.String name)
           
 UserProfile updateUserProfileSetting(UserProfile userProfile)
           
 void userLogin(java.lang.String userId)
          User login.
 void userLogout(java.lang.String userId)
          User logout.
 
Methods inherited from interface org.exoplatform.forum.service.ForumServiceLegacy
addBanIPForum, addTag, addWatch, createUserProfile, evaluateActiveUsers, exportXML, getAdvancedSearch, getAllLink, getAllPruneSetting, getAllTags, getAllTopicsOld, getAvailablePost, getBookmarks, getCategories, getCategory, getDefaultUserProfile, getForum, getForumAdministration, getForumHomePath, getForums, getForumStatistic, getJobWattingForModerator, getJobWattingForModeratorByUser, getListPostsByIP, getMyTagInTopic, getNewPrivateMessage, getObjectNameById, getObjectNameByPath, getPageListUserProfile, getPagePostByUser, getPageTopic, getPageTopicByUser, getPageTopicOld, getPoll, getPost, getPosts, getPrivateMessage, getPruneSetting, getQuickProfile, getQuickProfiles, getQuickSearch, getTag, getTopic, getTopicByMyTag, getTopicByPath, getTopics, getTotalTopicOld, getUserAvatar, getUserInfo, getUserInformations, getUserProfileManagement, getUserSettingProfile, getWatchByUser, importXML, modifyForum, modifyPost, modifyTopic, moveForum, movePost, movePost, moveTopic, registerListenerForCategory, removeBanIPForum, removeCategory, removeForum, removePoll, removePrivateMessage, removeTopic, removeWatch, saveCategory, saveCollapsedCategories, saveEmailUserProfile, saveForum, saveForumAdministration, saveForumStatistic, saveModerateOfForums, savePoll, savePost, savePrivateMessage, savePruneSetting, saveReadMessage, saveTag, saveTopic, saveUserAvatar, saveUserBookmark, saveUserProfile, saveUserSettingProfile, search, searchUserProfile, setClosedPoll, setDefaultAvatar, unTag, updateDataImported, updateEmailWatch, updateForumStatistic
 

Method Detail

addPlugin

void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
               throws java.lang.Exception
Adds the plugin.

Parameters:
plugin - the plugin
Throws:
java.lang.Exception - the exception

addRolePlugin

void addRolePlugin(org.exoplatform.container.component.ComponentPlugin plugin)
                   throws java.lang.Exception
Adds the plugin.

Parameters:
plugin - the plugin
Throws:
java.lang.Exception - the exception

addInitialDataPlugin

void addInitialDataPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
                          throws java.lang.Exception
Adds the plugin.

Parameters:
plugin - the plugin
Throws:
java.lang.Exception - the exception

addInitBBCodePlugin

void addInitBBCodePlugin(org.exoplatform.container.component.ComponentPlugin plugin)
                         throws java.lang.Exception
Adds the plugin.

Parameters:
plugin - the plugin
Throws:
java.lang.Exception - the exception

addInitRssPlugin

void addInitRssPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getCategories

java.util.List<Category> getCategories()
                                       throws java.lang.Exception
Gets the categories.

Parameters:
sProvider - is the SessionProvider
Returns:
the list category
Throws:
java.lang.Exception - the exception

getCategory

Category getCategory(java.lang.String categoryId)
                     throws java.lang.Exception
Gets the category.

Parameters:
sProvider - is the SessionProvider
categoryId - is the id of category.
Returns:
the category
Throws:
java.lang.Exception - the exception

getPermissionTopicByCategory

java.lang.String[] getPermissionTopicByCategory(java.lang.String categoryId,
                                                java.lang.String type)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

saveCategory

void saveCategory(Category category,
                  boolean isNew)
                  throws java.lang.Exception
Save category. Check exists category, if not to create new else update exists category

Parameters:
sProvider - is the SessionProvider
category - is the category
isNew - is the true when add new category or false when update category.
Throws:
java.lang.Exception - the exception

calculateModerator

void calculateModerator(java.lang.String categoryPath,
                        boolean isNew)
                        throws java.lang.Exception
Throws:
java.lang.Exception

saveModOfCategory

void saveModOfCategory(java.util.List<java.lang.String> moderatorCate,
                       java.lang.String userId,
                       boolean isAdd)

removeCategory

Category removeCategory(java.lang.String categoryId)
                        throws java.lang.Exception
Removes the category. Check exists of category and remove it

Parameters:
sProvider - is the SessionProvider
categoryId - is the id of category removed
Returns:
the category
Throws:
java.lang.Exception - the exception

getForums

java.util.List<Forum> getForums(java.lang.String categoryId,
                                java.lang.String strQuery)
                                throws java.lang.Exception
Gets the forums in the category identify.

Parameters:
sProvider - is the SessionProvider
categoryId - is the id of category have list forum
Returns:
the list forum
Throws:
java.lang.Exception - the exception

getForum

Forum getForum(java.lang.String categoryId,
               java.lang.String forumId)
               throws java.lang.Exception
Gets the forum in the category identify.

Parameters:
sProvider - is the SessionProvider
categoryId - is the id of category identify.
forumId - is the id of forum identify.
Returns:
the forum
Throws:
java.lang.Exception - the exception

modifyForum

void modifyForum(Forum forum,
                 int type)
                 throws java.lang.Exception
Modify this forum identify.

Parameters:
sProvider - is the SessionProvider
forum - is the object forum that should be modified
type - is choose when modify this forum.
Throws:
java.lang.Exception - the exception

saveForum

void saveForum(java.lang.String categoryId,
               Forum forum,
               boolean isNew)
               throws java.lang.Exception
Save forum.Check exists forum, if not to create new else update exists forum

Parameters:
sProvider - is the SessionProvider
categoryId - is the id of category identify.
forum - is the object forum need save.
isNew - is the new
Throws:
java.lang.Exception - the exception

saveModerateOfForums

void saveModerateOfForums(java.util.List<java.lang.String> forumPaths,
                          java.lang.String userName,
                          boolean isDelete)
                          throws java.lang.Exception
Save user is moderator of list forum

Parameters:
sProvider - is the SessionProvider
forumPaths - is the list path of forums, one forum have only path.
userName - is the userId of Account login of portal system.
isDelete - is false when you want to add userId into list moderator of forums isDelete is true when you want to remove userId from list moderator of forums.
Throws:
java.lang.Exception - the exception

removeForum

Forum removeForum(java.lang.String categoryId,
                  java.lang.String forumId)
                  throws java.lang.Exception
Remove the forum in category identify.

Parameters:
sProvider - is the SessionProvider
categoryId - is the id of category.
forumId - is the id of forum need remove.
Returns:
the forum
Throws:
java.lang.Exception - the exception

moveForum

void moveForum(java.util.List<Forum> forums,
               java.lang.String destCategoryPath)
               throws java.lang.Exception
Move forum. Move list forum to category by path of category

Parameters:
sProvider - is the SessionProvider
forums - is the list object forum
destCategoryPath - is the destination path of category
Throws:
java.lang.Exception - the exception

getPageTopic

JCRPageList getPageTopic(java.lang.String categoryId,
                         java.lang.String forumId,
                         java.lang.String strQuery,
                         java.lang.String strOrderBy)
                         throws java.lang.Exception
Gets the page topic in forum identify.

Parameters:
sProvider - is the SessionProvider
categoryId - is the id of category
forumId - is the id of forum
isApproved - is a string that presents status isApproved of object Topic. if it equal "true" then this function return page topic have isApproved equal true if it equal "false" then this function return page topic have isApproved equal false if it is empty then this function return page topic, not check isApproved.
isWaiting - is a string that presents status isWaiting of object Topic. if it equal "true" then this function return page topic have isWaiting equal true if it equal "false" then this function return page topic have isWaiting equal false if it is empty then this function return page topic, not check isWaiting.
strQuery - is a string. It's content have command Query. This function will return page topic suitable to content of that strQuery
Returns:
the page topic
Throws:
java.lang.Exception - the exception

getPageTopicByUser

JCRPageList getPageTopicByUser(java.lang.String userName,
                               boolean isMod,
                               java.lang.String strOrderBy)
                               throws java.lang.Exception
Gets the page topic by user.

Parameters:
sProvider - is the SessionProvider
userName - the user name
strOrderBy - TODO
Returns:
the page topic by user
Throws:
java.lang.Exception - the exception

getPageTopicOld

JCRPageList getPageTopicOld(long date,
                            java.lang.String forumPatch)
                            throws java.lang.Exception
Gets the page topic old.

Parameters:
date - the date
forumPatch - TODO
sProvider - is the SessionProvider
Returns:
the page topic old
Throws:
java.lang.Exception - the exception

getAllTopicsOld

java.util.List<Topic> getAllTopicsOld(long date,
                                      java.lang.String forumPatch)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getTotalTopicOld

long getTotalTopicOld(long date,
                      java.lang.String forumPatch)

getTopics

java.util.List<Topic> getTopics(java.lang.String categoryId,
                                java.lang.String forumId)
                                throws java.lang.Exception
Gets the topics.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
Returns:
the topics
Throws:
java.lang.Exception - the exception

getTopic

Topic getTopic(java.lang.String categoryId,
               java.lang.String forumId,
               java.lang.String topicId,
               java.lang.String userRead)
               throws java.lang.Exception
Gets the topic.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topicId - the topic id
userRead - the user read
Returns:
the topic
Throws:
java.lang.Exception - the exception

setViewCountTopic

void setViewCountTopic(java.lang.String path,
                       java.lang.String userRead)
                       throws java.lang.Exception
Throws:
java.lang.Exception

getTopicByPath

Topic getTopicByPath(java.lang.String topicPath,
                     boolean isLastPost)
                     throws java.lang.Exception
Gets the topic by path.

Parameters:
sProvider - is the SessionProvider
topicPath - the topic path
isLastPost - is the last post
Returns:
the topic by path
Throws:
java.lang.Exception - the exception

getTopicSummary

Topic getTopicSummary(java.lang.String topicPath)
                      throws java.lang.Exception
Throws:
java.lang.Exception

modifyTopic

void modifyTopic(java.util.List<Topic> topics,
                 int type)
                 throws java.lang.Exception
Modify topic.

Parameters:
sProvider - is the SessionProvider
topics - the topics
type - the type
Throws:
java.lang.Exception - the exception

saveTopic

void saveTopic(java.lang.String categoryId,
               java.lang.String forumId,
               Topic topic,
               boolean isNew,
               boolean isMove,
               java.lang.String defaultEmailContent)
               throws java.lang.Exception
Save topic.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topic - the topic
isNew - is the new
isMove - is the move
Throws:
java.lang.Exception - the exception

removeTopic

Topic removeTopic(java.lang.String categoryId,
                  java.lang.String forumId,
                  java.lang.String topicId)
                  throws java.lang.Exception
Removes the topic.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topicId - the topic id
Returns:
the topic
Throws:
java.lang.Exception - the exception

moveTopic

void moveTopic(java.util.List<Topic> topics,
               java.lang.String destForumPath,
               java.lang.String mailContent,
               java.lang.String link)
               throws java.lang.Exception
Move topic.

Parameters:
sProvider - is the SessionProvider
topics - the topics
destForumPath - the dest forum path
Throws:
java.lang.Exception - the exception

mergeTopic

void mergeTopic(java.lang.String srcTopicPath,
                java.lang.String destTopicPath,
                java.lang.String mailContent,
                java.lang.String link)
                throws java.lang.Exception
Throws:
java.lang.Exception

getPostForSplitTopic

JCRPageList getPostForSplitTopic(java.lang.String topicPath)
                                 throws java.lang.Exception
Gets the posts.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topicId - the topic id
isApproved - is the approved
isHidden - is the hidden
strQuery - the str query
userLogin - the user login
Returns:
the posts
Throws:
java.lang.Exception - the exception

getPosts

JCRPageList getPosts(java.lang.String categoryId,
                     java.lang.String forumId,
                     java.lang.String topicId,
                     java.lang.String isApproved,
                     java.lang.String isHidden,
                     java.lang.String strQuery,
                     java.lang.String userLogin)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getAvailablePost

long getAvailablePost(java.lang.String categoryId,
                      java.lang.String forumId,
                      java.lang.String topicId,
                      java.lang.String isApproved,
                      java.lang.String isHidden,
                      java.lang.String userLogin)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getLastReadIndex

long getLastReadIndex(java.lang.String path,
                      java.lang.String isApproved,
                      java.lang.String isHidden,
                      java.lang.String userLogin)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getPagePostByUser

JCRPageList getPagePostByUser(java.lang.String userName,
                              java.lang.String userId,
                              boolean isMod,
                              java.lang.String strOrderBy)
                              throws java.lang.Exception
Gets the page post by user.

Parameters:
sProvider - is the SessionProvider
userName - the user name
userId - TODO
isMod - TODO
strQuery - TODO
Returns:
the page post by user
Throws:
java.lang.Exception - the exception

getPost

Post getPost(java.lang.String categoryId,
             java.lang.String forumId,
             java.lang.String topicId,
             java.lang.String postId)
             throws java.lang.Exception
This method should: 1. Check the user permission 2. Load the Page Post data from the database

Parameters:
postId - the post id
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topicId - the topic id
Returns:
the post
Throws:
java.lang.Exception - the exception

savePost

void savePost(java.lang.String categoryId,
              java.lang.String forumId,
              java.lang.String topicId,
              Post post,
              boolean isNew,
              java.lang.String defaultEmailContent)
              throws java.lang.Exception
This method should: 1. Check the user permission 2. Check the madatory field of the post 3. Save the post data into the database 4. Invalidate the TopicView data cache

Parameters:
topicId - the topic id
post - the post
isNew - is the new
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
Throws:
java.lang.Exception - the exception

modifyPost

void modifyPost(java.util.List<Post> posts,
                int type)
                throws java.lang.Exception
Throws:
java.lang.Exception

removePost

Post removePost(java.lang.String categoryId,
                java.lang.String forumId,
                java.lang.String topicId,
                java.lang.String postId)
                throws java.lang.Exception
Removes the post.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topicId - the topic id
postId - the post id
Returns:
the post
Throws:
java.lang.Exception - the exception

movePost

void movePost(java.lang.String[] postPaths,
              java.lang.String destTopicPath,
              boolean isCreatNewTopic,
              java.lang.String mailContent,
              java.lang.String link)
              throws java.lang.Exception
Move post.

Parameters:
sProvider - is the SessionProvider
posts - the posts
destTopicPath - the dest topic path
Throws:
java.lang.Exception - the exception

getPoll

Poll getPoll(java.lang.String categoryId,
             java.lang.String forumId,
             java.lang.String topicId)
             throws java.lang.Exception
Gets the poll.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topicId - the topic id
Returns:
the poll
Throws:
java.lang.Exception - the exception

savePoll

void savePoll(java.lang.String categoryId,
              java.lang.String forumId,
              java.lang.String topicId,
              Poll poll,
              boolean isNew,
              boolean isVote)
              throws java.lang.Exception
Save poll.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topicId - the topic id
poll - the poll
isNew - is the new
isVote - is the vote
Throws:
java.lang.Exception - the exception

removePoll

Poll removePoll(java.lang.String categoryId,
                java.lang.String forumId,
                java.lang.String topicId)
                throws java.lang.Exception
Removes the poll.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topicId - the topic id
Returns:
the poll
Throws:
java.lang.Exception - the exception

setClosedPoll

void setClosedPoll(java.lang.String categoryId,
                   java.lang.String forumId,
                   java.lang.String topicId,
                   Poll poll)
                   throws java.lang.Exception
Sets the closed poll.

Parameters:
sProvider - is the SessionProvider
categoryId - the category id
forumId - the forum id
topicId - the topic id
poll - the poll
Throws:
java.lang.Exception - the exception

getObjectNameByPath

java.lang.Object getObjectNameByPath(java.lang.String path)
                                     throws java.lang.Exception
Gets the object name by path.

Parameters:
sProvider - is the SessionProvider
path - the path
Returns:
the object name by path
Throws:
java.lang.Exception - the exception

getObjectNameById

java.lang.Object getObjectNameById(java.lang.String id,
                                   java.lang.String type)
                                   throws java.lang.Exception
Gets the object name by path.

Parameters:
sProvider - is the SessionProvider
path - the path
Returns:
the object name by path
Throws:
java.lang.Exception - the exception

getAllLink

java.util.List<ForumLinkData> getAllLink(java.lang.String strQueryCate,
                                         java.lang.String strQueryForum)
                                         throws java.lang.Exception
Gets the all link.

Parameters:
sProvider - is the SessionProvider
strQueryCate - TODO
strQueryForum - TODO
Returns:
the all link
Throws:
java.lang.Exception - the exception

getForumHomePath

java.lang.String getForumHomePath()
                                  throws java.lang.Exception
Gets the forum home path.

Parameters:
sProvider - is the SessionProvider
Returns:
the forum home path
Throws:
java.lang.Exception - the exception

addTag

void addTag(java.util.List<Tag> tags,
            java.lang.String userName,
            java.lang.String topicPath)
            throws java.lang.Exception
Adds the topic in tag.

Parameters:
tags - the list tag is add
topicPath - the topic path
Throws:
java.lang.Exception - the exception

unTag

void unTag(java.lang.String tagId,
           java.lang.String userName,
           java.lang.String topicPath)
           throws java.lang.Exception
UnTag the topic in tag.

Parameters:
tagId - the tag id
userName - the user id
topicPath - the topic path
Throws:
java.lang.Exception - the exception

getTag

Tag getTag(java.lang.String tagId)
           throws java.lang.Exception
Gets the tag.

Parameters:
sProvider - is the SessionProvider
tagId - the tag id
Returns:
the tag
Throws:
java.lang.Exception - the exception

getAllTagName

java.util.List<java.lang.String> getAllTagName(java.lang.String strQuery,
                                               java.lang.String userAndTopicId)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

getTagNameInTopic

java.util.List<java.lang.String> getTagNameInTopic(java.lang.String userAndTopicId)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

getAllTags

java.util.List<Tag> getAllTags()
                               throws java.lang.Exception
Gets the tags.

Returns:
the tags
Throws:
java.lang.Exception - the exception

getMyTagInTopic

java.util.List<Tag> getMyTagInTopic(java.lang.String[] tagIds)
                                    throws java.lang.Exception
Gets the tags by user.

Parameters:
tagIds - the list tag id of user tag in topic.
Returns:
the tags by user add in topic
Throws:
java.lang.Exception - the exception

getTopicByMyTag

JCRPageList getTopicByMyTag(java.lang.String userIdAndtagId,
                            java.lang.String strOrderBy)
                            throws java.lang.Exception
Gets the topics by tag.

Parameters:
userIdAndtagId - the user id and tag id (userId:tagId)
strOrderBy - the topic order by
Returns:
the topics by tag of user tag
Throws:
java.lang.Exception - the exception

saveTag

void saveTag(Tag newTag)
             throws java.lang.Exception
Save tag.

Parameters:
newTag - the new tag
Throws:
java.lang.Exception - the exception

saveUserProfile

void saveUserProfile(UserProfile userProfile,
                     boolean isOption,
                     boolean isBan)
                     throws java.lang.Exception
Save user profile.

Parameters:
sProvider - is the SessionProvider
userProfile - the user profile
isOption - is the option
isBan - is the ban
Throws:
java.lang.Exception - the exception

updateUserProfile

void updateUserProfile(org.exoplatform.services.organization.User user)
                       throws java.lang.Exception
Throws:
java.lang.Exception

saveUserModerator

void saveUserModerator(java.lang.String userName,
                       java.util.List<java.lang.String> ids,
                       boolean isModeCate)
                       throws java.lang.Exception
Throws:
java.lang.Exception

searchUserProfile

JCRPageList searchUserProfile(java.lang.String userSearch)
                              throws java.lang.Exception
Gets the user profile.

Parameters:
sProvider - is the SessionProvider
userName - the user name
isGetOption - is the get option
isGetBan - is the get ban
isLogin - is the login
Returns:
the user profile
Throws:
java.lang.Exception - the exception

getUserInfo

UserProfile getUserInfo(java.lang.String userName)
                        throws java.lang.Exception
Gets the user info.

Parameters:
sProvider - is the SessionProvider
userName - the user name
Returns:
the user info
Throws:
java.lang.Exception - the exception

getUserModerator

java.util.List<java.lang.String> getUserModerator(java.lang.String userName,
                                                  boolean isModeCate)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

saveUserBookmark

void saveUserBookmark(java.lang.String userName,
                      java.lang.String bookMark,
                      boolean isNew)
                      throws java.lang.Exception
Save user bookmark.

Parameters:
sProvider - is the SessionProvider
userName - the user name
bookMark - the book mark
isNew - is the new
Throws:
java.lang.Exception - the exception

saveLastPostIdRead

void saveLastPostIdRead(java.lang.String userId,
                        java.lang.String[] lastReadPostOfForum,
                        java.lang.String[] lastReadPostOfTopic)
                        throws java.lang.Exception
Throws:
java.lang.Exception

saveCollapsedCategories

void saveCollapsedCategories(java.lang.String userName,
                             java.lang.String categoryId,
                             boolean isAdd)
                             throws java.lang.Exception
Save user collapCategories.

Parameters:
sProvider - is the SessionProvider
userName - the user name
categoryId - the book mark
isNew - is the new
Throws:
java.lang.Exception - the exception

getPageListUserProfile

JCRPageList getPageListUserProfile()
                                   throws java.lang.Exception
Gets the page list user profile.

Parameters:
sProvider - is the SessionProvider
Returns:
the page list user profile
Throws:
java.lang.Exception - the exception

saveForumStatistic

void saveForumStatistic(ForumStatistic forumStatistic)
                        throws java.lang.Exception
Save forum statistic.

Parameters:
sProvider - is the SessionProvider
forumStatistic - the forum statistic
Throws:
java.lang.Exception - the exception

getForumStatistic

ForumStatistic getForumStatistic()
                                 throws java.lang.Exception
Gets the forum statistic.

Parameters:
sProvider - is the SessionProvider
Returns:
the forum statistic
Throws:
java.lang.Exception - the exception

getQuickSearch

java.util.List<ForumSearch> getQuickSearch(java.lang.String textQuery,
                                           java.lang.String type,
                                           java.lang.String pathQuery,
                                           java.lang.String userId,
                                           java.util.List<java.lang.String> listCateIds,
                                           java.util.List<java.lang.String> listForumIds,
                                           java.util.List<java.lang.String> forumIdsOfModerator)
                                           throws java.lang.Exception
Gets the quick search.

Parameters:
sProvider - is the SessionProvider
textQuery - the text query
type - is type user and type object(forum, topic and post)
pathQuery - the path query
forumIdsOfModerator - TODO
Returns:
the quick search
Throws:
java.lang.Exception - the exception

getScreenName

java.lang.String getScreenName(java.lang.String userName)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getAdvancedSearch

java.util.List<ForumSearch> getAdvancedSearch(ForumEventQuery eventQuery,
                                              java.util.List<java.lang.String> listCateIds,
                                              java.util.List<java.lang.String> listForumIds)
                                              throws java.lang.Exception
Gets the advanced search.

Parameters:
sProvider - is the SessionProvider
eventQuery - the event query
Returns:
the advanced search
Throws:
java.lang.Exception - the exception

saveForumAdministration

void saveForumAdministration(ForumAdministration forumAdministration)
                             throws java.lang.Exception
Save forum administration.

Parameters:
sProvider - is the SessionProvider
forumAdministration - the forum administration
Throws:
java.lang.Exception - the exception

getForumAdministration

ForumAdministration getForumAdministration()
                                           throws java.lang.Exception
Gets the forum administration.

Parameters:
sProvider - is the SessionProvider
Returns:
the forum administration
Throws:
java.lang.Exception - the exception

userLogin

void userLogin(java.lang.String userId)
               throws java.lang.Exception
User login.

Parameters:
userId - the user id
Throws:
java.lang.Exception - the exception

userLogout

void userLogout(java.lang.String userId)
                throws java.lang.Exception
User logout.

Parameters:
userId - the user id
Throws:
java.lang.Exception - the exception

isOnline

boolean isOnline(java.lang.String userId)
                 throws java.lang.Exception
Checks if is online.

Parameters:
userId - the user id
Returns:
true, if is online
Throws:
java.lang.Exception - the exception

getOnlineUsers

java.util.List<java.lang.String> getOnlineUsers()
                                                throws java.lang.Exception
Gets the online users.

Returns:
the online users
Throws:
java.lang.Exception - the exception

getLastLogin

java.lang.String getLastLogin()
                              throws java.lang.Exception
Gets the last login.

Returns:
the last login
Throws:
java.lang.Exception - the exception

getPrivateMessage

JCRPageList getPrivateMessage(java.lang.String userName,
                              java.lang.String type)
                              throws java.lang.Exception
Gets the private message.

Parameters:
sProvider - is the SessionProvider
userName - the user name
type - the type
Returns:
the private message
Throws:
java.lang.Exception - the exception

getNewPrivateMessage

long getNewPrivateMessage(java.lang.String userName)
                          throws java.lang.Exception
Throws:
java.lang.Exception

savePrivateMessage

void savePrivateMessage(ForumPrivateMessage privateMessage)
                        throws java.lang.Exception
Save private message.

Parameters:
sProvider - is the SessionProvider
privateMessage - the private message
Throws:
java.lang.Exception - the exception

saveReadMessage

void saveReadMessage(java.lang.String messageId,
                     java.lang.String userName,
                     java.lang.String type)
                     throws java.lang.Exception
Save read message.

Parameters:
sProvider - is the SessionProvider
messageId - the message id
userName - the user name
type - the type
Throws:
java.lang.Exception - the exception

removePrivateMessage

void removePrivateMessage(java.lang.String messageId,
                          java.lang.String userName,
                          java.lang.String type)
                          throws java.lang.Exception
Removes the private message.

Parameters:
sProvider - is the SessionProvider
messageId - the message id
userName - the user name
type - the type
Throws:
java.lang.Exception - the exception

getForumSubscription

ForumSubscription getForumSubscription(java.lang.String userId)
                                       throws java.lang.Exception
Adds the watch.

Parameters:
sProvider - is the SessionProvider
watchType - the watch type
path - the path
values - the values
Throws:
java.lang.Exception - the exception

saveForumSubscription

void saveForumSubscription(ForumSubscription forumSubscription,
                           java.lang.String userId)
                           throws java.lang.Exception
Throws:
java.lang.Exception

addWatch

void addWatch(int watchType,
              java.lang.String path,
              java.util.List<java.lang.String> values,
              java.lang.String currentUser)
              throws java.lang.Exception
Throws:
java.lang.Exception

removeWatch

void removeWatch(int watchType,
                 java.lang.String path,
                 java.lang.String values)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getJobWattingForModerator

java.util.List<ForumSearch> getJobWattingForModerator(java.lang.String[] paths)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getJobWattingForModeratorByUser

int getJobWattingForModeratorByUser(java.lang.String userId)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getMessageInfo

SendMessageInfo getMessageInfo(java.lang.String name)
                               throws java.lang.Exception
Throws:
java.lang.Exception

isAdminRole

boolean isAdminRole(java.lang.String userName)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getNewPosts

java.util.List<Post> getNewPosts(int number)
                                 throws java.lang.Exception
Select number of lasted public post.

Parameters:
in - number number of post
Throws:
java.lang.Exception - the exception

search

javax.jcr.NodeIterator search(java.lang.String queryString)
                              throws java.lang.Exception
Throws:
java.lang.Exception

updateForumStatistic

void updateForumStatistic()
                          throws java.lang.Exception
Throws:
java.lang.Exception

evaluateActiveUsers

void evaluateActiveUsers(java.lang.String query)
                         throws java.lang.Exception
Throws:
java.lang.Exception

createUserProfile

void createUserProfile(org.exoplatform.services.organization.User user)
                       throws java.lang.Exception
Throws:
java.lang.Exception

updateTopicAccess

void updateTopicAccess(java.lang.String userId,
                       java.lang.String topicId)
                       throws java.lang.Exception
Throws:
java.lang.Exception

updateForumAccess

void updateForumAccess(java.lang.String userId,
                       java.lang.String forumId)
                       throws java.lang.Exception
Throws:
java.lang.Exception

exportXML

java.lang.Object exportXML(java.lang.String categoryId,
                           java.lang.String forumId,
                           java.util.List<java.lang.String> objectIds,
                           java.lang.String nodePath,
                           java.io.ByteArrayOutputStream bos,
                           boolean isExportAll)
                           throws java.lang.Exception
Throws:
java.lang.Exception

importXML

void importXML(java.lang.String nodePath,
               java.io.InputStream is,
               java.lang.String mimeType)
               throws java.lang.Exception
Throws:
java.lang.Exception

getQuickProfiles

java.util.List<UserProfile> getQuickProfiles(java.util.List<java.lang.String> userList)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

getQuickProfile

UserProfile getQuickProfile(java.lang.String userName)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getUserInformations

UserProfile getUserInformations(UserProfile userProfile)
                                throws java.lang.Exception
Throws:
java.lang.Exception

getDefaultUserProfile

UserProfile getDefaultUserProfile(java.lang.String userName,
                                  java.lang.String ip)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

updateUserProfileSetting

UserProfile updateUserProfileSetting(UserProfile userProfile)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getBookmarks

java.util.List<java.lang.String> getBookmarks(java.lang.String userName)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

getUserSettingProfile

UserProfile getUserSettingProfile(java.lang.String userName)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getUserProfileManagement

UserProfile getUserProfileManagement(java.lang.String userName)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

saveUserSettingProfile

void saveUserSettingProfile(UserProfile userProfile)
                            throws java.lang.Exception
Throws:
java.lang.Exception

updateForum

void updateForum(java.lang.String path)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getBanList

java.util.List<java.lang.String> getBanList()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

addBanIP

boolean addBanIP(java.lang.String ip)
                 throws java.lang.Exception
Throws:
java.lang.Exception

removeBan

void removeBan(java.lang.String ip)
               throws java.lang.Exception
Throws:
java.lang.Exception

getForumBanList

java.util.List<java.lang.String> getForumBanList(java.lang.String forumId)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

addBanIPForum

boolean addBanIPForum(java.lang.String ip,
                      java.lang.String forumId)
                      throws java.lang.Exception
Throws:
java.lang.Exception

removeBanIPForum

void removeBanIPForum(java.lang.String ip,
                      java.lang.String forumId)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getListPostsByIP

JCRPageList getListPostsByIP(java.lang.String ip,
                             java.lang.String strOrderBy)
                             throws java.lang.Exception
Throws:
java.lang.Exception

updateStatisticCounts

void updateStatisticCounts(long topicCoutn,
                           long postCount)
                           throws java.lang.Exception
Throws:
java.lang.Exception

registerListenerForCategory

void registerListenerForCategory(java.lang.String categoryId)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

unRegisterListenerForCategory

void unRegisterListenerForCategory(java.lang.String path)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getUserAvatar

ForumAttachment getUserAvatar(java.lang.String userName)
                              throws java.lang.Exception
Throws:
java.lang.Exception

saveUserAvatar

void saveUserAvatar(java.lang.String userId,
                    ForumAttachment fileAttachment)
                    throws java.lang.Exception
Throws:
java.lang.Exception

setDefaultAvatar

void setDefaultAvatar(java.lang.String userName)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getWatchByUser

java.util.List<Watch> getWatchByUser(java.lang.String userId)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

updateEmailWatch

void updateEmailWatch(java.util.List<java.lang.String> listNodeId,
                      java.lang.String newEmailAdd,
                      java.lang.String userId)
                      throws java.lang.Exception
Throws:
java.lang.Exception

saveBBCode

void saveBBCode(java.util.List<BBCode> bbcodes)
                throws java.lang.Exception
Throws:
java.lang.Exception

getAllBBCode

java.util.List<BBCode> getAllBBCode()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getActiveBBCode

java.util.List<java.lang.String> getActiveBBCode()
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

getBBcode

BBCode getBBcode(java.lang.String id)
                 throws java.lang.Exception
Throws:
java.lang.Exception

removeBBCode

void removeBBCode(java.lang.String bbcodeId)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getAllPruneSetting

java.util.List<PruneSetting> getAllPruneSetting()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getPruneSetting

PruneSetting getPruneSetting(java.lang.String forumPath)
                             throws java.lang.Exception
Throws:
java.lang.Exception

savePruneSetting

void savePruneSetting(PruneSetting pruneSetting)
                      throws java.lang.Exception
Throws:
java.lang.Exception

runPrune

void runPrune(PruneSetting pSetting)
              throws java.lang.Exception
Throws:
java.lang.Exception

runPrune

void runPrune(java.lang.String forumPath)
              throws java.lang.Exception
Throws:
java.lang.Exception

checkPrune

long checkPrune(PruneSetting pSetting)
                throws java.lang.Exception
Throws:
java.lang.Exception

getTopicTypes

java.util.List<TopicType> getTopicTypes()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

getTopicType

TopicType getTopicType(java.lang.String Id)
                       throws java.lang.Exception
Throws:
java.lang.Exception

saveTopicType

void saveTopicType(TopicType topicType)
                   throws java.lang.Exception
Throws:
java.lang.Exception

removeTopicType

void removeTopicType(java.lang.String topicTypeId)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getPageTopicByType

JCRPageList getPageTopicByType(java.lang.String type)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getTopicList

LazyPageList<Topic> getTopicList(java.lang.String categoryId,
                                 java.lang.String forumId,
                                 java.lang.String string,
                                 java.lang.String strOrderBy,
                                 int pageSize)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getForumSummaries

java.util.List<Forum> getForumSummaries(java.lang.String categoryId,
                                        java.lang.String strQuery)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

updateUserProfileInfo

void updateUserProfileInfo(java.lang.String name)
                           throws java.lang.Exception
Throws:
java.lang.Exception

removeProfile

void removeProfile(java.lang.String userId)
                   throws java.lang.Exception
Throws:
java.lang.Exception

updateLoggedinUsers

void updateLoggedinUsers()
                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.