Java Doc for MessageForumsMessageManagerImpl.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » component » app » messageforums » 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.component.app.messageforums 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.component.app.messageforums.MessageForumsMessageManagerImpl

MessageForumsMessageManagerImpl
public class MessageForumsMessageManagerImpl extends HibernateDaoSupport implements MessageForumsMessageManager(Code)




Method Summary
public  AttachmentcreateAttachment()
    
public  MessagecreateDiscussionMessage()
    
public  MessagecreateMessage(String typeId)
    
public  MessagecreateOpenMessage()
    
public  PrivateMessagecreatePrivateMessage()
    
public  booleancurrentToolMatch(String toolId)
     Returns true if the tool with the id passed in exists in the current site.
public  voiddeleteMessage(Message message)
    
public  voiddeleteMsgWithChild(Long messageId)
    
public  voiddeleteUnreadStatus(Long topicId, Long messageId)
    
public  intfindAuhtoredMessageCountByTopicIdByUserId(Long topicId, String userId)
    
public  ListfindDiscussionForumMessageCountsForAllSites(List siteList)
    
public  ListfindDiscussionForumMessageRemoveCountsForAllSites(List siteList, List roleList)
    
public  ListfindDiscussionForumReadMessageCountsForAllSites()
    
public  ListfindDiscussionForumReadMessageRemoveCountsForAllSites(List roleList)
    
public  intfindMessageCountByTopicId(Long topicId)
    
public  ListfindMessagesByTopicId(Long topicId)
    
public  ListfindPvtMsgsBySearchText(String typeUuid, String searchText, Date searchFromDate, Date searchToDate, boolean searchByText, boolean searchByAuthor, boolean searchByBody, boolean searchByLabel, boolean searchByDate)
    
public  intfindReadMessageCountByTopicId(Long topicId)
    
public  intfindReadMessageCountByTopicIdByUserId(Long topicId, String userId)
    
public  intfindReadViewableMessageCountByTopicId(Long topicId)
    
public  intfindReadViewableMessageCountByTopicIdByUserId(Long topicId, String userId)
    
public  intfindUnreadMessageCountByTopicId(Long topicId)
    
public  intfindUnreadMessageCountByTopicIdByUserId(Long topicId, String userId)
    
public  UnreadStatusfindUnreadStatus(Long topicId, Long messageId)
    
public  UnreadStatusfindUnreadStatusByUserId(Long topicId, Long messageId, String userId)
    
public  intfindUnreadViewableMessageCountByTopicId(Long topicId)
    
public  intfindUnreadViewableMessageCountByTopicIdByUserId(Long topicId, String userId)
    
public  intfindViewableMessageCountByTopicId(Long topicId)
    
public  intfindViewableMessageCountByTopicIdByUserId(Long topicId, String userId)
    
public  ListgetAllRelatedMsgs(Long messageId)
    
public  AttachmentgetAttachmentById(Long attachmentId)
    
public  StringgetAttachmentUrl(String id)
    
public  voidgetChildMsgs(Long messageId, List returnList)
    
public  EventTrackingServicegetEventTrackingService()
    
public  ListgetFirstLevelChildMsgs(Long messageId)
    
public  IdManagergetIdManager()
    
public  MessagegetMessageById(Long messageId)
    
public  MessagegetMessageByIdWithAttachments(Long messageId)
    
public  ListgetPendingMsgsInSiteByMembership(List membershipList)
    
public  ListgetPendingMsgsInTopic(Long topicId)
    
public  MapgetReadStatusForMessagesWithId(List msgIds, String userId)
    
public  SessionManagergetSessionManager()
    
public  MessageForumsTypeManagergetTypeManager()
    
public  voidinit()
    
public  booleanisMessageReadForUser(Long topicId, Long messageId)
    
public  booleanisToolInSite(String siteId, String toolId)
     Return TRUE if tool with id passed in exists in site passed in FALSE otherwise.
public  voidmarkMessageApproval(Long messageId, boolean approved)
    
public  voidmarkMessageReadForUser(Long topicId, Long messageId, boolean read)
    
public  voidmarkMessageReadForUser(Long topicId, Long messageId, boolean read, String userId)
    
public  voidsaveMessage(Message message)
    
public  voidsetEventTrackingService(EventTrackingService eventTrackingService)
    
public  voidsetIdManager(IdManager idManager)
    
public  voidsetSessionManager(SessionManager sessionManager)
    
public  voidsetTypeManager(MessageForumsTypeManager typeManager)
    
public  ListsortMessageByAuthor(Topic topic, boolean asc)
    
public  ListsortMessageByDate(Topic topic, boolean asc)
    
public  ListsortMessageByDate(List list, boolean asc)
    
public  ListsortMessageBySubject(Topic topic, boolean asc)
    



Method Detail
createAttachment
public Attachment createAttachment()(Code)



createDiscussionMessage
public Message createDiscussionMessage()(Code)



createMessage
public Message createMessage(String typeId)(Code)



createOpenMessage
public Message createOpenMessage()(Code)



createPrivateMessage
public PrivateMessage createPrivateMessage()(Code)



currentToolMatch
public boolean currentToolMatch(String toolId)(Code)
Returns true if the tool with the id passed in exists in the current site.
Parameters:
  toolId - The tool id to search for.TRUE if tool exists, FALSE otherwise.



deleteMessage
public void deleteMessage(Message message)(Code)



deleteMsgWithChild
public void deleteMsgWithChild(Long messageId)(Code)



deleteUnreadStatus
public void deleteUnreadStatus(Long topicId, Long messageId)(Code)



findAuhtoredMessageCountByTopicIdByUserId
public int findAuhtoredMessageCountByTopicIdByUserId(Long topicId, String userId)(Code)
FOR STATISTICS TOOL: Returns the number of read messages by topic for specified user



findDiscussionForumMessageCountsForAllSites
public List findDiscussionForumMessageCountsForAllSites(List siteList)(Code)
FOR SYNOPTIC TOOL: Returns the count of discussion forum messages grouped by site
Parameters:
  siteList - List of site ids user is a part of List



findDiscussionForumMessageRemoveCountsForAllSites
public List findDiscussionForumMessageRemoveCountsForAllSites(List siteList, List roleList)(Code)
FOR SYNOPTIC TOOL: Returns the count of discussion forum messages grouped by site that user not have READ access to
Parameters:
  siteList - List of site ids user is a part of List



findDiscussionForumReadMessageCountsForAllSites
public List findDiscussionForumReadMessageCountsForAllSites()(Code)
FOR SYNOPTIC TOOL: Returns the count of read discussion forum messages grouped by site List



findDiscussionForumReadMessageRemoveCountsForAllSites
public List findDiscussionForumReadMessageRemoveCountsForAllSites(List roleList)(Code)
FOR SYNOPTIC TOOL: Returns the count of read discussion forum messages grouped by site that user does not have READ access to List



findMessageCountByTopicId
public int findMessageCountByTopicId(Long topicId)(Code)



findMessagesByTopicId
public List findMessagesByTopicId(Long topicId)(Code)



findPvtMsgsBySearchText
public List findPvtMsgsBySearchText(String typeUuid, String searchText, Date searchFromDate, Date searchToDate, boolean searchByText, boolean searchByAuthor, boolean searchByBody, boolean searchByLabel, boolean searchByDate)(Code)

Parameters:
  topicId -
Parameters:
  searchText -



findReadMessageCountByTopicId
public int findReadMessageCountByTopicId(Long topicId)(Code)



findReadMessageCountByTopicIdByUserId
public int findReadMessageCountByTopicIdByUserId(Long topicId, String userId)(Code)



findReadViewableMessageCountByTopicId
public int findReadViewableMessageCountByTopicId(Long topicId)(Code)
Returns count of all read msgs for current user that have been approved or were authored by user
Parameters:
  topicId -



findReadViewableMessageCountByTopicIdByUserId
public int findReadViewableMessageCountByTopicIdByUserId(Long topicId, String userId)(Code)
Returns count of all read msgs for given user that have been approved or were authored by user
Parameters:
  topicId -
Parameters:
  userId -



findUnreadMessageCountByTopicId
public int findUnreadMessageCountByTopicId(Long topicId)(Code)



findUnreadMessageCountByTopicIdByUserId
public int findUnreadMessageCountByTopicIdByUserId(Long topicId, String userId)(Code)



findUnreadStatus
public UnreadStatus findUnreadStatus(Long topicId, Long messageId)(Code)



findUnreadStatusByUserId
public UnreadStatus findUnreadStatusByUserId(Long topicId, Long messageId, String userId)(Code)



findUnreadViewableMessageCountByTopicId
public int findUnreadViewableMessageCountByTopicId(Long topicId)(Code)
Returns count of all unread msgs for current user that have been approved or were authored by current user



findUnreadViewableMessageCountByTopicIdByUserId
public int findUnreadViewableMessageCountByTopicIdByUserId(Long topicId, String userId)(Code)
Returns count of all unread msgs for given user that have been approved or were authored by user



findViewableMessageCountByTopicId
public int findViewableMessageCountByTopicId(Long topicId)(Code)
Returns count of all msgs in a topic that have been approved or were authored by curr user



findViewableMessageCountByTopicIdByUserId
public int findViewableMessageCountByTopicIdByUserId(Long topicId, String userId)(Code)
Returns count of all messages in a topic that have been approved or were authored by given user



getAllRelatedMsgs
public List getAllRelatedMsgs(Long messageId)(Code)



getAttachmentById
public Attachment getAttachmentById(Long attachmentId)(Code)



getAttachmentUrl
public String getAttachmentUrl(String id)(Code)



getChildMsgs
public void getChildMsgs(Long messageId, List returnList)(Code)



getEventTrackingService
public EventTrackingService getEventTrackingService()(Code)



getFirstLevelChildMsgs
public List getFirstLevelChildMsgs(Long messageId)(Code)



getIdManager
public IdManager getIdManager()(Code)



getMessageById
public Message getMessageById(Long messageId)(Code)



getMessageByIdWithAttachments
public Message getMessageByIdWithAttachments(Long messageId)(Code)

See Also:   org.sakaiproject.api.app.messageforums.MessageForumsMessageManager.getMessageByIdWithAttachments(java.lang.Long)



getPendingMsgsInSiteByMembership
public List getPendingMsgsInSiteByMembership(List membershipList)(Code)



getPendingMsgsInTopic
public List getPendingMsgsInTopic(Long topicId)(Code)



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



getSessionManager
public SessionManager getSessionManager()(Code)



getTypeManager
public MessageForumsTypeManager getTypeManager()(Code)



init
public void init()(Code)



isMessageReadForUser
public boolean isMessageReadForUser(Long topicId, Long messageId)(Code)



isToolInSite
public boolean isToolInSite(String siteId, String toolId)(Code)
Return TRUE if tool with id passed in exists in site passed in FALSE otherwise.
Parameters:
  thisSite - Site object to check
Parameters:
  toolId - Tool id to be checked



markMessageApproval
public void markMessageApproval(Long messageId, boolean approved)(Code)
Will set the approved status on the given message



markMessageReadForUser
public void markMessageReadForUser(Long topicId, Long messageId, boolean read)(Code)



markMessageReadForUser
public void markMessageReadForUser(Long topicId, Long messageId, boolean read, String userId)(Code)



saveMessage
public void saveMessage(Message message)(Code)



setEventTrackingService
public void setEventTrackingService(EventTrackingService eventTrackingService)(Code)



setIdManager
public void setIdManager(IdManager idManager)(Code)



setSessionManager
public void setSessionManager(SessionManager sessionManager)(Code)



setTypeManager
public void setTypeManager(MessageForumsTypeManager typeManager)(Code)



sortMessageByAuthor
public List sortMessageByAuthor(Topic topic, boolean asc)(Code)



sortMessageByDate
public List sortMessageByDate(Topic topic, boolean asc)(Code)



sortMessageByDate
public List sortMessageByDate(List list, boolean asc)(Code)



sortMessageBySubject
public List sortMessageBySubject(Topic topic, boolean asc)(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.