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


org.sakaiproject.cheftool.VelocityPortletPaneledAction
   org.sakaiproject.discussion.tool.DiscussionAction

DiscussionAction
public class DiscussionAction extends VelocityPortletPaneledAction (Code)

DiscussionAction is the action class for the dicussion tool.


Inner Class :public class DisplayMessage

Field Summary
final protected static  StringFORM_SEARCH
     Form fields.


Method Summary
public  StringbuildContentContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildControlPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildDeleteCategoryConfirmContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildDeleteMessageConfirmContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildListPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildMainPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildNewCategoryContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildNewTopicContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildOptionsPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
     Setup for options.
public  StringbuildReplyContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildReplyPreviewContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public  StringbuildToolbarPanelContext(VelocityPortlet portlet, Context context, RunData data, SessionState state)
    
public  voiddoAttachments(RunData data, Context context)
    
protected  voiddoAttachmentsNow(RunData data, Context context)
    
public  voiddoCancel_delete_category(RunData data, Context context)
    
public  voiddoCancel_delete_message(RunData data, Context context)
    
public  voiddoCancel_draft(RunData data)
    
public  voiddoCancel_new_category(RunData data)
    
public  voiddoCancel_new_topic(RunData data)
    
public  voiddoCancel_reply(RunData data, Context context)
    
public  voiddoCancel_reply_preview(RunData data, Context context)
    
public  voiddoCancel_show_topic_content(RunData data)
     Handle the eventSubmit_doCancel_show_topic_content command to abort the show topic content page.
public  voiddoCollapse_all(RunData data, Context context)
    
public  voiddoCollapse_category(RunData data, Context context)
    
public  voiddoCollapse_message(RunData data, Context context)
    
public  voiddoDelete_category(RunData data, Context context)
    
public  voiddoDelete_category_confirm(RunData data, Context context)
    
public  voiddoDelete_message(RunData data, Context context)
    
public  voiddoDelete_message_confirm(RunData data, Context context)
    
public  voiddoExpand_all(RunData data, Context context)
    
public  voiddoExpand_category(RunData data, Context context)
    
public  voiddoExpand_message(RunData data, Context context)
    
public  voiddoNew_category(RunData data, Context context)
    
public  voiddoNew_topic(RunData data, Context context)
    
public  voiddoNext_message(RunData data, Context context)
    
public  voiddoNext_topic_content(RunData data, Context context)
    
public  voiddoPermissions(RunData data, Context context)
    
protected  voiddoPermissionsNow(RunData data, Context context)
    
public  voiddoPost(RunData data, Context context)
    
public  voiddoPre_message(RunData data, Context context)
    
public  voiddoPrev_topic_content(RunData data, Context context)
    
public  voiddoPreview(RunData data, Context context)
    
public  voiddoRespond(RunData runData, Context context)
    
public  voiddoRespond_draft(RunData runData, Context context)
    
public  voiddoSave(RunData data, Context context)
    
public  voiddoSearch(RunData runData, Context context)
     Handle a \ request.
public  voiddoSearch_clear(RunData runData, Context context)
     Handle a Search Clear request.
public  voiddoSet_new_category(RunData data, Context context)
    
public  voiddoSet_new_topic(RunData data, Context context)
    
public  voiddoSet_reply(RunData data, Context context)
    
public  voiddoSet_reply_msg(RunData data, Context context)
    
public  voiddoSet_reply_topic(RunData data, Context context)
    
public  voiddoShow(RunData data, Context context)
    
public  voiddoShow_topic_content(RunData data, Context context)
    
public  voiddoUpdate(RunData data, Context context)
    
public  voiddoView(RunData data, Context context)
    
public  voidenableObserver(SessionState state)
     Enable the observer, unless we are in search mode, where we want it disabled.
protected  voidinitState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)
     Populate the state object, if needed.
protected  IteratorparentMessageIterator(DiscussionMessage message, DiscussionChannel channel)
     return an iterator consisting of all parent DiscussionMessage objects of the current DiscussionMessage item.

Field Detail
FORM_SEARCH
final protected static String FORM_SEARCH(Code)
Form fields.





Method Detail
buildContentContext
public String buildContentContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for showing topic content (has a send field) (optional) template name for this panel



buildControlPanelContext
public String buildControlPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the Control panel (has a send field) (optional) template name for this panel



buildDeleteCategoryConfirmContext
public String buildDeleteCategoryConfirmContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for confirming the delete of category (has a send field) (optional) template name for this panel



buildDeleteMessageConfirmContext
public String buildDeleteMessageConfirmContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for confirming the delete of message (has a send field) (optional) template name for this panel



buildListPanelContext
public String buildListPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the List panel (optional) template name for this panel



buildMainPanelContext
public String buildMainPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the Layout panel (optional) template name for this panel



buildNewCategoryContext
public String buildNewCategoryContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for creating new category (has a send field) (optional) template name for this panel



buildNewTopicContext
public String buildNewTopicContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for creating new topic (has a send field) (optional) template name for this panel



buildOptionsPanelContext
public String buildOptionsPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
Setup for options. %%% Note: not sure this and doUpdate are correct, not currently invoked (no menu entry) -ggolden



buildReplyContext
public String buildReplyContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the reply form (has a send field) (optional) template name for this panel



buildReplyPreviewContext
public String buildReplyPreviewContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the reply preview (has a send field) (optional) template name for this panel



buildToolbarPanelContext
public String buildToolbarPanelContext(VelocityPortlet portlet, Context context, RunData data, SessionState state)(Code)
build the context for the menu panel (optional) template name for this panel



doAttachments
public void doAttachments(RunData data, Context context)(Code)
Action is to use when doAttachment when "add attachments" is clicked



doAttachmentsNow
protected void doAttachmentsNow(RunData data, Context context)(Code)
Fire up the permissions editor



doCancel_delete_category
public void doCancel_delete_category(RunData data, Context context)(Code)
cancel the deletion of category



doCancel_delete_message
public void doCancel_delete_message(RunData data, Context context)(Code)
cancel the deletion of message



doCancel_draft
public void doCancel_draft(RunData data)(Code)
Handle the eventSubmit_doCancel_draft to stop showing the draft message



doCancel_new_category
public void doCancel_new_category(RunData data)(Code)
Handle the eventSubmit_doCancel_new_category to stop showing the new category page



doCancel_new_topic
public void doCancel_new_topic(RunData data)(Code)
Handle the eventSubmit_doCancel_new_topic to stop showing the new topic page



doCancel_reply
public void doCancel_reply(RunData data, Context context)(Code)
Cancel from the reply page



doCancel_reply_preview
public void doCancel_reply_preview(RunData data, Context context)(Code)
Cancel from the reply preview page



doCancel_show_topic_content
public void doCancel_show_topic_content(RunData data)(Code)
Handle the eventSubmit_doCancel_show_topic_content command to abort the show topic content page.



doCollapse_all
public void doCollapse_all(RunData data, Context context)(Code)
Hide the whole message hireachy



doCollapse_category
public void doCollapse_category(RunData data, Context context)(Code)
doCollapsecategory hides all the topics inside the category



doCollapse_message
public void doCollapse_message(RunData data, Context context)(Code)
doCollapsemessage hides all the messages inside the category



doDelete_category
public void doDelete_category(RunData data, Context context)(Code)
delete the category



doDelete_category_confirm
public void doDelete_category_confirm(RunData data, Context context)(Code)
confirm the deletion of category



doDelete_message
public void doDelete_message(RunData data, Context context)(Code)



doDelete_message_confirm
public void doDelete_message_confirm(RunData data, Context context)(Code)
confirm the deletion of message



doExpand_all
public void doExpand_all(RunData data, Context context)(Code)
Show the whole message hireachy



doExpand_category
public void doExpand_category(RunData data, Context context)(Code)
doExpandcategory shows all the topics inside the category



doExpand_message
public void doExpand_message(RunData data, Context context)(Code)
doExpandmessage expand the message with the content and replies



doNew_category
public void doNew_category(RunData data, Context context)(Code)
Start a new category



doNew_topic
public void doNew_topic(RunData data, Context context)(Code)
Start a new topic



doNext_message
public void doNext_message(RunData data, Context context)(Code)
Navigate to next message in the category



doNext_topic_content
public void doNext_topic_content(RunData data, Context context)(Code)
Responding to the request of going to next topic within the current category



doPermissions
public void doPermissions(RunData data, Context context)(Code)
Fire up the permissions editor, next request cycle



doPermissionsNow
protected void doPermissionsNow(RunData data, Context context)(Code)
Fire up the permissions editor



doPost
public void doPost(RunData data, Context context)(Code)
Post the draft message



doPre_message
public void doPre_message(RunData data, Context context)(Code)
navigate to previous message in the category



doPrev_topic_content
public void doPrev_topic_content(RunData data, Context context)(Code)
Responding to the request of going to previous topic within the current category



doPreview
public void doPreview(RunData data, Context context)(Code)
Preview the response



doRespond
public void doRespond(RunData runData, Context context)(Code)
Handle a user posting a respond message



doRespond_draft
public void doRespond_draft(RunData runData, Context context)(Code)
Handle a user posting a drafted respond message



doSave
public void doSave(RunData data, Context context)(Code)
Save the draft message



doSearch
public void doSearch(RunData runData, Context context)(Code)
Handle a \ request.



doSearch_clear
public void doSearch_clear(RunData runData, Context context)(Code)
Handle a Search Clear request.



doSet_new_category
public void doSet_new_category(RunData data, Context context)(Code)
get the control pannel ready for input new category



doSet_new_topic
public void doSet_new_topic(RunData data, Context context)(Code)
get the control pannel ready for input new topic



doSet_reply
public void doSet_reply(RunData data, Context context)(Code)
set the form for replying



doSet_reply_msg
public void doSet_reply_msg(RunData data, Context context)(Code)
set the form for replying message only



doSet_reply_topic
public void doSet_reply_topic(RunData data, Context context)(Code)
set the form for replying



doShow
public void doShow(RunData data, Context context)(Code)
Show the discussion message



doShow_topic_content
public void doShow_topic_content(RunData data, Context context)(Code)
To show the topic content when "add attachments" is clicked



doUpdate
public void doUpdate(RunData data, Context context)(Code)
doUpdate called for form input tags type="submit" named="eventSubmit_doUpdate"



doView
public void doView(RunData data, Context context)(Code)



enableObserver
public void enableObserver(SessionState state)(Code)
Enable the observer, unless we are in search mode, where we want it disabled.



initState
protected void initState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)(Code)
Populate the state object, if needed.
Parameters:
  config - The portlet config.
Parameters:
  pageSessionId - The is of the current portal page session.
Parameters:
  elementId - The id of the portlet element that wants to be notified on change.



parentMessageIterator
protected Iterator parentMessageIterator(DiscussionMessage message, DiscussionChannel channel)(Code)
return an iterator consisting of all parent DiscussionMessage objects of the current DiscussionMessage item. Sorted by depth ascendingly



Fields inherited from org.sakaiproject.cheftool.VelocityPortletPaneledAction
final protected static String ATTR_CONFIG(Code)(Java Doc)
final protected static String ATTR_CONTEXT(Code)(Java Doc)
final public static String ATTR_FRAME_FOCUS(Code)(Java Doc)
final public static String ATTR_FRAME_REFRESH(Code)(Java Doc)
final protected static String ATTR_PORTLET(Code)(Java Doc)
final protected static String ATTR_RUNDATA(Code)(Java Doc)
final public static String ATTR_TOP_REFRESH(Code)(Java Doc)
final protected static String BUTTON(Code)(Java Doc)
final protected static String CONTEXT_SITE_COLLECTION_ID(Code)(Java Doc)
final protected static String CONTEXT_SITE_COLLECTION_URL(Code)(Java Doc)
final protected static String LAYOUT_MAIN(Code)(Java Doc)
protected MyLogger Log(Code)(Java Doc)
final public static String MODE_OPTIONS(Code)(Java Doc)
final protected static String STATE_ACTION(Code)(Java Doc)
final public static String STATE_FLOAT(Code)(Java Doc)
final public static String STATE_HELPER(Code)(Java Doc)
final public static String STATE_MESSAGE(Code)(Java Doc)
final protected static String STATE_MODE(Code)(Java Doc)
final protected static String STATE_OBSERVER(Code)(Java Doc)
final public static String STATE_OBSERVER2(Code)(Java Doc)
final public static String STATE_PRESENCE_OBSERVER(Code)(Java Doc)
final public static String STATE_TOOL(Code)(Java Doc)

Methods inherited from org.sakaiproject.cheftool.VelocityPortletPaneledAction
protected void actionDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
public static void addAlert(SessionState state, String message)(Code)(Java Doc)
protected void addOptionsMenu(Menu bar, JetspeedRunData data)(Code)(Java Doc)
protected boolean allowedToOptions()(Code)(Java Doc)
protected void cancelOptions()(Code)(Java Doc)
protected String clientWindowId(SessionState state, String toolId)(Code)(Java Doc)
public static void disableObservers(SessionState state)(Code)(Java Doc)
protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException(Code)(Java Doc)
public void doOptions(RunData runData, Context context)(Code)(Java Doc)
public void doReset(RunData runData, Context context)(Code)(Java Doc)
public static void enableObservers(SessionState state)(Code)(Java Doc)
protected Map getContext(RunData data)(Code)(Java Doc)
protected void helperActionDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res, String className)(Code)(Java Doc)
protected void initState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)(Code)(Java Doc)
protected void initState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
public static void justDelivered(SessionState state)(Code)(Java Doc)
public static String mainPanelUpdateId(String toolId)(Code)(Java Doc)
protected String panelMethodName(String panel)(Code)(Java Doc)
public void processAction(HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
protected void resetTool(SessionState state)(Code)(Java Doc)
protected void saveOptions()(Code)(Java Doc)
protected void scheduleFocusRefresh(String[] path)(Code)(Java Doc)
protected void schedulePeerFrameRefresh(String id)(Code)(Java Doc)
protected void scheduleTopRefresh()(Code)(Java Doc)
protected void setVmCourier(HttpServletRequest request, int refresh)(Code)(Java Doc)
protected void setVmStdRef(HttpServletRequest request, HttpServletResponse response)(Code)(Java Doc)
public static String titlePanelUpdateId(String toolId)(Code)(Java Doc)
protected void toolModeDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res) throws ToolException(Code)(Java Doc)
protected void updateState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)

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