|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ForumService
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. |
| Method Detail |
|---|
void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
plugin - the plugin
java.lang.Exception - the exception
void addRolePlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
plugin - the plugin
java.lang.Exception - the exception
void addInitialDataPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
plugin - the plugin
java.lang.Exception - the exception
void addInitBBCodePlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
plugin - the plugin
java.lang.Exception - the exception
void addInitRssPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
throws java.lang.Exception
java.lang.Exception
java.util.List<Category> getCategories()
throws java.lang.Exception
sProvider - is the SessionProvider
java.lang.Exception - the exception
Category getCategory(java.lang.String categoryId)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - is the id of category.
java.lang.Exception - the exception
java.lang.String[] getPermissionTopicByCategory(java.lang.String categoryId,
java.lang.String type)
throws java.lang.Exception
java.lang.Exception
void saveCategory(Category category,
boolean isNew)
throws java.lang.Exception
sProvider - is the SessionProvidercategory - is the categoryisNew - is the true when add new category or false when update category.
java.lang.Exception - the exception
void calculateModerator(java.lang.String categoryPath,
boolean isNew)
throws java.lang.Exception
java.lang.Exception
void saveModOfCategory(java.util.List<java.lang.String> moderatorCate,
java.lang.String userId,
boolean isAdd)
Category removeCategory(java.lang.String categoryId)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - is the id of category removed
java.lang.Exception - the exception
java.util.List<Forum> getForums(java.lang.String categoryId,
java.lang.String strQuery)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - is the id of category have list forum
java.lang.Exception - the exception
Forum getForum(java.lang.String categoryId,
java.lang.String forumId)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - is the id of category identify.forumId - is the id of forum identify.
java.lang.Exception - the exception
void modifyForum(Forum forum,
int type)
throws java.lang.Exception
sProvider - is the SessionProviderforum - is the object forum that should be modifiedtype - is choose when modify this forum.
java.lang.Exception - the exception
void saveForum(java.lang.String categoryId,
Forum forum,
boolean isNew)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - is the id of category identify.forum - is the object forum need save.isNew - is the new
java.lang.Exception - the exception
void saveModerateOfForums(java.util.List<java.lang.String> forumPaths,
java.lang.String userName,
boolean isDelete)
throws java.lang.Exception
sProvider - is the SessionProviderforumPaths - 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
Forum removeForum(java.lang.String categoryId,
java.lang.String forumId)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - is the id of category.forumId - is the id of forum need remove.
java.lang.Exception - the exception
void moveForum(java.util.List<Forum> forums,
java.lang.String destCategoryPath)
throws java.lang.Exception
sProvider - is the SessionProviderforums - is the list object forumdestCategoryPath - is the destination path of category
java.lang.Exception - the exception
JCRPageList getPageTopic(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String strQuery,
java.lang.String strOrderBy)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - is the id of categoryforumId - is the id of forumisApproved - 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
java.lang.Exception - the exception
JCRPageList getPageTopicByUser(java.lang.String userName,
boolean isMod,
java.lang.String strOrderBy)
throws java.lang.Exception
sProvider - is the SessionProvideruserName - the user namestrOrderBy - TODO
java.lang.Exception - the exception
JCRPageList getPageTopicOld(long date,
java.lang.String forumPatch)
throws java.lang.Exception
date - the dateforumPatch - TODOsProvider - is the SessionProvider
java.lang.Exception - the exception
java.util.List<Topic> getAllTopicsOld(long date,
java.lang.String forumPatch)
throws java.lang.Exception
java.lang.Exception
long getTotalTopicOld(long date,
java.lang.String forumPatch)
java.util.List<Topic> getTopics(java.lang.String categoryId,
java.lang.String forumId)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum id
java.lang.Exception - the exception
Topic getTopic(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String userRead)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopicId - the topic iduserRead - the user read
java.lang.Exception - the exception
void setViewCountTopic(java.lang.String path,
java.lang.String userRead)
throws java.lang.Exception
java.lang.Exception
Topic getTopicByPath(java.lang.String topicPath,
boolean isLastPost)
throws java.lang.Exception
sProvider - is the SessionProvidertopicPath - the topic pathisLastPost - is the last post
java.lang.Exception - the exception
Topic getTopicSummary(java.lang.String topicPath)
throws java.lang.Exception
java.lang.Exception
void modifyTopic(java.util.List<Topic> topics,
int type)
throws java.lang.Exception
sProvider - is the SessionProvidertopics - the topicstype - the type
java.lang.Exception - the exception
void saveTopic(java.lang.String categoryId,
java.lang.String forumId,
Topic topic,
boolean isNew,
boolean isMove,
java.lang.String defaultEmailContent)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopic - the topicisNew - is the newisMove - is the move
java.lang.Exception - the exception
Topic removeTopic(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopicId - the topic id
java.lang.Exception - the exception
void moveTopic(java.util.List<Topic> topics,
java.lang.String destForumPath,
java.lang.String mailContent,
java.lang.String link)
throws java.lang.Exception
sProvider - is the SessionProvidertopics - the topicsdestForumPath - the dest forum path
java.lang.Exception - the exception
void mergeTopic(java.lang.String srcTopicPath,
java.lang.String destTopicPath,
java.lang.String mailContent,
java.lang.String link)
throws java.lang.Exception
java.lang.Exception
JCRPageList getPostForSplitTopic(java.lang.String topicPath)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopicId - the topic idisApproved - is the approvedisHidden - is the hiddenstrQuery - the str queryuserLogin - the user login
java.lang.Exception - the exception
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
java.lang.Exception
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
java.lang.Exception
long getLastReadIndex(java.lang.String path,
java.lang.String isApproved,
java.lang.String isHidden,
java.lang.String userLogin)
throws java.lang.Exception
java.lang.Exception
JCRPageList getPagePostByUser(java.lang.String userName,
java.lang.String userId,
boolean isMod,
java.lang.String strOrderBy)
throws java.lang.Exception
sProvider - is the SessionProvideruserName - the user nameuserId - TODOisMod - TODOstrQuery - TODO
java.lang.Exception - the exception
Post getPost(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String postId)
throws java.lang.Exception
postId - the post idsProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopicId - the topic id
java.lang.Exception - the exception
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
topicId - the topic idpost - the postisNew - is the newsProvider - is the SessionProvidercategoryId - the category idforumId - the forum id
java.lang.Exception - the exception
void modifyPost(java.util.List<Post> posts,
int type)
throws java.lang.Exception
java.lang.Exception
Post removePost(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
java.lang.String postId)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopicId - the topic idpostId - the post id
java.lang.Exception - the exception
void movePost(java.lang.String[] postPaths,
java.lang.String destTopicPath,
boolean isCreatNewTopic,
java.lang.String mailContent,
java.lang.String link)
throws java.lang.Exception
sProvider - is the SessionProviderposts - the postsdestTopicPath - the dest topic path
java.lang.Exception - the exception
Poll getPoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopicId - the topic id
java.lang.Exception - the exception
void savePoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Poll poll,
boolean isNew,
boolean isVote)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopicId - the topic idpoll - the pollisNew - is the newisVote - is the vote
java.lang.Exception - the exception
Poll removePoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopicId - the topic id
java.lang.Exception - the exception
void setClosedPoll(java.lang.String categoryId,
java.lang.String forumId,
java.lang.String topicId,
Poll poll)
throws java.lang.Exception
sProvider - is the SessionProvidercategoryId - the category idforumId - the forum idtopicId - the topic idpoll - the poll
java.lang.Exception - the exception
java.lang.Object getObjectNameByPath(java.lang.String path)
throws java.lang.Exception
sProvider - is the SessionProviderpath - the path
java.lang.Exception - the exception
java.lang.Object getObjectNameById(java.lang.String id,
java.lang.String type)
throws java.lang.Exception
sProvider - is the SessionProviderpath - the path
java.lang.Exception - the exception
java.util.List<ForumLinkData> getAllLink(java.lang.String strQueryCate,
java.lang.String strQueryForum)
throws java.lang.Exception
sProvider - is the SessionProviderstrQueryCate - TODOstrQueryForum - TODO
java.lang.Exception - the exception
java.lang.String getForumHomePath()
throws java.lang.Exception
sProvider - is the SessionProvider
java.lang.Exception - the exception
void addTag(java.util.List<Tag> tags,
java.lang.String userName,
java.lang.String topicPath)
throws java.lang.Exception
tags - the list tag is addtopicPath - the topic path
java.lang.Exception - the exception
void unTag(java.lang.String tagId,
java.lang.String userName,
java.lang.String topicPath)
throws java.lang.Exception
tagId - the tag iduserName - the user idtopicPath - the topic path
java.lang.Exception - the exception
Tag getTag(java.lang.String tagId)
throws java.lang.Exception
sProvider - is the SessionProvidertagId - the tag id
java.lang.Exception - the exception
java.util.List<java.lang.String> getAllTagName(java.lang.String strQuery,
java.lang.String userAndTopicId)
throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getTagNameInTopic(java.lang.String userAndTopicId)
throws java.lang.Exception
java.lang.Exception
java.util.List<Tag> getAllTags()
throws java.lang.Exception
java.lang.Exception - the exception
java.util.List<Tag> getMyTagInTopic(java.lang.String[] tagIds)
throws java.lang.Exception
tagIds - the list tag id of user tag in topic.
java.lang.Exception - the exception
JCRPageList getTopicByMyTag(java.lang.String userIdAndtagId,
java.lang.String strOrderBy)
throws java.lang.Exception
userIdAndtagId - the user id and tag id (userId:tagId)strOrderBy - the topic order by
java.lang.Exception - the exception
void saveTag(Tag newTag)
throws java.lang.Exception
newTag - the new tag
java.lang.Exception - the exception
void saveUserProfile(UserProfile userProfile,
boolean isOption,
boolean isBan)
throws java.lang.Exception
sProvider - is the SessionProvideruserProfile - the user profileisOption - is the optionisBan - is the ban
java.lang.Exception - the exception
void updateUserProfile(org.exoplatform.services.organization.User user)
throws java.lang.Exception
java.lang.Exception
void saveUserModerator(java.lang.String userName,
java.util.List<java.lang.String> ids,
boolean isModeCate)
throws java.lang.Exception
java.lang.Exception
JCRPageList searchUserProfile(java.lang.String userSearch)
throws java.lang.Exception
sProvider - is the SessionProvideruserName - the user nameisGetOption - is the get optionisGetBan - is the get banisLogin - is the login
java.lang.Exception - the exception
UserProfile getUserInfo(java.lang.String userName)
throws java.lang.Exception
sProvider - is the SessionProvideruserName - the user name
java.lang.Exception - the exception
java.util.List<java.lang.String> getUserModerator(java.lang.String userName,
boolean isModeCate)
throws java.lang.Exception
java.lang.Exception
void saveUserBookmark(java.lang.String userName,
java.lang.String bookMark,
boolean isNew)
throws java.lang.Exception
sProvider - is the SessionProvideruserName - the user namebookMark - the book markisNew - is the new
java.lang.Exception - the exception
void saveLastPostIdRead(java.lang.String userId,
java.lang.String[] lastReadPostOfForum,
java.lang.String[] lastReadPostOfTopic)
throws java.lang.Exception
java.lang.Exception
void saveCollapsedCategories(java.lang.String userName,
java.lang.String categoryId,
boolean isAdd)
throws java.lang.Exception
sProvider - is the SessionProvideruserName - the user namecategoryId - the book markisNew - is the new
java.lang.Exception - the exception
JCRPageList getPageListUserProfile()
throws java.lang.Exception
sProvider - is the SessionProvider
java.lang.Exception - the exception
void saveForumStatistic(ForumStatistic forumStatistic)
throws java.lang.Exception
sProvider - is the SessionProviderforumStatistic - the forum statistic
java.lang.Exception - the exception
ForumStatistic getForumStatistic()
throws java.lang.Exception
sProvider - is the SessionProvider
java.lang.Exception - the exception
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
sProvider - is the SessionProvidertextQuery - the text querytype - is type user and type object(forum, topic and post)pathQuery - the path queryforumIdsOfModerator - TODO
java.lang.Exception - the exception
java.lang.String getScreenName(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
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
sProvider - is the SessionProvidereventQuery - the event query
java.lang.Exception - the exception
void saveForumAdministration(ForumAdministration forumAdministration)
throws java.lang.Exception
sProvider - is the SessionProviderforumAdministration - the forum administration
java.lang.Exception - the exception
ForumAdministration getForumAdministration()
throws java.lang.Exception
sProvider - is the SessionProvider
java.lang.Exception - the exception
void userLogin(java.lang.String userId)
throws java.lang.Exception
userId - the user id
java.lang.Exception - the exception
void userLogout(java.lang.String userId)
throws java.lang.Exception
userId - the user id
java.lang.Exception - the exception
boolean isOnline(java.lang.String userId)
throws java.lang.Exception
userId - the user id
java.lang.Exception - the exception
java.util.List<java.lang.String> getOnlineUsers()
throws java.lang.Exception
java.lang.Exception - the exception
java.lang.String getLastLogin()
throws java.lang.Exception
java.lang.Exception - the exception
JCRPageList getPrivateMessage(java.lang.String userName,
java.lang.String type)
throws java.lang.Exception
sProvider - is the SessionProvideruserName - the user nametype - the type
java.lang.Exception - the exception
long getNewPrivateMessage(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
void savePrivateMessage(ForumPrivateMessage privateMessage)
throws java.lang.Exception
sProvider - is the SessionProviderprivateMessage - the private message
java.lang.Exception - the exception
void saveReadMessage(java.lang.String messageId,
java.lang.String userName,
java.lang.String type)
throws java.lang.Exception
sProvider - is the SessionProvidermessageId - the message iduserName - the user nametype - the type
java.lang.Exception - the exception
void removePrivateMessage(java.lang.String messageId,
java.lang.String userName,
java.lang.String type)
throws java.lang.Exception
sProvider - is the SessionProvidermessageId - the message iduserName - the user nametype - the type
java.lang.Exception - the exception
ForumSubscription getForumSubscription(java.lang.String userId)
throws java.lang.Exception
sProvider - is the SessionProviderwatchType - the watch typepath - the pathvalues - the values
java.lang.Exception - the exception
void saveForumSubscription(ForumSubscription forumSubscription,
java.lang.String userId)
throws java.lang.Exception
java.lang.Exception
void addWatch(int watchType,
java.lang.String path,
java.util.List<java.lang.String> values,
java.lang.String currentUser)
throws java.lang.Exception
java.lang.Exception
void removeWatch(int watchType,
java.lang.String path,
java.lang.String values)
throws java.lang.Exception
java.lang.Exception
java.util.List<ForumSearch> getJobWattingForModerator(java.lang.String[] paths)
throws java.lang.Exception
java.lang.Exception
int getJobWattingForModeratorByUser(java.lang.String userId)
throws java.lang.Exception
java.lang.Exception
SendMessageInfo getMessageInfo(java.lang.String name)
throws java.lang.Exception
java.lang.Exception
boolean isAdminRole(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
java.util.List<Post> getNewPosts(int number)
throws java.lang.Exception
in - number number of post
java.lang.Exception - the exception
javax.jcr.NodeIterator search(java.lang.String queryString)
throws java.lang.Exception
java.lang.Exception
void updateForumStatistic()
throws java.lang.Exception
java.lang.Exception
void evaluateActiveUsers(java.lang.String query)
throws java.lang.Exception
java.lang.Exception
void createUserProfile(org.exoplatform.services.organization.User user)
throws java.lang.Exception
java.lang.Exception
void updateTopicAccess(java.lang.String userId,
java.lang.String topicId)
throws java.lang.Exception
java.lang.Exception
void updateForumAccess(java.lang.String userId,
java.lang.String forumId)
throws java.lang.Exception
java.lang.Exception
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
java.lang.Exception
void importXML(java.lang.String nodePath,
java.io.InputStream is,
java.lang.String mimeType)
throws java.lang.Exception
java.lang.Exception
java.util.List<UserProfile> getQuickProfiles(java.util.List<java.lang.String> userList)
throws java.lang.Exception
java.lang.Exception
UserProfile getQuickProfile(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
UserProfile getUserInformations(UserProfile userProfile)
throws java.lang.Exception
java.lang.Exception
UserProfile getDefaultUserProfile(java.lang.String userName,
java.lang.String ip)
throws java.lang.Exception
java.lang.Exception
UserProfile updateUserProfileSetting(UserProfile userProfile)
throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getBookmarks(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
UserProfile getUserSettingProfile(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
UserProfile getUserProfileManagement(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
void saveUserSettingProfile(UserProfile userProfile)
throws java.lang.Exception
java.lang.Exception
void updateForum(java.lang.String path)
throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getBanList()
throws java.lang.Exception
java.lang.Exception
boolean addBanIP(java.lang.String ip)
throws java.lang.Exception
java.lang.Exception
void removeBan(java.lang.String ip)
throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getForumBanList(java.lang.String forumId)
throws java.lang.Exception
java.lang.Exception
boolean addBanIPForum(java.lang.String ip,
java.lang.String forumId)
throws java.lang.Exception
java.lang.Exception
void removeBanIPForum(java.lang.String ip,
java.lang.String forumId)
throws java.lang.Exception
java.lang.Exception
JCRPageList getListPostsByIP(java.lang.String ip,
java.lang.String strOrderBy)
throws java.lang.Exception
java.lang.Exception
void updateStatisticCounts(long topicCoutn,
long postCount)
throws java.lang.Exception
java.lang.Exception
void registerListenerForCategory(java.lang.String categoryId)
throws java.lang.Exception
java.lang.Exception
void unRegisterListenerForCategory(java.lang.String path)
throws java.lang.Exception
java.lang.Exception
ForumAttachment getUserAvatar(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
void saveUserAvatar(java.lang.String userId,
ForumAttachment fileAttachment)
throws java.lang.Exception
java.lang.Exception
void setDefaultAvatar(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
java.util.List<Watch> getWatchByUser(java.lang.String userId)
throws java.lang.Exception
java.lang.Exception
void updateEmailWatch(java.util.List<java.lang.String> listNodeId,
java.lang.String newEmailAdd,
java.lang.String userId)
throws java.lang.Exception
java.lang.Exception
void saveBBCode(java.util.List<BBCode> bbcodes)
throws java.lang.Exception
java.lang.Exception
java.util.List<BBCode> getAllBBCode()
throws java.lang.Exception
java.lang.Exception
java.util.List<java.lang.String> getActiveBBCode()
throws java.lang.Exception
java.lang.Exception
BBCode getBBcode(java.lang.String id)
throws java.lang.Exception
java.lang.Exception
void removeBBCode(java.lang.String bbcodeId)
throws java.lang.Exception
java.lang.Exception
java.util.List<PruneSetting> getAllPruneSetting()
throws java.lang.Exception
java.lang.Exception
PruneSetting getPruneSetting(java.lang.String forumPath)
throws java.lang.Exception
java.lang.Exception
void savePruneSetting(PruneSetting pruneSetting)
throws java.lang.Exception
java.lang.Exception
void runPrune(PruneSetting pSetting)
throws java.lang.Exception
java.lang.Exception
void runPrune(java.lang.String forumPath)
throws java.lang.Exception
java.lang.Exception
long checkPrune(PruneSetting pSetting)
throws java.lang.Exception
java.lang.Exception
java.util.List<TopicType> getTopicTypes()
throws java.lang.Exception
java.lang.Exception
TopicType getTopicType(java.lang.String Id)
throws java.lang.Exception
java.lang.Exception
void saveTopicType(TopicType topicType)
throws java.lang.Exception
java.lang.Exception
void removeTopicType(java.lang.String topicTypeId)
throws java.lang.Exception
java.lang.Exception
JCRPageList getPageTopicByType(java.lang.String type)
throws java.lang.Exception
java.lang.Exception
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
java.lang.Exception
java.util.List<Forum> getForumSummaries(java.lang.String categoryId,
java.lang.String strQuery)
throws java.lang.Exception
java.lang.Exception
void updateUserProfileInfo(java.lang.String name)
throws java.lang.Exception
java.lang.Exception
void removeProfile(java.lang.String userId)
throws java.lang.Exception
java.lang.Exception
void updateLoggedinUsers()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||