|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.forum.service.impl.ForumServiceImpl
public class ForumServiceImpl
Created by The eXo Platform SARL Author : Hung Nguyen Quang hung.nguyen@exoplatform.com Jul 10, 2007
| Constructor Summary | |
|---|---|
ForumServiceImpl(org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.services.jcr.RepositoryService rService,
org.exoplatform.container.xml.InitParams params)
|
|
| Method Summary | |
|---|---|
boolean |
addBanIP(java.lang.String ip)
|
boolean |
addBanIPForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String ip,
java.lang.String forumId)
|
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 |
addTag(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Tag> tags,
java.lang.String userName,
java.lang.String topicPath)
|
void |
addWatch(int watchType,
java.lang.String path,
java.util.List<java.lang.String> values,
java.lang.String currentUser)
|
void |
addWatch(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
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.jcr.ext.common.SessionProvider sProvider,
org.exoplatform.services.organization.User user)
|
void |
createUserProfile(org.exoplatform.services.organization.User user)
|
void |
evaluateActiveUsers(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String query)
|
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.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,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
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<ForumSearch> |
getAdvancedSearch(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
ForumEventQuery eventQuery,
java.util.List<java.lang.String> listCateIds,
java.util.List<java.lang.String> listForumIds)
|
java.util.List<BBCode> |
getAllBBCode()
|
java.util.List<ForumLinkData> |
getAllLink(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String strQueryCate,
java.lang.String strQueryForum)
|
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<PruneSetting> |
getAllPruneSetting(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
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<Tag> |
getAllTags(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
java.util.List<Topic> |
getAllTopicsOld(long date,
java.lang.String forumPatch)
|
java.util.List<Topic> |
getAllTopicsOld(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
long date,
java.lang.String forumPatch)
|
long |
getAvailablePost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String isApproved,
java.lang.String isHidden,
java.lang.String userLogin)
|
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(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
|
java.util.List<java.lang.String> |
getBookmarks(java.lang.String userName)
|
java.util.List<Category> |
getCategories()
Gets the categories. |
java.util.List<Category> |
getCategories(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
Category |
getCategory(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId)
|
Category |
getCategory(java.lang.String categoryId)
Gets the category. |
UserProfile |
getDefaultUserProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String ip)
|
UserProfile |
getDefaultUserProfile(java.lang.String userName,
java.lang.String ip)
|
Forum |
getForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId)
|
Forum |
getForum(java.lang.String categoryId,
java.lang.String forumId)
Gets the forum in the category identify. |
ForumAdministration |
getForumAdministration()
Gets the forum administration. |
ForumAdministration |
getForumAdministration(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
java.util.List<java.lang.String> |
getForumBanList(java.lang.String forumId)
|
java.lang.String |
getForumHomePath()
Gets the forum home path. |
java.lang.String |
getForumHomePath(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
java.util.List<Forum> |
getForums(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String strQuery)
|
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. |
ForumStatistic |
getForumStatistic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
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(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String[] paths)
|
java.util.List<ForumSearch> |
getJobWattingForModerator(java.lang.String[] paths)
|
int |
getJobWattingForModeratorByUser(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userId)
|
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)
|
JCRPageList |
getListPostsByIP(java.lang.String ip,
java.lang.String strOrderBy,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
SendMessageInfo |
getMessageInfo(java.lang.String name)
|
java.util.List<Tag> |
getMyTagInTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String[] tagIds)
|
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(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
|
long |
getNewPrivateMessage(java.lang.String userName)
|
java.lang.Object |
getObjectNameById(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String path,
java.lang.String type)
|
java.lang.Object |
getObjectNameById(java.lang.String path,
java.lang.String type)
Gets the object name by path. |
java.lang.Object |
getObjectNameByPath(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String 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 |
getPageListUserProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
JCRPageList |
getPagePostByUser(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String userId,
boolean isMod,
java.lang.String strOrderBy)
|
JCRPageList |
getPagePostByUser(java.lang.String userName,
java.lang.String userId,
boolean isMod,
java.lang.String strOrderBy)
Gets the page post by user. |
JCRPageList |
getPageTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String strQuery,
java.lang.String strOrderBy)
|
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(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
boolean isMod,
java.lang.String strOrderBy)
|
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. |
JCRPageList |
getPageTopicOld(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
long date,
java.lang.String forumPatch)
|
java.lang.String[] |
getPermissionTopicByCategory(java.lang.String categoryId,
java.lang.String type)
|
Poll |
getPoll(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
|
Poll |
getPoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
Gets the poll. |
Post |
getPost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String postId)
|
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(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
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 |
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(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String type)
|
JCRPageList |
getPrivateMessage(java.lang.String userName,
java.lang.String type)
Gets the private message. |
PruneSetting |
getPruneSetting(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String forumPath)
|
PruneSetting |
getPruneSetting(java.lang.String forumPath)
|
UserProfile |
getQuickProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
|
UserProfile |
getQuickProfile(java.lang.String userName)
|
java.util.List<UserProfile> |
getQuickProfiles(java.util.List<java.lang.String> userList)
|
java.util.List<UserProfile> |
getQuickProfiles(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<java.lang.String> userList)
|
java.util.List<ForumSearch> |
getQuickSearch(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
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)
|
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(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String tagId)
|
Tag |
getTag(java.lang.String tagId)
Gets the tag. |
java.util.List<java.lang.String> |
getTagNameInTopic(java.lang.String userAndTopicId)
|
Topic |
getTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String userRead)
|
Topic |
getTopic(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String userRead)
Gets the topic. |
JCRPageList |
getTopicByMyTag(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userIdAndtagId,
java.lang.String strOrderBy)
|
JCRPageList |
getTopicByMyTag(java.lang.String userIdAndtagId,
java.lang.String strOrderBy)
Gets the topics by tag. |
Topic |
getTopicByPath(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String topicPath,
boolean isLastPost)
|
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 strQuery,
java.lang.String strOrderBy,
int pageSize)
|
java.util.List<Topic> |
getTopics(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId)
|
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)
|
long |
getTotalTopicOld(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
long date,
java.lang.String forumPatch)
|
ForumAttachment |
getUserAvatar(java.lang.String userName)
|
ForumAttachment |
getUserAvatar(java.lang.String userName,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
UserProfile |
getUserInfo(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
|
UserProfile |
getUserInfo(java.lang.String userName)
Gets the user info. |
UserProfile |
getUserInformations(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
UserProfile userProfile)
|
UserProfile |
getUserInformations(UserProfile userProfile)
|
java.util.List<java.lang.String> |
getUserModerator(java.lang.String userName,
boolean isModeCate)
|
UserProfile |
getUserProfileManagement(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
|
UserProfile |
getUserProfileManagement(java.lang.String userName)
|
UserProfile |
getUserSettingProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
|
UserProfile |
getUserSettingProfile(java.lang.String userName)
|
java.util.List<Watch> |
getWatchByUser(java.lang.String userId)
|
java.util.List<Watch> |
getWatchByUser(java.lang.String userId,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
void |
importXML(java.lang.String nodePath,
java.io.InputStream is,
java.lang.String mimeType)
|
void |
importXML(java.lang.String nodePath,
java.io.InputStream is,
java.lang.String mimeType,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
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 |
modifyForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
Forum forum,
int type)
|
void |
modifyPost(java.util.List<Post> posts,
int type)
|
void |
modifyPost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Post> posts,
int type)
|
void |
modifyTopic(java.util.List<Topic> topics,
int type)
Modify topic. |
void |
modifyTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Topic> topics,
int type)
|
void |
moveForum(java.util.List<Forum> forums,
java.lang.String destCategoryPath)
Move forum. |
void |
moveForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Forum> forums,
java.lang.String destCategoryPath)
|
void |
movePost(java.util.List<Post> posts,
java.lang.String destTopicPath,
boolean isCreatNewTopic,
java.lang.String mailContent,
java.lang.String link)
|
void |
movePost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Post> posts,
java.lang.String destTopicPath,
boolean isCreatNewTopic,
java.lang.String mailContent,
java.lang.String link)
|
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 |
moveTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Topic> topics,
java.lang.String destForumPath,
java.lang.String mailContent,
java.lang.String link)
|
void |
registerListenerForCategory(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId)
|
void |
registerListenerForCategory(java.lang.String categoryId)
|
void |
removeBan(java.lang.String ip)
|
void |
removeBanIPForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String ip,
java.lang.String forumId)
|
void |
removeBanIPForum(java.lang.String ip,
java.lang.String forumId)
|
void |
removeBBCode(java.lang.String bbcodeId)
|
Category |
removeCategory(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId)
|
Category |
removeCategory(java.lang.String categoryId)
Removes the category. |
Forum |
removeForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId)
|
Forum |
removeForum(java.lang.String categoryId,
java.lang.String forumId)
Remove the forum in category identify. |
Poll |
removePoll(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
|
Poll |
removePoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
Removes the poll. |
Post |
removePost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String postId)
|
Post |
removePost(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String postId)
Removes the post. |
void |
removePrivateMessage(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String messageId,
java.lang.String userName,
java.lang.String type)
|
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(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
|
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 |
removeWatch(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
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 |
saveCategory(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
Category category,
boolean isNew)
|
void |
saveCollapsedCategories(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String categoryId,
boolean isAdd)
|
void |
saveCollapsedCategories(java.lang.String userName,
java.lang.String categoryId,
boolean isAdd)
Save user collapCategories. |
void |
saveEmailUserProfile(java.lang.String userId,
java.lang.String email)
|
void |
saveForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
Forum forum,
boolean isNew)
|
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 |
saveForumAdministration(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
ForumAdministration forumAdministration)
|
void |
saveForumStatistic(ForumStatistic forumStatistic)
Save forum statistic. |
void |
saveForumStatistic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
ForumStatistic forumStatistic)
|
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 |
saveModerateOfForums(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<java.lang.String> forumPaths,
java.lang.String userName,
boolean isDelete)
|
void |
saveModOfCategory(java.util.List<java.lang.String> moderatorCate,
java.lang.String userId,
boolean isAdd)
|
void |
savePoll(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Poll poll,
boolean isNew,
boolean isVote)
|
void |
savePoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Poll poll,
boolean isNew,
boolean isVote)
Save poll. |
void |
savePost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Post post,
boolean isNew,
java.lang.String defaultEmailContent)
|
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 |
savePrivateMessage(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
ForumPrivateMessage privateMessage)
|
void |
savePruneSetting(PruneSetting pruneSetting)
|
void |
savePruneSetting(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
PruneSetting pruneSetting)
|
void |
saveReadMessage(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String messageId,
java.lang.String userName,
java.lang.String type)
|
void |
saveReadMessage(java.lang.String messageId,
java.lang.String userName,
java.lang.String type)
Save read message. |
void |
saveTag(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
Tag newTag)
|
void |
saveTag(Tag newTag)
Save tag. |
void |
saveTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
Topic topic,
boolean isNew,
boolean isMove,
java.lang.String defaultEmailContent)
|
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 |
saveUserAvatar(java.lang.String userId,
ForumAttachment fileAttachment,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
void |
saveUserBookmark(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String bookMark,
boolean isNew)
|
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(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
UserProfile userProfile,
boolean isOption,
boolean isBan)
|
void |
saveUserProfile(UserProfile userProfile,
boolean isOption,
boolean isBan)
Save user profile. |
void |
saveUserSettingProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
UserProfile userProfile)
|
void |
saveUserSettingProfile(UserProfile userProfile)
|
javax.jcr.NodeIterator |
search(java.lang.String queryString)
|
javax.jcr.NodeIterator |
search(java.lang.String queryString,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
JCRPageList |
searchUserProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userSearch)
|
JCRPageList |
searchUserProfile(java.lang.String userSearch)
Gets the user profile. |
void |
setClosedPoll(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Poll poll)
|
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 |
setDefaultAvatar(java.lang.String userName,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
void |
setViewCountTopic(java.lang.String path,
java.lang.String userRead)
|
void |
start()
|
void |
stop()
|
void |
unRegisterListenerForCategory(java.lang.String path)
|
void |
unTag(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String tagId,
java.lang.String userName,
java.lang.String topicPath)
|
void |
unTag(java.lang.String tagId,
java.lang.String userName,
java.lang.String topicPath)
UnTag the topic in tag. |
void |
updateDataImported()
|
void |
updateEmailWatch(java.util.List<java.lang.String> listNodeId,
java.lang.String newEmailAdd,
java.lang.String userId)
|
void |
updateEmailWatch(java.util.List<java.lang.String> listNodeId,
java.lang.String newEmailAdd,
java.lang.String userId,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
void |
updateForum(java.lang.String path)
|
void |
updateForumAccess(java.lang.String userId,
java.lang.String forumId)
|
void |
updateForumStatistic()
|
void |
updateForumStatistic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
|
void |
updateLoggedinUsers()
|
void |
updateStatisticCounts(long topicCount,
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ForumServiceImpl(org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator,
org.exoplatform.services.jcr.RepositoryService rService,
org.exoplatform.container.xml.InitParams params)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void addInitRssPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
addInitRssPlugin in interface ForumServicejava.lang.Exception
public void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
ForumService
addPlugin in interface ForumServiceplugin - the plugin
java.lang.Exception - the exception
public void addRolePlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
ForumService
addRolePlugin in interface ForumServiceplugin - the plugin
java.lang.Exception - the exception
public void addInitialDataPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
ForumService
addInitialDataPlugin in interface ForumServiceplugin - the plugin
java.lang.Exception - the exception
public void addInitBBCodePlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
ForumService
addInitBBCodePlugin in interface ForumServiceplugin - the plugin
java.lang.Exception - the exceptionpublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
public void updateForumStatistic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
updateForumStatistic in interface ForumServiceLegacyjava.lang.Exception
public void updateForumStatistic()
throws java.lang.Exception
updateForumStatistic in interface ForumServicejava.lang.Exception
public void createUserProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
org.exoplatform.services.organization.User user)
throws java.lang.Exception
createUserProfile in interface ForumServiceLegacyjava.lang.Exception
public void createUserProfile(org.exoplatform.services.organization.User user)
throws java.lang.Exception
createUserProfile in interface ForumServicejava.lang.Exception
public void saveEmailUserProfile(java.lang.String userId,
java.lang.String email)
throws java.lang.Exception
saveEmailUserProfile in interface ForumServiceLegacyjava.lang.Exception
public void updateUserProfile(org.exoplatform.services.organization.User user)
throws java.lang.Exception
updateUserProfile in interface ForumServicejava.lang.Exception
public void saveCategory(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
Category category,
boolean isNew)
throws java.lang.Exception
saveCategory in interface ForumServiceLegacyjava.lang.Exception
public void saveCategory(Category category,
boolean isNew)
throws java.lang.Exception
ForumService
saveCategory in interface ForumServicecategory - is the categoryisNew - is the true when add new category or false when update category.
java.lang.Exception - the exception
public void calculateModerator(java.lang.String categoryPath,
boolean isNew)
throws java.lang.Exception
calculateModerator in interface ForumServicejava.lang.Exception
public Category getCategory(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId)
throws java.lang.Exception
getCategory in interface ForumServiceLegacyjava.lang.Exception
public Category getCategory(java.lang.String categoryId)
throws java.lang.Exception
ForumService
getCategory in interface ForumServicecategoryId - is the id of category.
java.lang.Exception - the exception
public java.lang.String[] getPermissionTopicByCategory(java.lang.String categoryId,
java.lang.String type)
throws java.lang.Exception
getPermissionTopicByCategory in interface ForumServicejava.lang.Exception
public java.util.List<Category> getCategories(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getCategories in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<Category> getCategories()
throws java.lang.Exception
ForumService
getCategories in interface ForumServicejava.lang.Exception - the exception
public Category removeCategory(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId)
throws java.lang.Exception
removeCategory in interface ForumServiceLegacyjava.lang.Exception
public Category removeCategory(java.lang.String categoryId)
throws java.lang.Exception
ForumService
removeCategory in interface ForumServicecategoryId - is the id of category removed
java.lang.Exception - the exception
public void saveModOfCategory(java.util.List<java.lang.String> moderatorCate,
java.lang.String userId,
boolean isAdd)
saveModOfCategory in interface ForumService
public void modifyForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
Forum forum,
int type)
throws java.lang.Exception
modifyForum in interface ForumServiceLegacyjava.lang.Exception
public void modifyForum(Forum forum,
int type)
throws java.lang.Exception
ForumService
modifyForum in interface ForumServiceforum - is the object forum that should be modifiedtype - is choose when modify this forum.
java.lang.Exception - the exception
public void saveForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
Forum forum,
boolean isNew)
throws java.lang.Exception
saveForum in interface ForumServiceLegacyjava.lang.Exception
public void saveForum(java.lang.String categoryId,
Forum forum,
boolean isNew)
throws java.lang.Exception
ForumService
saveForum in interface ForumServicecategoryId - is the id of category identify.forum - is the object forum need save.isNew - is the new
java.lang.Exception - the exception
public void saveModerateOfForums(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<java.lang.String> forumPaths,
java.lang.String userName,
boolean isDelete)
throws java.lang.Exception
saveModerateOfForums in interface ForumServiceLegacyjava.lang.Exception
public void saveModerateOfForums(java.util.List<java.lang.String> forumPaths,
java.lang.String userName,
boolean isDelete)
throws java.lang.Exception
ForumService
saveModerateOfForums in interface ForumServiceforumPaths - 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.
java.lang.Exception - the exception
public void moveForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Forum> forums,
java.lang.String destCategoryPath)
throws java.lang.Exception
moveForum in interface ForumServiceLegacyjava.lang.Exception
public void moveForum(java.util.List<Forum> forums,
java.lang.String destCategoryPath)
throws java.lang.Exception
ForumService
moveForum in interface ForumServiceforums - is the list object forumdestCategoryPath - is the destination path of category
java.lang.Exception - the exception
public Forum getForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId)
throws java.lang.Exception
getForum in interface ForumServiceLegacyjava.lang.Exception
public Forum getForum(java.lang.String categoryId,
java.lang.String forumId)
throws java.lang.Exception
ForumService
getForum in interface ForumServicecategoryId - is the id of category identify.forumId - is the id of forum identify.
java.lang.Exception - the exception
public java.util.List<Forum> getForums(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String strQuery)
throws java.lang.Exception
getForums in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<Forum> getForums(java.lang.String categoryId,
java.lang.String strQuery)
throws java.lang.Exception
ForumService
getForums in interface ForumServicecategoryId - is the id of category have list forum
java.lang.Exception - the exception
public java.util.List<Forum> getForumSummaries(java.lang.String categoryId,
java.lang.String strQuery)
throws java.lang.Exception
getForumSummaries in interface ForumServicejava.lang.Exception
public Forum removeForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId)
throws java.lang.Exception
removeForum in interface ForumServiceLegacyjava.lang.Exception
public Forum removeForum(java.lang.String categoryId,
java.lang.String forumId)
throws java.lang.Exception
ForumService
removeForum in interface ForumServicecategoryId - is the id of category.forumId - is the id of forum need remove.
java.lang.Exception - the exception
public void modifyTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Topic> topics,
int type)
throws java.lang.Exception
modifyTopic in interface ForumServiceLegacyjava.lang.Exception
public void modifyTopic(java.util.List<Topic> topics,
int type)
throws java.lang.Exception
ForumService
modifyTopic in interface ForumServicetopics - the topicstype - the type
java.lang.Exception - the exception
public void saveTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
Topic topic,
boolean isNew,
boolean isMove,
java.lang.String defaultEmailContent)
throws java.lang.Exception
saveTopic in interface ForumServiceLegacyjava.lang.Exception
public void saveTopic(java.lang.String categoryId,
java.lang.String forumId,
Topic topic,
boolean isNew,
boolean isMove,
java.lang.String defaultEmailContent)
throws java.lang.Exception
ForumService
saveTopic in interface ForumServicecategoryId - the category idforumId - the forum idtopic - the topicisNew - is the newisMove - is the move
java.lang.Exception - the exception
public Topic getTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String userRead)
throws java.lang.Exception
getTopic in interface ForumServiceLegacyjava.lang.Exception
public Topic getTopic(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String userRead)
throws java.lang.Exception
ForumService
getTopic in interface ForumServicecategoryId - the category idforumId - the forum idtopicId - the topic iduserRead - the user read
java.lang.Exception - the exception
public void setViewCountTopic(java.lang.String path,
java.lang.String userRead)
throws java.lang.Exception
setViewCountTopic in interface ForumServicejava.lang.Exception
public Topic getTopicByPath(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String topicPath,
boolean isLastPost)
throws java.lang.Exception
getTopicByPath in interface ForumServiceLegacyjava.lang.Exception
public Topic getTopicSummary(java.lang.String topicPath)
throws java.lang.Exception
getTopicSummary in interface ForumServicejava.lang.Exception
public Topic getTopicByPath(java.lang.String topicPath,
boolean isLastPost)
throws java.lang.Exception
ForumService
getTopicByPath in interface ForumServicetopicPath - the topic pathisLastPost - is the last post
java.lang.Exception - the exception
public JCRPageList getPageTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String strQuery,
java.lang.String strOrderBy)
throws java.lang.Exception
getPageTopic in interface ForumServiceLegacyjava.lang.Exception
public LazyPageList<Topic> getTopicList(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String strQuery,
java.lang.String strOrderBy,
int pageSize)
throws java.lang.Exception
getTopicList in interface ForumServicejava.lang.Exception
public JCRPageList getPageTopic(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String strQuery,
java.lang.String strOrderBy)
throws java.lang.Exception
ForumService
getPageTopic in interface ForumServicecategoryId - is the id of categoryforumId - is the id of forumstrQuery - is a string. It's content have command Query. This function will return page topic suitable to content of that strQuery
java.lang.Exception - the exception
public java.util.List<Topic> getTopics(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId)
throws java.lang.Exception
getTopics in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<Topic> getTopics(java.lang.String categoryId,
java.lang.String forumId)
throws java.lang.Exception
ForumService
getTopics in interface ForumServicecategoryId - the category idforumId - the forum id
java.lang.Exception - the exception
public void moveTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Topic> topics,
java.lang.String destForumPath,
java.lang.String mailContent,
java.lang.String link)
throws java.lang.Exception
moveTopic in interface ForumServiceLegacyjava.lang.Exception
public void moveTopic(java.util.List<Topic> topics,
java.lang.String destForumPath,
java.lang.String mailContent,
java.lang.String link)
throws java.lang.Exception
ForumService
moveTopic in interface ForumServicetopics - the topicsdestForumPath - the dest forum path
java.lang.Exception - the exception
public Topic removeTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
throws java.lang.Exception
removeTopic in interface ForumServiceLegacyjava.lang.Exception
public Topic removeTopic(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
throws java.lang.Exception
ForumService
removeTopic in interface ForumServicecategoryId - the category idforumId - the forum idtopicId - the topic id
java.lang.Exception - the exception
public Post getPost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String postId)
throws java.lang.Exception
getPost in interface ForumServiceLegacyjava.lang.Exception
public Post getPost(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String postId)
throws java.lang.Exception
ForumService
getPost in interface ForumServicecategoryId - the category idforumId - the forum idtopicId - the topic idpostId - the post id
java.lang.Exception - the exception
public long getLastReadIndex(java.lang.String path,
java.lang.String isApproved,
java.lang.String isHidden,
java.lang.String userLogin)
throws java.lang.Exception
getLastReadIndex in interface ForumServicejava.lang.Exception
public JCRPageList getPostForSplitTopic(java.lang.String topicPath)
throws java.lang.Exception
ForumService
getPostForSplitTopic in interface ForumServicejava.lang.Exception - the exception
public JCRPageList getPosts(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
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
getPosts in interface ForumServiceLegacyjava.lang.Exception
public 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
getPosts in interface ForumServicejava.lang.Exception
public long getAvailablePost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
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
getAvailablePost in interface ForumServiceLegacyjava.lang.Exception
public 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
getAvailablePost in interface ForumServicejava.lang.Exception
public void savePost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Post post,
boolean isNew,
java.lang.String defaultEmailContent)
throws java.lang.Exception
savePost in interface ForumServiceLegacyjava.lang.Exception
public 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
ForumService
savePost in interface ForumServicecategoryId - the category idforumId - the forum idtopicId - the topic idpost - the postisNew - is the new
java.lang.Exception - the exception
public void modifyPost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Post> posts,
int type)
throws java.lang.Exception
modifyPost in interface ForumServiceLegacyjava.lang.Exception
public void modifyPost(java.util.List<Post> posts,
int type)
throws java.lang.Exception
modifyPost in interface ForumServicejava.lang.Exception
public void movePost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Post> posts,
java.lang.String destTopicPath,
boolean isCreatNewTopic,
java.lang.String mailContent,
java.lang.String link)
throws java.lang.Exception
movePost in interface ForumServiceLegacyjava.lang.Exception
public void movePost(java.util.List<Post> posts,
java.lang.String destTopicPath,
boolean isCreatNewTopic,
java.lang.String mailContent,
java.lang.String link)
throws java.lang.Exception
movePost in interface ForumServiceLegacyjava.lang.Exception
public void movePost(java.lang.String[] postPaths,
java.lang.String destTopicPath,
boolean isCreatNewTopic,
java.lang.String mailContent,
java.lang.String link)
throws java.lang.Exception
ForumService
movePost in interface ForumServicedestTopicPath - the dest topic path
java.lang.Exception - the exception
public void mergeTopic(java.lang.String srcTopicPath,
java.lang.String destTopicPath,
java.lang.String mailContent,
java.lang.String link)
throws java.lang.Exception
mergeTopic in interface ForumServicejava.lang.Exception
public Post removePost(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String postId)
throws java.lang.Exception
java.lang.Exception
public Post removePost(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String postId)
throws java.lang.Exception
ForumService
removePost in interface ForumServicecategoryId - the category idforumId - the forum idtopicId - the topic idpostId - the post id
java.lang.Exception - the exception
public java.lang.Object getObjectNameByPath(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String path)
throws java.lang.Exception
getObjectNameByPath in interface ForumServiceLegacyjava.lang.Exception
public java.lang.Object getObjectNameByPath(java.lang.String path)
throws java.lang.Exception
ForumService
getObjectNameByPath in interface ForumServicepath - the path
java.lang.Exception - the exception
public java.lang.Object getObjectNameById(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String path,
java.lang.String type)
throws java.lang.Exception
getObjectNameById in interface ForumServiceLegacyjava.lang.Exception
public java.lang.Object getObjectNameById(java.lang.String path,
java.lang.String type)
throws java.lang.Exception
ForumService
getObjectNameById in interface ForumServicejava.lang.Exception - the exception
public java.util.List<ForumLinkData> getAllLink(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String strQueryCate,
java.lang.String strQueryForum)
throws java.lang.Exception
getAllLink in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<ForumLinkData> getAllLink(java.lang.String strQueryCate,
java.lang.String strQueryForum)
throws java.lang.Exception
ForumService
getAllLink in interface ForumServicestrQueryCate - TODOstrQueryForum - TODO
java.lang.Exception - the exception
public java.lang.String getForumHomePath(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getForumHomePath in interface ForumServiceLegacyjava.lang.Exception
public java.lang.String getForumHomePath()
throws java.lang.Exception
ForumService
getForumHomePath in interface ForumServicejava.lang.Exception - the exception
public Poll getPoll(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
throws java.lang.Exception
getPoll in interface ForumServiceLegacyjava.lang.Exception
public Poll getPoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
throws java.lang.Exception
ForumService
getPoll in interface ForumServicecategoryId - the category idforumId - the forum idtopicId - the topic id
java.lang.Exception - the exception
public Poll removePoll(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
throws java.lang.Exception
removePoll in interface ForumServiceLegacyjava.lang.Exception
public Poll removePoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
throws java.lang.Exception
ForumService
removePoll in interface ForumServicecategoryId - the category idforumId - the forum idtopicId - the topic id
java.lang.Exception - the exception
public void savePoll(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Poll poll,
boolean isNew,
boolean isVote)
throws java.lang.Exception
savePoll in interface ForumServiceLegacyjava.lang.Exception
public void savePoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Poll poll,
boolean isNew,
boolean isVote)
throws java.lang.Exception
ForumService
savePoll in interface ForumServicecategoryId - the category idforumId - the forum idtopicId - the topic idpoll - the pollisNew - is the newisVote - is the vote
java.lang.Exception - the exception
public void setClosedPoll(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Poll poll)
throws java.lang.Exception
setClosedPoll in interface ForumServiceLegacyjava.lang.Exception
public void setClosedPoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Poll poll)
throws java.lang.Exception
ForumService
setClosedPoll in interface ForumServicecategoryId - the category idforumId - the forum idtopicId - the topic idpoll - the poll
java.lang.Exception - the exception
public void addTag(java.util.List<Tag> tags,
java.lang.String userName,
java.lang.String topicPath)
throws java.lang.Exception
ForumService
addTag in interface ForumServicetags - the list tag is addtopicPath - the topic path
java.lang.Exception - the exception
public java.util.List<Tag> getAllTags()
throws java.lang.Exception
ForumService
getAllTags in interface ForumServicejava.lang.Exception - the exception
public java.util.List<Tag> getMyTagInTopic(java.lang.String[] tagIds)
throws java.lang.Exception
ForumService
getMyTagInTopic in interface ForumServicetagIds - the list tag id of user tag in topic.
java.lang.Exception - the exception
public Tag getTag(java.lang.String tagId)
throws java.lang.Exception
ForumService
getTag in interface ForumServicetagId - the tag id
java.lang.Exception - the exception
public java.util.List<java.lang.String> getAllTagName(java.lang.String strQuery,
java.lang.String userAndTopicId)
throws java.lang.Exception
getAllTagName in interface ForumServicejava.lang.Exception
public java.util.List<java.lang.String> getTagNameInTopic(java.lang.String userAndTopicId)
throws java.lang.Exception
getTagNameInTopic in interface ForumServicejava.lang.Exception
public JCRPageList getTopicByMyTag(java.lang.String userIdAndtagId,
java.lang.String strOrderBy)
throws java.lang.Exception
ForumService
getTopicByMyTag in interface ForumServiceuserIdAndtagId - the user id and tag id (userId:tagId)strOrderBy - the topic order by
java.lang.Exception - the exception
public void saveTag(Tag newTag)
throws java.lang.Exception
ForumService
saveTag in interface ForumServicenewTag - the new tag
java.lang.Exception - the exception
public void unTag(java.lang.String tagId,
java.lang.String userName,
java.lang.String topicPath)
throws java.lang.Exception
ForumService
unTag in interface ForumServicetagId - the tag iduserName - the user idtopicPath - the topic path
java.lang.Exception - the exception
public void addTag(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<Tag> tags,
java.lang.String userName,
java.lang.String topicPath)
throws java.lang.Exception
addTag in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<Tag> getAllTags(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getAllTags in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<Tag> getMyTagInTopic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String[] tagIds)
throws java.lang.Exception
getMyTagInTopic in interface ForumServiceLegacyjava.lang.Exception
public Tag getTag(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String tagId)
throws java.lang.Exception
getTag in interface ForumServiceLegacyjava.lang.Exception
public JCRPageList getTopicByMyTag(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userIdAndtagId,
java.lang.String strOrderBy)
throws java.lang.Exception
getTopicByMyTag in interface ForumServiceLegacyjava.lang.Exception
public void saveTag(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
Tag newTag)
throws java.lang.Exception
saveTag in interface ForumServiceLegacyjava.lang.Exception
public void unTag(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String tagId,
java.lang.String userName,
java.lang.String topicPath)
throws java.lang.Exception
unTag in interface ForumServiceLegacyjava.lang.Exception
public void saveUserModerator(java.lang.String userName,
java.util.List<java.lang.String> ids,
boolean isModeCate)
throws java.lang.Exception
saveUserModerator in interface ForumServicejava.lang.Exception
public void saveUserProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
UserProfile userProfile,
boolean isOption,
boolean isBan)
throws java.lang.Exception
saveUserProfile in interface ForumServiceLegacyjava.lang.Exception
public void saveUserProfile(UserProfile userProfile,
boolean isOption,
boolean isBan)
throws java.lang.Exception
ForumService
saveUserProfile in interface ForumServiceuserProfile - the user profileisOption - is the optionisBan - is the ban
java.lang.Exception - the exception
public UserProfile getUserInfo(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
throws java.lang.Exception
getUserInfo in interface ForumServiceLegacyjava.lang.Exception
public UserProfile getUserInfo(java.lang.String userName)
throws java.lang.Exception
ForumService
getUserInfo in interface ForumServiceuserName - the user name
java.lang.Exception - the exception
public java.util.List<java.lang.String> getUserModerator(java.lang.String userName,
boolean isModeCate)
throws java.lang.Exception
getUserModerator in interface ForumServicejava.lang.Exception
public UserProfile getUserProfileManagement(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
throws java.lang.Exception
getUserProfileManagement in interface ForumServiceLegacyjava.lang.Exception
public UserProfile getUserProfileManagement(java.lang.String userName)
throws java.lang.Exception
getUserProfileManagement in interface ForumServicejava.lang.Exception
public void saveLastPostIdRead(java.lang.String userId,
java.lang.String[] lastReadPostOfForum,
java.lang.String[] lastReadPostOfTopic)
throws java.lang.Exception
saveLastPostIdRead in interface ForumServicejava.lang.Exception
public void saveUserBookmark(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String bookMark,
boolean isNew)
throws java.lang.Exception
saveUserBookmark in interface ForumServiceLegacyjava.lang.Exception
public void saveUserBookmark(java.lang.String userName,
java.lang.String bookMark,
boolean isNew)
throws java.lang.Exception
ForumService
saveUserBookmark in interface ForumServiceuserName - the user namebookMark - the book markisNew - is the new
java.lang.Exception - the exception
public void saveCollapsedCategories(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String categoryId,
boolean isAdd)
throws java.lang.Exception
saveCollapsedCategories in interface ForumServiceLegacyjava.lang.Exception
public void saveCollapsedCategories(java.lang.String userName,
java.lang.String categoryId,
boolean isAdd)
throws java.lang.Exception
ForumService
saveCollapsedCategories in interface ForumServiceuserName - the user namecategoryId - the book mark
java.lang.Exception - the exception
public JCRPageList getPageListUserProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getPageListUserProfile in interface ForumServiceLegacyjava.lang.Exception
public JCRPageList getPageListUserProfile()
throws java.lang.Exception
ForumService
getPageListUserProfile in interface ForumServicejava.lang.Exception - the exception
public JCRPageList getPrivateMessage(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String type)
throws java.lang.Exception
getPrivateMessage in interface ForumServiceLegacyjava.lang.Exception
public JCRPageList getPrivateMessage(java.lang.String userName,
java.lang.String type)
throws java.lang.Exception
ForumService
getPrivateMessage in interface ForumServiceuserName - the user nametype - the type
java.lang.Exception - the exception
public long getNewPrivateMessage(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
throws java.lang.Exception
getNewPrivateMessage in interface ForumServiceLegacyjava.lang.Exception
public long getNewPrivateMessage(java.lang.String userName)
throws java.lang.Exception
getNewPrivateMessage in interface ForumServicejava.lang.Exception
public void removePrivateMessage(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String messageId,
java.lang.String userName,
java.lang.String type)
throws java.lang.Exception
removePrivateMessage in interface ForumServiceLegacyjava.lang.Exception
public void removePrivateMessage(java.lang.String messageId,
java.lang.String userName,
java.lang.String type)
throws java.lang.Exception
ForumService
removePrivateMessage in interface ForumServicemessageId - the message iduserName - the user nametype - the type
java.lang.Exception - the exception
public void saveReadMessage(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String messageId,
java.lang.String userName,
java.lang.String type)
throws java.lang.Exception
saveReadMessage in interface ForumServiceLegacyjava.lang.Exception
public void saveReadMessage(java.lang.String messageId,
java.lang.String userName,
java.lang.String type)
throws java.lang.Exception
ForumService
saveReadMessage in interface ForumServicemessageId - the message iduserName - the user nametype - the type
java.lang.Exception - the exception
public void savePrivateMessage(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
ForumPrivateMessage privateMessage)
throws java.lang.Exception
savePrivateMessage in interface ForumServiceLegacyjava.lang.Exception
public void savePrivateMessage(ForumPrivateMessage privateMessage)
throws java.lang.Exception
ForumService
savePrivateMessage in interface ForumServiceprivateMessage - the private message
java.lang.Exception - the exception
public ForumSubscription getForumSubscription(java.lang.String userId)
throws java.lang.Exception
ForumService
getForumSubscription in interface ForumServicejava.lang.Exception - the exception
public void saveForumSubscription(ForumSubscription forumSubscription,
java.lang.String userId)
throws java.lang.Exception
saveForumSubscription in interface ForumServicejava.lang.Exception
public JCRPageList getPageTopicOld(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
long date,
java.lang.String forumPatch)
throws java.lang.Exception
getPageTopicOld in interface ForumServiceLegacyforumPatch - Patch of forum Node
java.lang.Exception
public JCRPageList getPageTopicOld(long date,
java.lang.String forumPatch)
throws java.lang.Exception
ForumService
getPageTopicOld in interface ForumServicedate - the dateforumPatch - TODO
java.lang.Exception - the exception
public java.util.List<Topic> getAllTopicsOld(long date,
java.lang.String forumPatch)
throws java.lang.Exception
getAllTopicsOld in interface ForumServicejava.lang.Exception
public java.util.List<Topic> getAllTopicsOld(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
long date,
java.lang.String forumPatch)
throws java.lang.Exception
getAllTopicsOld in interface ForumServiceLegacyforumPatch - Patch of forum Node
java.lang.Exception
public long getTotalTopicOld(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
long date,
java.lang.String forumPatch)
throws java.lang.Exception
getTotalTopicOld in interface ForumServiceLegacyforumPatch - Patch of forum Node
java.lang.Exception
public long getTotalTopicOld(long date,
java.lang.String forumPatch)
getTotalTopicOld in interface ForumService
public JCRPageList getPageTopicByUser(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
boolean isMod,
java.lang.String strOrderBy)
throws java.lang.Exception
getPageTopicByUser in interface ForumServiceLegacyjava.lang.Exception
public JCRPageList getPageTopicByUser(java.lang.String userName,
boolean isMod,
java.lang.String strOrderBy)
throws java.lang.Exception
ForumService
getPageTopicByUser in interface ForumServiceuserName - the user namestrOrderBy - TODO
java.lang.Exception - the exception
public JCRPageList getPagePostByUser(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String userId,
boolean isMod,
java.lang.String strOrderBy)
throws java.lang.Exception
getPagePostByUser in interface ForumServiceLegacyjava.lang.Exception
public JCRPageList getPagePostByUser(java.lang.String userName,
java.lang.String userId,
boolean isMod,
java.lang.String strOrderBy)
throws java.lang.Exception
ForumService
getPagePostByUser in interface ForumServiceuserName - the user nameuserId - TODOisMod - TODO
java.lang.Exception - the exception
public ForumStatistic getForumStatistic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getForumStatistic in interface ForumServiceLegacyjava.lang.Exception
public ForumStatistic getForumStatistic()
throws java.lang.Exception
ForumService
getForumStatistic in interface ForumServicejava.lang.Exception - the exception
public void saveForumStatistic(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
ForumStatistic forumStatistic)
throws java.lang.Exception
saveForumStatistic in interface ForumServiceLegacyjava.lang.Exception
public void saveForumStatistic(ForumStatistic forumStatistic)
throws java.lang.Exception
ForumService
saveForumStatistic in interface ForumServiceforumStatistic - the forum statistic
java.lang.Exception - the exception
public void updateStatisticCounts(long topicCount,
long postCount)
throws java.lang.Exception
updateStatisticCounts in interface ForumServicejava.lang.Exception
public java.util.List<ForumSearch> getQuickSearch(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
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
getQuickSearch in interface ForumServiceLegacyjava.lang.Exception
public 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
ForumService
getQuickSearch in interface ForumServicetextQuery - the text querytype - is type user and type object(forum, topic and post)pathQuery - the path queryforumIdsOfModerator - TODO
java.lang.Exception - the exception
public java.util.List<ForumSearch> getAdvancedSearch(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
ForumEventQuery eventQuery,
java.util.List<java.lang.String> listCateIds,
java.util.List<java.lang.String> listForumIds)
throws java.lang.Exception
getAdvancedSearch in interface ForumServiceLegacyjava.lang.Exception
public 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
ForumService
getAdvancedSearch in interface ForumServiceeventQuery - the event query
java.lang.Exception - the exception
public ForumAdministration getForumAdministration(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getForumAdministration in interface ForumServiceLegacyjava.lang.Exception
public ForumAdministration getForumAdministration()
throws java.lang.Exception
ForumService
getForumAdministration in interface ForumServicejava.lang.Exception - the exception
public void saveForumAdministration(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
ForumAdministration forumAdministration)
throws java.lang.Exception
saveForumAdministration in interface ForumServiceLegacyjava.lang.Exception
public void saveForumAdministration(ForumAdministration forumAdministration)
throws java.lang.Exception
ForumService
saveForumAdministration in interface ForumServiceforumAdministration - the forum administration
java.lang.Exception - the exception
public void addWatch(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
int watchType,
java.lang.String path,
java.util.List<java.lang.String> values,
java.lang.String currentUser)
throws java.lang.Exception
addWatch in interface ForumServiceLegacyjava.lang.Exception
public void addWatch(int watchType,
java.lang.String path,
java.util.List<java.lang.String> values,
java.lang.String currentUser)
throws java.lang.Exception
addWatch in interface ForumServicejava.lang.Exception
public void removeWatch(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
int watchType,
java.lang.String path,
java.lang.String values)
throws java.lang.Exception
removeWatch in interface ForumServiceLegacyjava.lang.Exception
public void removeWatch(int watchType,
java.lang.String path,
java.lang.String values)
throws java.lang.Exception
removeWatch in interface ForumServicejava.lang.Exception
public java.util.List<ForumSearch> getJobWattingForModerator(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String[] paths)
throws java.lang.Exception
getJobWattingForModerator in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<ForumSearch> getJobWattingForModerator(java.lang.String[] paths)
throws java.lang.Exception
getJobWattingForModerator in interface ForumServicejava.lang.Exception
public int getJobWattingForModeratorByUser(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userId)
throws java.lang.Exception
getJobWattingForModeratorByUser in interface ForumServiceLegacyjava.lang.Exception
public int getJobWattingForModeratorByUser(java.lang.String userId)
throws java.lang.Exception
getJobWattingForModeratorByUser in interface ForumServicejava.lang.Exception
public void removeProfile(java.lang.String userId)
throws java.lang.Exception
removeProfile in interface ForumServicejava.lang.Exception
public void updateLoggedinUsers()
throws java.lang.Exception
updateLoggedinUsers in interface ForumServicejava.lang.Exception
public void userLogin(java.lang.String userId)
throws java.lang.Exception
ForumService
userLogin in interface ForumServiceuserId - the user id
java.lang.Exception - the exception
public void userLogout(java.lang.String userId)
throws java.lang.Exception
ForumService
userLogout in interface ForumServiceuserId - the user id
java.lang.Exception - the exception
public boolean isOnline(java.lang.String userId)
throws java.lang.Exception
ForumService
isOnline in interface ForumServiceuserId - the user id
java.lang.Exception - the exception
public java.util.List<java.lang.String> getOnlineUsers()
throws java.lang.Exception
ForumService
getOnlineUsers in interface ForumServicejava.lang.Exception - the exception
public java.lang.String getLastLogin()
throws java.lang.Exception
ForumService
getLastLogin in interface ForumServicejava.lang.Exception - the exception
public SendMessageInfo getMessageInfo(java.lang.String name)
throws java.lang.Exception
getMessageInfo in interface ForumServicejava.lang.Exception
public JCRPageList searchUserProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userSearch)
throws java.lang.Exception
searchUserProfile in interface ForumServiceLegacyjava.lang.Exception
public JCRPageList searchUserProfile(java.lang.String userSearch)
throws java.lang.Exception
ForumService
searchUserProfile in interface ForumServicejava.lang.Exception - the exception
public boolean isAdminRole(java.lang.String userName)
throws java.lang.Exception
isAdminRole in interface ForumServicejava.lang.Exception
public java.util.List<Post> getNewPosts(int number)
throws java.lang.Exception
ForumService
getNewPosts in interface ForumServicejava.lang.Exception - the exception
public javax.jcr.NodeIterator search(java.lang.String queryString,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
search in interface ForumServiceLegacyjava.lang.Exception
public javax.jcr.NodeIterator search(java.lang.String queryString)
throws java.lang.Exception
search in interface ForumServicejava.lang.Exception
public void evaluateActiveUsers(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String query)
throws java.lang.Exception
evaluateActiveUsers in interface ForumServiceLegacyjava.lang.Exception
public void evaluateActiveUsers(java.lang.String query)
throws java.lang.Exception
evaluateActiveUsers in interface ForumServicejava.lang.Exception
public void updateTopicAccess(java.lang.String userId,
java.lang.String topicId)
throws java.lang.Exception
updateTopicAccess in interface ForumServicejava.lang.Exception
public void updateForumAccess(java.lang.String userId,
java.lang.String forumId)
throws java.lang.Exception
updateForumAccess in interface ForumServicejava.lang.Exception
public 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,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
exportXML in interface ForumServiceLegacyjava.lang.Exception
public 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
exportXML in interface ForumServicejava.lang.Exception
public java.util.List<UserProfile> getQuickProfiles(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.util.List<java.lang.String> userList)
throws java.lang.Exception
getQuickProfiles in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<UserProfile> getQuickProfiles(java.util.List<java.lang.String> userList)
throws java.lang.Exception
getQuickProfiles in interface ForumServicejava.lang.Exception
public UserProfile getQuickProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
throws java.lang.Exception
getQuickProfile in interface ForumServiceLegacyjava.lang.Exception
public UserProfile getQuickProfile(java.lang.String userName)
throws java.lang.Exception
getQuickProfile in interface ForumServicejava.lang.Exception
public java.lang.String getScreenName(java.lang.String userName)
throws java.lang.Exception
getScreenName in interface ForumServicejava.lang.Exception
public UserProfile getUserInformations(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
UserProfile userProfile)
throws java.lang.Exception
getUserInformations in interface ForumServiceLegacyjava.lang.Exception
public UserProfile getUserInformations(UserProfile userProfile)
throws java.lang.Exception
getUserInformations in interface ForumServicejava.lang.Exception
public UserProfile getDefaultUserProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName,
java.lang.String ip)
throws java.lang.Exception
getDefaultUserProfile in interface ForumServiceLegacyjava.lang.Exception
public UserProfile getDefaultUserProfile(java.lang.String userName,
java.lang.String ip)
throws java.lang.Exception
getDefaultUserProfile in interface ForumServicejava.lang.Exception
public UserProfile updateUserProfileSetting(UserProfile userProfile)
throws java.lang.Exception
updateUserProfileSetting in interface ForumServicejava.lang.Exception
public java.util.List<java.lang.String> getBookmarks(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
throws java.lang.Exception
getBookmarks in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<java.lang.String> getBookmarks(java.lang.String userName)
throws java.lang.Exception
getBookmarks in interface ForumServicejava.lang.Exception
public UserProfile getUserSettingProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String userName)
throws java.lang.Exception
getUserSettingProfile in interface ForumServiceLegacyjava.lang.Exception
public UserProfile getUserSettingProfile(java.lang.String userName)
throws java.lang.Exception
getUserSettingProfile in interface ForumServicejava.lang.Exception
public void saveUserSettingProfile(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
UserProfile userProfile)
throws java.lang.Exception
saveUserSettingProfile in interface ForumServiceLegacyjava.lang.Exception
public void saveUserSettingProfile(UserProfile userProfile)
throws java.lang.Exception
saveUserSettingProfile in interface ForumServicejava.lang.Exception
public void importXML(java.lang.String nodePath,
java.io.InputStream is,
java.lang.String mimeType,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
importXML in interface ForumServiceLegacyjava.lang.Exception
public void importXML(java.lang.String nodePath,
java.io.InputStream is,
java.lang.String mimeType)
throws java.lang.Exception
importXML in interface ForumServicejava.lang.Exception
public void updateDataImported()
throws java.lang.Exception
updateDataImported in interface ForumServiceLegacyjava.lang.Exception
public void updateForum(java.lang.String path)
throws java.lang.Exception
updateForum in interface ForumServicejava.lang.Exception
public java.util.List<java.lang.String> getBanList()
throws java.lang.Exception
getBanList in interface ForumServicejava.lang.Exception
public boolean addBanIP(java.lang.String ip)
throws java.lang.Exception
addBanIP in interface ForumServicejava.lang.Exception
public void removeBan(java.lang.String ip)
throws java.lang.Exception
removeBan in interface ForumServicejava.lang.Exception
public JCRPageList getListPostsByIP(java.lang.String ip,
java.lang.String strOrderBy,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getListPostsByIP in interface ForumServiceLegacyjava.lang.Exception
public JCRPageList getListPostsByIP(java.lang.String ip,
java.lang.String strOrderBy)
throws java.lang.Exception
getListPostsByIP in interface ForumServicejava.lang.Exception
public java.util.List<java.lang.String> getForumBanList(java.lang.String forumId)
throws java.lang.Exception
getForumBanList in interface ForumServicejava.lang.Exception
public boolean addBanIPForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String ip,
java.lang.String forumId)
throws java.lang.Exception
addBanIPForum in interface ForumServiceLegacyjava.lang.Exception
public boolean addBanIPForum(java.lang.String ip,
java.lang.String forumId)
throws java.lang.Exception
addBanIPForum in interface ForumServicejava.lang.Exception
public void removeBanIPForum(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String ip,
java.lang.String forumId)
throws java.lang.Exception
removeBanIPForum in interface ForumServiceLegacyjava.lang.Exception
public void removeBanIPForum(java.lang.String ip,
java.lang.String forumId)
throws java.lang.Exception
removeBanIPForum in interface ForumServicejava.lang.Exception
public void registerListenerForCategory(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String categoryId)
throws java.lang.Exception
registerListenerForCategory in interface ForumServiceLegacyjava.lang.Exception
public void registerListenerForCategory(java.lang.String categoryId)
throws java.lang.Exception
registerListenerForCategory in interface ForumServicejava.lang.Exception
public void unRegisterListenerForCategory(java.lang.String path)
throws java.lang.Exception
unRegisterListenerForCategory in interface ForumServicejava.lang.Exception
public ForumAttachment getUserAvatar(java.lang.String userName,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getUserAvatar in interface ForumServiceLegacyjava.lang.Exception
public ForumAttachment getUserAvatar(java.lang.String userName)
throws java.lang.Exception
getUserAvatar in interface ForumServicejava.lang.Exception
public void saveUserAvatar(java.lang.String userId,
ForumAttachment fileAttachment,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
saveUserAvatar in interface ForumServiceLegacyjava.lang.Exception
public void saveUserAvatar(java.lang.String userId,
ForumAttachment fileAttachment)
throws java.lang.Exception
saveUserAvatar in interface ForumServicejava.lang.Exception
public void setDefaultAvatar(java.lang.String userName,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
setDefaultAvatar in interface ForumServiceLegacyjava.lang.Exception
public void setDefaultAvatar(java.lang.String userName)
throws java.lang.Exception
setDefaultAvatar in interface ForumServicejava.lang.Exception
public java.util.List<Watch> getWatchByUser(java.lang.String userId,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getWatchByUser in interface ForumServiceLegacyjava.lang.Exception
public java.util.List<Watch> getWatchByUser(java.lang.String userId)
throws java.lang.Exception
getWatchByUser in interface ForumServicejava.lang.Exception
public void updateEmailWatch(java.util.List<java.lang.String> listNodeId,
java.lang.String newEmailAdd,
java.lang.String userId,
org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
updateEmailWatch in interface ForumServiceLegacyjava.lang.Exception
public void updateEmailWatch(java.util.List<java.lang.String> listNodeId,
java.lang.String newEmailAdd,
java.lang.String userId)
throws java.lang.Exception
updateEmailWatch in interface ForumServicejava.lang.Exception
public void saveBBCode(java.util.List<BBCode> bbcodes)
throws java.lang.Exception
saveBBCode in interface ForumServicejava.lang.Exception
public java.util.List<BBCode> getAllBBCode()
throws java.lang.Exception
getAllBBCode in interface ForumServicejava.lang.Exception
public java.util.List<java.lang.String> getActiveBBCode()
throws java.lang.Exception
getActiveBBCode in interface ForumServicejava.lang.Exception
public BBCode getBBcode(java.lang.String id)
throws java.lang.Exception
getBBcode in interface ForumServicejava.lang.Exception
public void removeBBCode(java.lang.String bbcodeId)
throws java.lang.Exception
removeBBCode in interface ForumServicejava.lang.Exception
public java.util.List<PruneSetting> getAllPruneSetting()
throws java.lang.Exception
getAllPruneSetting in interface ForumServicejava.lang.Exception
public java.util.List<PruneSetting> getAllPruneSetting(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider)
throws java.lang.Exception
getAllPruneSetting in interface ForumServiceLegacyjava.lang.Exception
public void savePruneSetting(PruneSetting pruneSetting)
throws java.lang.Exception
savePruneSetting in interface ForumServicejava.lang.Exception
public void savePruneSetting(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
PruneSetting pruneSetting)
throws java.lang.Exception
savePruneSetting in interface ForumServiceLegacyjava.lang.Exception
public PruneSetting getPruneSetting(java.lang.String forumPath)
throws java.lang.Exception
getPruneSetting in interface ForumServicejava.lang.Exception
public PruneSetting getPruneSetting(org.exoplatform.services.jcr.ext.common.SessionProvider sProvider,
java.lang.String forumPath)
throws java.lang.Exception
getPruneSetting in interface ForumServiceLegacyjava.lang.Exception
public void runPrune(PruneSetting pSetting)
throws java.lang.Exception
runPrune in interface ForumServicejava.lang.Exception
public void runPrune(java.lang.String forumPath)
throws java.lang.Exception
runPrune in interface ForumServicejava.lang.Exception
public long checkPrune(PruneSetting pSetting)
throws java.lang.Exception
checkPrune in interface ForumServicejava.lang.Exception
public JCRPageList getPageTopicByType(java.lang.String type)
throws java.lang.Exception
getPageTopicByType in interface ForumServicejava.lang.Exception
public TopicType getTopicType(java.lang.String Id)
throws java.lang.Exception
getTopicType in interface ForumServicejava.lang.Exception
public java.util.List<TopicType> getTopicTypes()
throws java.lang.Exception
getTopicTypes in interface ForumServicejava.lang.Exception
public void removeTopicType(java.lang.String topicTypeId)
throws java.lang.Exception
removeTopicType in interface ForumServicejava.lang.Exception
public void saveTopicType(TopicType topicType)
throws java.lang.Exception
saveTopicType in interface ForumServicejava.lang.Exception
public void updateUserProfileInfo(java.lang.String name)
throws java.lang.Exception
updateUserProfileInfo in interface ForumServicejava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||