Java Doc for ActionEvent.java in  » Portal » jportlet » net » sf » jportlet » portlet » event » 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 » Portal » jportlet » net.sf.jportlet.portlet.event 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sf.jportlet.portlet.event.ActionEvent

All known Subclasses:   net.sf.jportlet.impl.ActionEventImpl,
ActionEvent
public interface ActionEvent extends Event(Code)
An ActionEvent is sent by the portlet container when an HTTP request is received that is associated with an action
author:
   Herve Tchepannou


Field Summary
public static  StringACTION_CONFIGURE
    
public static  StringACTION_EDIT
    
public static  StringACTION_HELP
    
public static  StringACTION_VIEW
    
public static  StringRETURN_ERROR
    
public static  StringRETURN_INPUT
    
public static  StringRETURN_SUCCESS
    


Method Summary
public  voidaddError(Object error)
     Add an error.
public  StringgetAction()
     Returns the action that this action event carries.
public  PortletURIgetNextURI()
     Return the URI where to move after the action is executed.
public  StringgetReturnCode()
     Returns the returnCode.
public  booleanhasErrors()
    
public  voidsetNextURI(PortletURI nextURI)
    
public  voidsetReturnCode(String returnCode)
     Set the returnCode.

Field Detail
ACTION_CONFIGURE
public static String ACTION_CONFIGURE(Code)
Name of the action if the portlet in net.sf.jportlet.portlet.Portlet.Mode.CONFIGURE mode



ACTION_EDIT
public static String ACTION_EDIT(Code)
Name of the action if the portlet in net.sf.jportlet.portlet.Portlet.Mode.EDIT mode



ACTION_HELP
public static String ACTION_HELP(Code)
Name of the action if the portlet in net.sf.jportlet.portlet.Portlet.Mode.HELP mode



ACTION_VIEW
public static String ACTION_VIEW(Code)
Name of the action if the portlet in net.sf.jportlet.portlet.Portlet.Mode.VIEW mode



RETURN_ERROR
public static String RETURN_ERROR(Code)
Code to return if an error has occured while perfoming the action



RETURN_INPUT
public static String RETURN_INPUT(Code)
Code to return if mode input data are required



RETURN_SUCCESS
public static String RETURN_SUCCESS(Code)
Code to return if performing the action was successfull





Method Detail
addError
public void addError(Object error)(Code)
Add an error. Collection



getAction
public String getAction()(Code)
Returns the action that this action event carries. The action value is either ActionEvent.ACTION_VIEW or ActionEvent.ACTION_EDIT or ActionEvent.ACTION_CONFIGURE or ActionEvent.ACTION_HELP PortletAction



getNextURI
public PortletURI getNextURI()(Code)
Return the URI where to move after the action is executed. If not set, the container will used ActionEvent.getReturnCode() to determine the URI where to move. This is useful for managing navigation inside the portlet. PortletURI



getReturnCode
public String getReturnCode()(Code)
Returns the returnCode. The returnCode is used by the container for managing the navigation using the <webflow> tag from the portlet deployment descriptor, if the nextURI was not set with ActionEvent.setNextURI(net.sf.jportlet.portlet.PortletURI) . String



hasErrors
public boolean hasErrors()(Code)
Return true if the action has errors boolean



setNextURI
public void setNextURI(PortletURI nextURI)(Code)
Set the URI where to move after the action is executed
Parameters:
  uri - next URI



setReturnCode
public void setReturnCode(String returnCode)(Code)
Set the returnCode.
Parameters:
  returnCode -
See Also:   ActionEvent.RETURN_SUCCESS
See Also:   ActionEvent.RETURN_ERROR
See Also:   ActionEvent.RETURN_INPUT



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