|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ForumService
Method Summary | |
---|---|
ForumModifyRecord |
addForumModifyRecord(String postID,
DMSUser user,
String action)
|
DMSTransBlock |
commitDownloadPostFile(String userID,
String postID,
String fileID)
|
boolean |
commitUploadPostFileBlock(String userID,
String postID,
String fileName,
DMSTransBlock block)
|
boolean |
deleteForumCategory(String categoryID)
delete ForumCategory (this method alse delete all Forum,topic,post in ForumCategory ) |
boolean |
deleteForumFile(String fileID)
|
boolean |
deleteForumForum(String forumID)
delete ForumForum (this method alse delete all topic,post in ForumForum ) |
boolean |
deleteForumPost(String postID)
delete ForumPost Object |
boolean |
deleteForumTopic(String topicID)
delete ForumTopic Object ( this method will delete all post in ForumTopic) |
boolean |
delThisForumTrack(String topicID)
since v3.0 delete this forum or this topic track |
boolean |
delThisTrack(String topicID,
String user)
since v3.0 delete this track |
Vector |
getAllForumForumList()
get ALL ForumForum List for Admin use |
HashMap |
getCategoryAdminMap(String type,
String categoryID)
get category administrator |
Vector |
getForumAdminList(String forumID)
|
HashMap |
getForumAdminMap(String forumID)
|
ForumCategory |
getForumCategory(String categoryID)
get ForumCategory Object from categoryID |
Vector |
getForumCategoryIDList(DMSUser user)
get FroumCategoryIDList |
Vector |
getForumCategoryList()
|
ForumConfig |
getForumConfig()
|
ForumFile |
getForumFile(String fileID)
|
ForumForum |
getForumForum(String forumID)
get FroumForum Object from forumID |
Vector |
getForumForumList(String CategoryID)
get ForumIDList by CategoryID |
Vector |
getForumMemList(String forumID)
since v3.0 get forum member list |
HashMap |
getForumNewTopicReportByUser(String forumID,
long starttime,
long endtime)
|
ForumPost |
getForumPost(String postID,
boolean isCountViews)
get Post Object from postID |
ForumPostContent |
getForumPostContent(String postID)
get |
Vector |
getForumPostContentByUser(String forumID,
long starttime,
long endtime,
Vector userList,
String postType)
|
Vector |
getForumPostIDList(String topicID)
getForumPostIDList by topicID (normal Status posts) |
Vector |
getForumPostIDList(String topicID,
String status)
getForumPostIDList by topicID By Status |
Vector |
getForumPostList(String topicID)
get PostList each |
HashMap |
getForumReplyReportByUser(String forumID,
long starttime,
long endtime)
|
HashMap |
getForumReportByUser(String forumID,
long starttime,
long endtime,
Vector depList,
String postType)
|
Vector |
getForumSubTopic(String forumID)
since v3.0 get forum sub topic |
ForumTopic |
getForumTopic(String topicID,
boolean isCountView)
Object from topicID and count Views |
Vector |
getForumTopicIDList(String forumID,
String topicType)
get TopicIDList by forumID |
Vector |
getForumTopicIDList(String forumID,
Vector topicType)
|
Vector |
getTopHotForumTopicIDList(int num,
int hotNum)
|
Vector |
getTopNewForumPostIDList(int num)
|
Vector |
getTopReplyForumTopicIDList(int num,
int reNum)
|
boolean |
initAdminCategory(String userID)
|
boolean |
initAdminForum(String userID)
|
boolean |
initAdminTopic(String userID)
|
boolean |
initAdminUser(String userID)
|
boolean |
initAttachFile(String userID,
String forumID)
|
boolean |
initDownloadPostFile(String userID,
String postID,
String fileID)
|
boolean |
initEditCategory(String userID,
String categoryID)
|
boolean |
initEditForum(String userID,
String forumID)
|
boolean |
initEditForumAdmin(String userID,
String forumID)
check user can Admin forum |
boolean |
initEditForumSubAdmin(String userID,
String forumID)
|
boolean |
initEditPost(String userID,
String postID)
|
boolean |
initForumSystemAdmin(String userID)
|
boolean |
initIntoAdminSystem(String userID)
|
boolean |
initIntoPrivateForum(String userID,
String forumID)
|
boolean |
initPostForum(String userID,
String forumID)
|
boolean |
initReplyTopic(String userID,
String Topic)
|
boolean |
initSubTopicTrackList(String topicID)
since v3.0 check this forum sub topic is track |
boolean |
initTrackTopic(String topicID,
String userID)
since v3.0 check user track this track |
boolean |
initUploadPostFile(String userID,
String postID,
String fileName)
|
boolean |
initViewForum(String userID,
String forumID)
|
boolean |
initViewPost(String userID,
String postID)
|
boolean |
initViewTopic(String userID,
String topicID)
|
boolean |
insertForumCategory(ForumCategory fc)
create ForumCategory |
boolean |
insertForumFile(ForumFile ff)
|
boolean |
insertForumForum(ForumForum ff)
create ForumForum Object (ff must set categoryID) |
ForumResult |
insertForumPost(String topicID,
ForumPost fp,
ForumPostContent fpc,
String parentPostID)
create ForumPost |
boolean |
isForumEnable()
|
ForumResult |
newForumTopic(String forumID,
DMSUser user,
String postTitle,
String postContent,
boolean mailtome,
boolean isEmbed,
String topicType,
String documentKey)
²£¥Í·sªºTopic(·|¦Û°Ê²£¥Í¹ïÀ³ªºpost»Ppostcontent |
void |
removeDownloadReources(String userID,
String postID,
String fileID)
|
void |
removeUploadReources(String userID,
String postID)
|
ForumResult |
replyForumPost(String topicID,
DMSUser user,
String postTitle,
String postContent,
boolean mailtome,
boolean isEmbed,
String parentPostID)
Reply Topic |
Vector |
searchForumPostIDList(DMSUser searcher,
String forumID,
String userName,
String queryKey,
String SearchField,
String dataRange,
String orderType)
|
boolean |
trackThisTopic(String topicID,
String user)
since v3.0 insert this track for user |
boolean |
updateCategoryAdminACL(String forumID,
Vector mainAdminList)
|
boolean |
updateForumAdminACL(String type,
Vector mainAdminList)
since v3.0 update forum SysAdmin |
boolean |
updateForumAdminACL(String forumID,
Vector mainAdminList,
Vector subAdminList)
|
boolean |
updateForumCategory(ForumCategory fc)
update ForumCategory Object |
boolean |
updateForumConfig(String value,
String keyValue,
String userID)
since v3.0 |
boolean |
updateForumFile(ForumFile ff)
|
boolean |
updateForumForum(ForumForum ff)
update ForumForum Object |
boolean |
updateForumMember(String forumID,
Vector mainAdminList)
|
boolean |
updateForumPost(ForumPost fp)
update ForumPost Object |
boolean |
updateForumPostContent(ForumPostContent fpc)
update ForumPostContent |
boolean |
updateForumTopic(ForumTopic ft)
update ForumTopic Object |
Method Detail |
---|
ForumCategory getForumCategory(String categoryID) throws RemoteException
categoryID
- String
RemoteException
boolean insertForumCategory(ForumCategory fc) throws RemoteException
fc
- ForumCategory
RemoteException
boolean updateForumCategory(ForumCategory fc) throws RemoteException
fc
- ForumCategory
RemoteException
boolean deleteForumCategory(String categoryID) throws RemoteException
categoryID
- String
RemoteException
boolean insertForumForum(ForumForum ff) throws RemoteException
ff
- ForumForum
RemoteException
boolean updateForumForum(ForumForum ff) throws RemoteException
ff
- ForumForum
RemoteException
boolean deleteForumForum(String forumID) throws RemoteException
forumID
- String
RemoteException
ForumResult newForumTopic(String forumID, DMSUser user, String postTitle, String postContent, boolean mailtome, boolean isEmbed, String topicType, String documentKey) throws RemoteException
ft
- ForumTopicfpc
- ForumPostContent
RemoteException
boolean updateForumTopic(ForumTopic ft) throws RemoteException
ft
- ForumTopic
RemoteException
boolean deleteForumTopic(String topicID) throws RemoteException
topicID
- String
RemoteException
ForumResult insertForumPost(String topicID, ForumPost fp, ForumPostContent fpc, String parentPostID) throws RemoteException
topicID
- Stringfp
- ForumPostfpc
- ForumPostContentparentPostID
- String
RemoteException
ForumResult replyForumPost(String topicID, DMSUser user, String postTitle, String postContent, boolean mailtome, boolean isEmbed, String parentPostID) throws RemoteException
topicID
- StringmemID
- StringpostTitle
- StringpostContent
- String
RemoteException
boolean updateForumPost(ForumPost fp) throws RemoteException
fp
- ForumPost
RemoteException
boolean deleteForumPost(String postID) throws RemoteException
postID
- String
RemoteException
boolean updateForumPostContent(ForumPostContent fpc) throws RemoteException
fpc
- ForumPostContent
RemoteException
ForumForum getForumForum(String forumID) throws RemoteException
forumID
- String
RemoteException
ForumTopic getForumTopic(String topicID, boolean isCountView) throws RemoteException
topicID
- StringisCountView
- boolean
RemoteException
ForumPost getForumPost(String postID, boolean isCountViews) throws RemoteException
postID
- StringisCountViews
- boolean is add views count
RemoteException
ForumPostContent getForumPostContent(String postID) throws RemoteException
postID
- String
RemoteException
Vector getForumCategoryIDList(DMSUser user) throws RemoteException
user
- DMSUser
RemoteException
Vector getForumForumList(String CategoryID) throws RemoteException
CategoryID
- Stringuser
- DMSUser
RemoteException
Vector getAllForumForumList() throws RemoteException
RemoteException
Vector getForumTopicIDList(String forumID, Vector topicType) throws RemoteException
forumID
- StringtopicType
- Vector topicType list
RemoteException
Vector getForumTopicIDList(String forumID, String topicType) throws RemoteException
forumID
- String
RemoteException
Vector getForumPostIDList(String topicID) throws RemoteException
topicID
- String
RemoteException
Vector getForumPostIDList(String topicID, String status) throws RemoteException
topicID
- Stringstatus
- String
RemoteException
Vector getForumCategoryList() throws RemoteException
RemoteException
Vector getForumPostList(String topicID) throws RemoteException
topicID
- String
RemoteException
ForumModifyRecord addForumModifyRecord(String postID, DMSUser user, String action) throws RemoteException
postID
- Stringuser
- DMSUseraction
- String
RemoteException
boolean initUploadPostFile(String userID, String postID, String fileName) throws RemoteException
RemoteException
boolean commitUploadPostFileBlock(String userID, String postID, String fileName, DMSTransBlock block) throws RemoteException
RemoteException
boolean initDownloadPostFile(String userID, String postID, String fileID) throws RemoteException
RemoteException
DMSTransBlock commitDownloadPostFile(String userID, String postID, String fileID) throws RemoteException
RemoteException
void removeUploadReources(String userID, String postID) throws RemoteException
RemoteException
void removeDownloadReources(String userID, String postID, String fileID) throws RemoteException
RemoteException
boolean insertForumFile(ForumFile ff) throws RemoteException
RemoteException
boolean updateForumFile(ForumFile ff) throws RemoteException
RemoteException
boolean deleteForumFile(String fileID) throws RemoteException
RemoteException
ForumFile getForumFile(String fileID) throws RemoteException
RemoteException
boolean initForumSystemAdmin(String userID) throws RemoteException
RemoteException
boolean initAdminCategory(String userID) throws RemoteException
RemoteException
boolean initAdminForum(String userID) throws RemoteException
RemoteException
boolean initIntoAdminSystem(String userID) throws RemoteException
userID
- String
RemoteException
boolean initEditForum(String userID, String forumID) throws RemoteException
userID
- StringforumID
- String
RemoteException
boolean initEditCategory(String userID, String categoryID) throws RemoteException
userID
- StringcategoryID
- String
RemoteException
boolean initEditForumSubAdmin(String userID, String forumID) throws RemoteException
userID
- StringforumID
- String
RemoteException
boolean initIntoPrivateForum(String userID, String forumID) throws RemoteException
userID
- StringforumID
- String
RemoteException
boolean initAdminUser(String userID) throws RemoteException
RemoteException
boolean initAdminTopic(String userID) throws RemoteException
RemoteException
boolean initPostForum(String userID, String forumID) throws RemoteException
userID
- StringforumID
- String
RemoteException
boolean initEditPost(String userID, String postID) throws RemoteException
userID
- StringpostID
- String
RemoteException
boolean initAttachFile(String userID, String forumID) throws RemoteException
userID
- StringforumID
- String
RemoteException
boolean initViewPost(String userID, String postID) throws RemoteException
userID
- StringpostID
- String
RemoteException
boolean initViewTopic(String userID, String topicID) throws RemoteException
userID
- StringtopicID
- String
RemoteException
boolean initViewForum(String userID, String forumID) throws RemoteException
userID
- StringforumID
- String
RemoteException
boolean initReplyTopic(String userID, String Topic) throws RemoteException
userID
- StringforumID
- String
RemoteException
HashMap getForumReplyReportByUser(String forumID, long starttime, long endtime) throws RemoteException
forumID
- Stringstarttime
- longendtime
- long
RemoteException
HashMap getForumNewTopicReportByUser(String forumID, long starttime, long endtime) throws RemoteException
forumID
- Stringstarttime
- longendtime
- long
RemoteException
Vector getForumAdminList(String forumID) throws RemoteException
forumID
- String
RemoteException
boolean updateForumAdminACL(String forumID, Vector mainAdminList, Vector subAdminList) throws RemoteException
forumID
- StringmainAdminList
- VectorsubAdminList
- Vector
RemoteException
boolean updateForumMember(String forumID, Vector mainAdminList) throws RemoteException
forumID
- StringmainAdminList
- Vector
RemoteException
boolean updateCategoryAdminACL(String forumID, Vector mainAdminList) throws RemoteException
forumID
- StringmainAdminList
- Vector
RemoteException
boolean isForumEnable() throws RemoteException
RemoteException
ForumConfig getForumConfig() throws RemoteException
RemoteException
HashMap getForumReportByUser(String forumID, long starttime, long endtime, Vector depList, String postType) throws RemoteException
forumID
- starttime
- endtime
- depList
- ,contains memberIDs or departmentIDspostType
- ,NEW or REPLY
RemoteException
Vector searchForumPostIDList(DMSUser searcher, String forumID, String userName, String queryKey, String SearchField, String dataRange, String orderType) throws RemoteException
searcher
- DMSUserforumID
- StringuserName
- String (loginID or userName)queryKey
- StringSearchField
- StringdataRange
- StringorderType
- String
RemoteException
Vector getForumPostContentByUser(String forumID, long starttime, long endtime, Vector userList, String postType) throws RemoteException
userList
- ,a Vector which contains memIDs or depIDs
RemoteException
Vector getTopNewForumPostIDList(int num) throws RemoteException
num
- int
RemoteException
Vector getTopReplyForumTopicIDList(int num, int reNum) throws RemoteException
num
- int
RemoteException
Vector getTopHotForumTopicIDList(int num, int hotNum) throws RemoteException
num
- int
RemoteException
HashMap getForumAdminMap(String forumID) throws RemoteException
forumID
- String
RemoteException
HashMap getCategoryAdminMap(String type, String categoryID) throws RemoteException
categoryID
- String
RemoteException
boolean initTrackTopic(String topicID, String userID) throws RemoteException
String
- topicID, String userID
Exception
RemoteException
boolean trackThisTopic(String topicID, String user) throws RemoteException
String
- topicID, String userID
Exception
RemoteException
boolean initSubTopicTrackList(String topicID) throws RemoteException
String
- topicID, String userID
Exception
RemoteException
boolean delThisTrack(String topicID, String user) throws RemoteException
String
- topicID, String userID
Exception
RemoteException
boolean delThisForumTrack(String topicID) throws RemoteException
String
- topicID
Exception
RemoteException
Vector getForumSubTopic(String forumID) throws RemoteException
String
- forumID
Exception
RemoteException
Vector getForumMemList(String forumID) throws RemoteException
String
- forumID
Exception
RemoteException
boolean updateForumConfig(String value, String keyValue, String userID) throws RemoteException
Exception
RemoteException
boolean updateForumAdminACL(String type, Vector mainAdminList) throws RemoteException
type
- MEMlist
Exception
RemoteException
boolean initEditForumAdmin(String userID, String forumID) throws RemoteException
userID
- StringforumID
- String
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |