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


java.lang.Object
   org.sakaiproject.content.tool.AttachmentAction

AttachmentAction
public class AttachmentAction (Code)

AttachmentAction is a helper Action that other tools can use to edit their attachments.



Field Summary
final public static  StringMODE_DONE
     Modes.
final public static  StringMODE_MAIN
    
final public static  StringSTATE_ATTACHMENTS
     State attribute for the Vector of References, one for each attachment.
final public static  StringSTATE_FROM_TEXT
     The part of the message after "Attachments for:", set by the client tool.
final public static  StringSTATE_HAS_ATTACHMENT_BEFORE
    
final public static  StringSTATE_MODE
     State attributes for Attachments mode - when it's MODE_DONE the tool can process the results.


Method Summary
public static  StringbuildBrowseContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public static  StringbuildHelperContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
     build the context.
public static  StringbuildMainContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public static  StringbuildPropertiesContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public static  StringbuildUploadContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public static  StringbuildUrlContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
    
public static  voiddoAdd(RunData data)
     Handle the eventSubmit_doAdd command to add attachments.
public static  voiddoBrowse(RunData data)
     Handle the eventSubmit_doBrowse command to go into browse for a resource on the site mode.
public static  voiddoBrowse_option(RunData data)
     Handle the eventSubmit_doBrowse_option command to process inputs from the browse form: go up, go down, or be done.
public static  voiddoCancel(RunData data)
     Handle the eventSubmit_doCancel command to abort the edits.
public static  voiddoCancel_add(RunData data)
     Handle the eventSubmit_doCancel_add command to abort an add.
public static  voiddoCancel_browse(RunData data)
     Handle the eventSubmit_doCancel_browse command to abort the browse.
public static  voiddoCancel_properties(RunData data)
     Handle the eventSubmit_doCancel_properties command to abort the properties edit.
public static  voiddoDispatch_attachment_upload(RunData data)
    
public static  voiddoProperties(RunData data)
     Handle the eventSubmit_doProperties command to edit the selected attachment's properties.
public static  voiddoRemove(RunData data)
     Handle the eventSubmit_doRemove command to remove the selected attachment(s).
public static  voiddoRemove_all(RunData data)
     Handle the eventSubmit_doRemove_all command to remove the selected attachment(s).
public static  voiddoSave(RunData data)
     Handle the eventSubmit_doSave command to save the edited attachments.
public static  voiddoUpdate_properties(RunData data)
     Handle the eventSubmit_doUpdate_properties command to keep the edited properties.
public static  voiddoUpload(RunData data)
     Handle the eventSubmit_doUpload command to go into upload resource mode.
public static  voiddoUrl(RunData data)
     Handle the eventSubmit_doUrl command to go into enter url mode.

Field Detail
MODE_DONE
final public static String MODE_DONE(Code)
Modes.



MODE_MAIN
final public static String MODE_MAIN(Code)



STATE_ATTACHMENTS
final public static String STATE_ATTACHMENTS(Code)
State attribute for the Vector of References, one for each attachment. Using tools can pre-populate, and can read the results from here.



STATE_FROM_TEXT
final public static String STATE_FROM_TEXT(Code)
The part of the message after "Attachments for:", set by the client tool.



STATE_HAS_ATTACHMENT_BEFORE
final public static String STATE_HAS_ATTACHMENT_BEFORE(Code)
State attribute for where there is at least one attachment before invoking attachment tool



STATE_MODE
final public static String STATE_MODE(Code)
State attributes for Attachments mode - when it's MODE_DONE the tool can process the results.





Method Detail
buildBrowseContext
public static String buildBrowseContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the browsing for resources display The name of the template to use.



buildHelperContext
public static String buildHelperContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context. The name of the template to use.



buildMainContext
public static String buildMainContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the main display The name of the template to use.



buildPropertiesContext
public static String buildPropertiesContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the properties editing for attachment display The name of the template to use.



buildUploadContext
public static String buildUploadContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the upload display The name of the template to use.



buildUrlContext
public static String buildUrlContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
build the context for the url display The name of the template to use.



doAdd
public static void doAdd(RunData data)(Code)
Handle the eventSubmit_doAdd command to add attachments.



doBrowse
public static void doBrowse(RunData data)(Code)
Handle the eventSubmit_doBrowse command to go into browse for a resource on the site mode.



doBrowse_option
public static void doBrowse_option(RunData data)(Code)
Handle the eventSubmit_doBrowse_option command to process inputs from the browse form: go up, go down, or be done.



doCancel
public static void doCancel(RunData data)(Code)
Handle the eventSubmit_doCancel command to abort the edits.



doCancel_add
public static void doCancel_add(RunData data)(Code)
Handle the eventSubmit_doCancel_add command to abort an add.



doCancel_browse
public static void doCancel_browse(RunData data)(Code)
Handle the eventSubmit_doCancel_browse command to abort the browse.



doCancel_properties
public static void doCancel_properties(RunData data)(Code)
Handle the eventSubmit_doCancel_properties command to abort the properties edit. Note: not yet used.



doDispatch_attachment_upload
public static void doDispatch_attachment_upload(RunData data)(Code)
Dispatch function for upload attachment page



doProperties
public static void doProperties(RunData data)(Code)
Handle the eventSubmit_doProperties command to edit the selected attachment's properties. Note: not yet used.



doRemove
public static void doRemove(RunData data)(Code)
Handle the eventSubmit_doRemove command to remove the selected attachment(s).



doRemove_all
public static void doRemove_all(RunData data)(Code)
Handle the eventSubmit_doRemove_all command to remove the selected attachment(s).



doSave
public static void doSave(RunData data)(Code)
Handle the eventSubmit_doSave command to save the edited attachments.



doUpdate_properties
public static void doUpdate_properties(RunData data)(Code)
Handle the eventSubmit_doUpdate_properties command to keep the edited properties. Note: not yet used.



doUpload
public static void doUpload(RunData data)(Code)
Handle the eventSubmit_doUpload command to go into upload resource mode.



doUrl
public static void doUrl(RunData data)(Code)
Handle the eventSubmit_doUrl command to go into enter url mode.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.