Java Doc for ApplyArchiveConfigAction.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » webapp » jonasadmin » xml » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.webapp.jonasadmin.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
   org.objectweb.jonas.webapp.jonasadmin.xml.ApplyArchiveConfigAction

ApplyArchiveConfigAction
public class ApplyArchiveConfigAction extends JonasBaseAction (Code)
Action to process the input when either the advanced or the form view of the archive configuration feature is submitted. If the user selected the 'Apply' button the action validates and saves the updated deployment descriptor. If the user selected the 'Switch to Form/Advanced" the input is validated updated in the form and the user is forwarded to the other view.
author:
   Patrick Smith
author:
   Gregory Lapouchnian




Method Summary
public  ActionForwardexecuteAction(ActionMapping p_Mapping, ActionForm p_Form, HttpServletRequest p_Request, HttpServletResponse p_Response)
     Executes the struts action.
protected  StringgetCurrentPageForward(ArchiveConfigForm form)
     Get the ActionForward name for the current page.
protected  StringgetSwitchForward(ArchiveConfigForm form)
     Get the ActionForward name to switch views from the current page.
protected  ActionForwardreportError(String sForward, ArchiveConfigForm oForm, String errorMessage, ActionMapping p_Mapping, HttpServletRequest p_Request)
     Report an error and forward to the given JSP page.
protected  StringserializeDocument(Document doc)
     Serialize a DOM tree into plaint text.
protected  voidvalidateDocument(Document doc, String serverName)
     Validate the document using appropriate schemas.



Method Detail
executeAction
public ActionForward executeAction(ActionMapping p_Mapping, ActionForm p_Form, HttpServletRequest p_Request, HttpServletResponse p_Response) throws IOException, ServletException(Code)
Executes the struts action.
Parameters:
  p_Mapping - the struts action mapping.
Parameters:
  p_Form - the struts action form.
Parameters:
  p_Request - the HttpServletRequest.
Parameters:
  p_Response - the HttpServletResponse.
throws:
  IOException -
throws:
  ServletException - the action forward to forward to.



getCurrentPageForward
protected String getCurrentPageForward(ArchiveConfigForm form)(Code)
Get the ActionForward name for the current page.
Parameters:
  form - Struts form ActionForward for the current page



getSwitchForward
protected String getSwitchForward(ArchiveConfigForm form)(Code)
Get the ActionForward name to switch views from the current page.
Parameters:
  form - Struts form ActionForward the user should be forwarded to if theyare switching views



reportError
protected ActionForward reportError(String sForward, ArchiveConfigForm oForm, String errorMessage, ActionMapping p_Mapping, HttpServletRequest p_Request)(Code)
Report an error and forward to the given JSP page.
Parameters:
  sForward - what JSP page to forward to
Parameters:
  oForm - the form bean
Parameters:
  errorMessage - the message from the exception
Parameters:
  p_Mapping -
Parameters:
  p_Request - ActionForward found for the given forward string



serializeDocument
protected String serializeDocument(Document doc)(Code)
Serialize a DOM tree into plaint text.
Parameters:
  doc - Document tree to convert a string representation of the DOM tree



validateDocument
protected void validateDocument(Document doc, String serverName) throws Exception(Code)
Validate the document using appropriate schemas.
Parameters:
  doc - the document that needs to be validated
throws:
  Exception - an exception if the document is not valid



Fields inherited from org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
final public static int DEPTH_DOMAIN(Code)(Java Doc)
final public static int DEPTH_SERVER(Code)(Java Doc)
protected ActionMessages m_Errors(Code)(Java Doc)
protected MessageResources m_Resources(Code)(Java Doc)
protected HttpSession m_Session(Code)(Java Doc)
protected WhereAreYou m_WhereAreYou(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
protected void addGlobalError(Throwable p_Throwable)(Code)(Java Doc)
public ActionForward execute(ActionMapping p_Mapping, ActionForm p_Form, HttpServletRequest p_Request, HttpServletResponse p_Response) throws IOException, ServletException(Code)(Java Doc)
abstract public ActionForward executeAction(ActionMapping p_Mapping, ActionForm p_Form, HttpServletRequest p_Request, HttpServletResponse p_Response) throws IOException, ServletException(Code)(Java Doc)
protected boolean getBooleanAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected boolean getBooleanAttribute(Properties p_Props, String ps_AttrName)(Code)(Java Doc)
protected boolean getBooleanAttribute(Properties p_Props, String ps_AttrName, boolean p_Default)(Code)(Java Doc)
protected int getIntegerAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected int getIntegerAttribute(Properties p_Props, String ps_AttrName)(Code)(Java Doc)
protected int getIntegerAttribute(Properties p_Props, String ps_AttrName, int p_Default)(Code)(Java Doc)
protected String getJonasBase()(Code)(Java Doc)
protected List getListAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected long getLongAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected long getLongAttribute(Properties p_Props, String ps_AttrName)(Code)(Java Doc)
protected long getLongAttribute(Properties p_Props, String ps_AttrName, long p_Default)(Code)(Java Doc)
protected Properties getPropsFromString(String ps_Props)(Code)(Java Doc)
protected long getShortAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String[] getStringArrayAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String getStringAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String getStringAttribute(Properties p_Props, String ps_AttrName)(Code)(Java Doc)
protected String getStringAttribute(Properties p_Props, String ps_AttrName, String p_Default)(Code)(Java Doc)
protected String getTreeBranchName(int p_Width)(Code)(Java Doc)
protected void initialize(HttpServletRequest p_Request)(Code)(Java Doc)
protected void refreshDomainDeployTree(HttpServletRequest p_Request) throws Exception(Code)(Java Doc)
protected void refreshDomainMonitoringTree(HttpServletRequest p_Request) throws Exception(Code)(Java Doc)
protected void refreshServerTree(HttpServletRequest p_Request) throws Exception(Code)(Java Doc)
protected static String removeChar(String string, char c)(Code)(Java Doc)
protected void setBooleanAttribute(ObjectName p_ObjectName, String ps_AttrName, boolean p_Value)(Code)(Java Doc)
protected void setBooleanAttribute(Properties p_Props, String ps_AttrName, boolean p_Value)(Code)(Java Doc)
protected void setIntegerAttribute(ObjectName p_ObjectName, String ps_AttrName, int p_Value)(Code)(Java Doc)
protected void setIntegerAttribute(ObjectName p_ObjectName, String ps_AttrName, String p_Value)(Code)(Java Doc)
protected void setIntegerAttribute(Properties p_Props, String ps_AttrName, int p_Value)(Code)(Java Doc)
protected void setLongAttribute(ObjectName p_ObjectName, String ps_AttrName, long p_Value)(Code)(Java Doc)
protected void setLongAttribute(Properties p_Props, String ps_AttrName, long p_Value)(Code)(Java Doc)
protected void setShortAttribute(ObjectName p_ObjectName, String ps_AttrName, long p_Value)(Code)(Java Doc)
protected void setStringAttribute(ObjectName p_ObjectName, String ps_AttrName, String p_Value)(Code)(Java Doc)
protected void setStringAttribute(Properties p_Props, String ps_AttrName, String p_Value)(Code)(Java Doc)
protected void setStringAttribute(Properties p_Props, String ps_AttrName, String p_Value, String p_Default)(Code)(Java Doc)
protected String toStringBooleanAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String toStringIntegerAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String toStringLongAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String toStringShortAttribute(ObjectName p_ObjectName, String ps_AttrName)(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.