Java Doc for DiscussionForumManager.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » api » app » messageforums » ui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.api.app.messageforums.ui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.api.app.messageforums.ui.DiscussionForumManager

All known Subclasses:   org.sakaiproject.component.app.messageforums.ui.DiscussionForumManagerImpl,
DiscussionForumManager
public interface DiscussionForumManager (Code)

author:
   Rashmi Shastri




Method Summary
public  voidapproveAllPendingMessages(Long topicId)
    
public  AttachmentcreateDFAttachment(String attachId, String name)
    
public  DiscussionForumcreateForum()
    
public  DiscussionTopiccreateTopic(DiscussionForum forum)
    
public  ListdecodeAccessorsList(ArrayList accessorList)
    
public  ListdecodeContributorsList(ArrayList contributorList)
    
public  voiddeleteForum(DiscussionForum forum)
    
 voiddeleteMessage(Message message)
    
public  voiddeleteTopic(DiscussionTopic topic)
    
public  ListgetAccessorsList(DiscussionForum forum)
    
public  ListgetAccessorsList(DiscussionTopic topic, DiscussionForum forum)
    
public  MapgetAllCourseMembers()
    
public  ListgetAreaControlPermissions()
    
public  DBMembershipItemgetAreaDBMember(Set originalSet, String name, Integer type)
    
public  ListgetAreaMessagePermissions()
    
public  ListgetContributorsList(DiscussionForum forum)
    
public  ListgetContributorsList(DiscussionTopic topic, DiscussionForum forum)
    
public  DBMembershipItemgetDBMember(Set originalSet, String name, Integer type)
    
public  ListgetDefaultControlPermissions()
    
public  ListgetDefaultMessagePermissions()
    
 AreagetDiscussionForumArea()
    
public  ListgetDiscussionForums()
    
public  ListgetDiscussionForumsByContextId(String contextId)
    
public  ListgetDiscussionForumsWithTopics()
    
public  ListgetDiscussionForumsWithTopicsMembershipNoAttachments(String contextId)
    
public  DiscussionForumgetForumById(Long forumId)
    
public  DiscussionForumgetForumByIdWithTopics(Long forumId)
    
public  DiscussionForumgetForumByUuid(String forumId)
    
public  ListgetForumControlPermissions(DiscussionForum forum)
    
public  ListgetForumMessagePermissions(DiscussionForum forum)
    
 MessagegetMessageById(Long id)
    
public  ListgetMessagesByTopicId(Long topicId)
    
public  ListgetModeratedTopicsInSite()
    
public  DiscussionTopicgetNextTopic(DiscussionTopic topic)
    
public  intgetNumModTopicsWithModPermission(List membershipList)
    
 intgetNumUnreadViewableMessagesWhenMod(Topic topic)
    
 ListgetPendingMsgsInSiteByMembership(List membershipList)
    
public  ListgetPendingMsgsInTopic(Long topicId)
    
public  DiscussionTopicgetPreviousTopic(DiscussionTopic topic)
    
public  MapgetReadStatusForMessagesWithId(List msgIds, String userId)
    
public  DiscussionTopicgetTopicById(Long topicId)
    
public  TopicgetTopicByIdWithAttachments(Long topicId)
    
public  TopicgetTopicByIdWithMessages(Long topicId)
    
public  TopicgetTopicByIdWithMessagesAndAttachments(Long topicId)
    
public  DiscussionTopicgetTopicByUuid(String uuid)
    
public  ListgetTopicControlPermissions(DiscussionTopic topic)
    
public  ListgetTopicMessagePermissions(DiscussionTopic topic)
    
public  ListgetTopicsByIdWithMessages(Long forumId)
    
public  ListgetTopicsByIdWithMessagesAndAttachments(Long forumId)
    
public  ListgetTopicsByIdWithMessagesMembershipAndAttachments(Long forumId)
    
 intgetTotalNoMessages(Topic topic)
    
 intgetTotalViewableMessagesWhenMod(Topic topic)
    
 intgetUnreadNoMessages(Topic topic)
    
public  booleanhasNextTopic(DiscussionTopic topic)
    
public  booleanhasPreviousTopic(DiscussionTopic topic)
    
public  booleanisInstructor()
    
public  voidmarkMessageAs(Message message, boolean readStatus)
    
public  voidmarkMessageReadStatusForUser(Message message, boolean readStatus, String userId)
    
public  voidsaveAreaControlPermissions(List controlpermissions)
    
public  voidsaveAreaMessagePermissions(List messagePermissions)
    
public  voidsaveForum(DiscussionForum forum)
    
public  voidsaveForumAsDraft(DiscussionForum forum)
    
public  voidsaveForumControlPermissions(DiscussionForum forum, List controlPermissions)
    
public  voidsaveForumMessagePermissions(DiscussionForum forum, List messagePermissions)
    
 voidsaveMessage(Message message)
    
public  voidsaveTopic(DiscussionTopic topic)
    
public  voidsaveTopicAsDraft(DiscussionTopic topic)
    
public  voidsaveTopicControlPermissions(DiscussionTopic topic, List controlPermissions)
    
public  voidsaveTopicMessagePermissions(DiscussionTopic topic, List messagePermissions)
    
public  ListsearchTopicMessages(Long topicId, String searchText)
    
public  voidsetCourseMemberMapToNull()
    



Method Detail
approveAllPendingMessages
public void approveAllPendingMessages(Long topicId)(Code)
Mark all pending messages in a give topic as "Approved" Used when a moderated topic is changed to not moderated
Parameters:
  topicId -



createDFAttachment
public Attachment createDFAttachment(String attachId, String name)(Code)

Parameters:
  attachId -
Parameters:
  name -



createForum
public DiscussionForum createForum()(Code)



createTopic
public DiscussionTopic createTopic(DiscussionForum forum)(Code)

Parameters:
  forum - TODO



decodeAccessorsList
public List decodeAccessorsList(ArrayList accessorList)(Code)

Parameters:
  accessorList -



decodeContributorsList
public List decodeContributorsList(ArrayList contributorList)(Code)

Parameters:
  accessorList -



deleteForum
public void deleteForum(DiscussionForum forum)(Code)

Parameters:
  forum -



deleteMessage
void deleteMessage(Message message)(Code)

Parameters:
  message -



deleteTopic
public void deleteTopic(DiscussionTopic topic)(Code)

Parameters:
  topic -



getAccessorsList
public List getAccessorsList(DiscussionForum forum)(Code)

Parameters:
  forum -



getAccessorsList
public List getAccessorsList(DiscussionTopic topic, DiscussionForum forum)(Code)

Parameters:
  topic -
Parameters:
  forum -



getAllCourseMembers
public Map getAllCourseMembers()(Code)



getAreaControlPermissions
public List getAreaControlPermissions()(Code)



getAreaDBMember
public DBMembershipItem getAreaDBMember(Set originalSet, String name, Integer type)(Code)



getAreaMessagePermissions
public List getAreaMessagePermissions()(Code)



getContributorsList
public List getContributorsList(DiscussionForum forum)(Code)

Parameters:
  forum -



getContributorsList
public List getContributorsList(DiscussionTopic topic, DiscussionForum forum)(Code)

Parameters:
  topic -
Parameters:
  forum -



getDBMember
public DBMembershipItem getDBMember(Set originalSet, String name, Integer type)(Code)



getDefaultControlPermissions
public List getDefaultControlPermissions()(Code)



getDefaultMessagePermissions
public List getDefaultMessagePermissions()(Code)



getDiscussionForumArea
Area getDiscussionForumArea()(Code)
Retrieve discussion forum area



getDiscussionForums
public List getDiscussionForums()(Code)



getDiscussionForumsByContextId
public List getDiscussionForumsByContextId(String contextId)(Code)



getDiscussionForumsWithTopics
public List getDiscussionForumsWithTopics()(Code)



getDiscussionForumsWithTopicsMembershipNoAttachments
public List getDiscussionForumsWithTopicsMembershipNoAttachments(String contextId)(Code)



getForumById
public DiscussionForum getForumById(Long forumId)(Code)

Parameters:
  topicId -



getForumByIdWithTopics
public DiscussionForum getForumByIdWithTopics(Long forumId)(Code)



getForumByUuid
public DiscussionForum getForumByUuid(String forumId)(Code)

Parameters:
  forumId -



getForumControlPermissions
public List getForumControlPermissions(DiscussionForum forum)(Code)

Parameters:
  forum -



getForumMessagePermissions
public List getForumMessagePermissions(DiscussionForum forum)(Code)

Parameters:
  forum -



getMessageById
Message getMessageById(Long id)(Code)

Parameters:
  id -



getMessagesByTopicId
public List getMessagesByTopicId(Long topicId)(Code)

Parameters:
  topicId -



getModeratedTopicsInSite
public List getModeratedTopicsInSite()(Code)
Returns all moderated topics in site
Parameters:
  areaId -



getNextTopic
public DiscussionTopic getNextTopic(DiscussionTopic topic)(Code)

Parameters:
  topic -



getNumModTopicsWithModPermission
public int getNumModTopicsWithModPermission(List membershipList)(Code)
Returns num moderated topics in the current site that the current user has moderate permission for, given the user's memberships
Parameters:
  membershipList -
Parameters:
  contextId -



getNumUnreadViewableMessagesWhenMod
int getNumUnreadViewableMessagesWhenMod(Topic topic)(Code)
When topic is moderated and the user does not have the moderate perm, only count approved messages and messages authored by user
Parameters:
  topic -



getPendingMsgsInSiteByMembership
List getPendingMsgsInSiteByMembership(List membershipList)(Code)
Returns pending msgs in site according to user's memberships



getPendingMsgsInTopic
public List getPendingMsgsInTopic(Long topicId)(Code)
Returns all pending msgs in the given topic
Parameters:
  topicId -



getPreviousTopic
public DiscussionTopic getPreviousTopic(DiscussionTopic topic)(Code)

Parameters:
  topic -



getReadStatusForMessagesWithId
public Map getReadStatusForMessagesWithId(List msgIds, String userId)(Code)



getTopicById
public DiscussionTopic getTopicById(Long topicId)(Code)

Parameters:
  topicId -



getTopicByIdWithAttachments
public Topic getTopicByIdWithAttachments(Long topicId)(Code)



getTopicByIdWithMessages
public Topic getTopicByIdWithMessages(Long topicId)(Code)



getTopicByIdWithMessagesAndAttachments
public Topic getTopicByIdWithMessagesAndAttachments(Long topicId)(Code)



getTopicByUuid
public DiscussionTopic getTopicByUuid(String uuid)(Code)



getTopicControlPermissions
public List getTopicControlPermissions(DiscussionTopic topic)(Code)

Parameters:
  topic -



getTopicMessagePermissions
public List getTopicMessagePermissions(DiscussionTopic topic)(Code)

Parameters:
  topic -



getTopicsByIdWithMessages
public List getTopicsByIdWithMessages(Long forumId)(Code)



getTopicsByIdWithMessagesAndAttachments
public List getTopicsByIdWithMessagesAndAttachments(Long forumId)(Code)



getTopicsByIdWithMessagesMembershipAndAttachments
public List getTopicsByIdWithMessagesMembershipAndAttachments(Long forumId)(Code)



getTotalNoMessages
int getTotalNoMessages(Topic topic)(Code)

Parameters:
  topic -



getTotalViewableMessagesWhenMod
int getTotalViewableMessagesWhenMod(Topic topic)(Code)
When topic is moderated and the user does not have the moderate perm, only count approved messages and messages authored by user
Parameters:
  topic -



getUnreadNoMessages
int getUnreadNoMessages(Topic topic)(Code)

Parameters:
  topic -



hasNextTopic
public boolean hasNextTopic(DiscussionTopic topic)(Code)



hasPreviousTopic
public boolean hasPreviousTopic(DiscussionTopic topic)(Code)



isInstructor
public boolean isInstructor()(Code)



markMessageAs
public void markMessageAs(Message message, boolean readStatus)(Code)

Parameters:
  message -
Parameters:
  readStatus - TODO



markMessageReadStatusForUser
public void markMessageReadStatusForUser(Message message, boolean readStatus, String userId)(Code)
Mark the read status for a given message for a given user
Parameters:
  message -
Parameters:
  readStatus -
Parameters:
  userId -



saveAreaControlPermissions
public void saveAreaControlPermissions(List controlpermissions)(Code)

Parameters:
  controlPermission -



saveAreaMessagePermissions
public void saveAreaMessagePermissions(List messagePermissions)(Code)

Parameters:
  messagePermissions -



saveForum
public void saveForum(DiscussionForum forum)(Code)

Parameters:
  forum -



saveForumAsDraft
public void saveForumAsDraft(DiscussionForum forum)(Code)

Parameters:
  forum -
Parameters:
  object -



saveForumControlPermissions
public void saveForumControlPermissions(DiscussionForum forum, List controlPermissions)(Code)

Parameters:
  forum -
Parameters:
  controlPermissions -



saveForumMessagePermissions
public void saveForumMessagePermissions(DiscussionForum forum, List messagePermissions)(Code)

Parameters:
  forum -
Parameters:
  messagePermissions -



saveMessage
void saveMessage(Message message)(Code)

Parameters:
  message -



saveTopic
public void saveTopic(DiscussionTopic topic)(Code)

Parameters:
  topic -



saveTopicAsDraft
public void saveTopicAsDraft(DiscussionTopic topic)(Code)

Parameters:
  topic -



saveTopicControlPermissions
public void saveTopicControlPermissions(DiscussionTopic topic, List controlPermissions)(Code)

Parameters:
  topic -
Parameters:
  controlPermissions -



saveTopicMessagePermissions
public void saveTopicMessagePermissions(DiscussionTopic topic, List messagePermissions)(Code)

Parameters:
  topic -
Parameters:
  messagePermissions -



searchTopicMessages
public List searchTopicMessages(Long topicId, String searchText)(Code)



setCourseMemberMapToNull
public void setCourseMemberMapToNull()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.