Java Doc for PageAction.java in  » Content-Management-System » TransferCM » com » methodhead » shim » 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 » Content Management System » TransferCM » com.methodhead.shim 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.methodhead.auth.AuthAction
   com.methodhead.shim.PageAction

PageAction
public class PageAction extends AuthAction (Code)




Method Summary
protected static  voidapplyTemplate(Page page, Template template)
     Updates page so that it works with template.
protected  ActionForwarddoConfigureModule(OperationContext op, ShimPolicy policy)
     Loads the page for form.id and calls com.methodhead.shim.Module.configure configure() on the module in form.panel.
protected  ActionForwarddoConfigurePage(OperationContext op, ShimPolicy policy)
     Creates a new page with panels defined in the specified template.
protected  ActionForwarddoConfigurePageForm(OperationContext op, ShimPolicy policy)
     Displays the configure page form for form.id.
protected  ActionForwarddoConfigurePanel(OperationContext op, ShimPolicy policy)
     Set form.module to whatever module is specified for form.pageid and panel.
protected  ActionForwarddoConfigurePanelForm(OperationContext op, ShimPolicy policy)
     Set form.module to whatever module is specified for form.pageid and panel.
protected  ActionForwarddoDeletePage(OperationContext op, ShimPolicy policy)
     Deletes the page with id form.id.
protected  ActionForwarddoDeletePageForm(OperationContext op, ShimPolicy policy)
     Sets form.delOption to promote and forwards to "form".
protected  ActionForwarddoEditPage(OperationContext op, ShimPolicy policy)
     Puts the session in edit mode and displays the page.
protected  ActionForwarddoEditPanel(OperationContext op, ShimPolicy policy)
     Forwards to editor, a frameset that includes the toolbar and edit window.
public  ActionForwarddoExecute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    
protected  ActionForwarddoMovePage(OperationContext op, ShimPolicy policy)
     Moves the page with form.id near the page form.destid according to form.position (legal values are "under", "before", "after"), returning an edit page forward for what page is parent to the page being moved.
protected  ActionForwarddoMovePageForm(OperationContext op, ShimPolicy policy)
     Sets form.position to before and forwards to "form".
protected  ActionForwarddoNewPageForm(OperationContext op, ShimPolicy policy)
     Returns the form forward.
protected  ActionForwarddoSavePanel(OperationContext op, ShimPolicy policy)
     Updates the module for page pageid and panel with text from the rich text editor.
protected static  ModuleinstantiateModule(String className)
     Instantiates the module for className.
protected  voidpopulatePage(Page page, DynaActionForm form)
     Populates page with values from form.



Method Detail
applyTemplate
protected static void applyTemplate(Page page, Template template)(Code)
Updates page so that it works with template. If panels defined in template do not exist in page, modules are created for those panels. If there are panels in page that do not exist in template, modules in those panels are destroyed. Any other panels are left as is. NOTE: Make sure page.loadFull() has been called before calling this method.



doConfigureModule
protected ActionForward doConfigureModule(OperationContext op, ShimPolicy policy) throws Exception(Code)
Loads the page for form.id and calls com.methodhead.shim.Module.configure configure() on the module in form.panel.



doConfigurePage
protected ActionForward doConfigurePage(OperationContext op, ShimPolicy policy) throws Exception(Code)
Creates a new page with panels defined in the specified template. Default modules for those panels are created. Returns the editPage forward.



doConfigurePageForm
protected ActionForward doConfigurePageForm(OperationContext op, ShimPolicy policy) throws Exception(Code)
Displays the configure page form for form.id.



doConfigurePanel
protected ActionForward doConfigurePanel(OperationContext op, ShimPolicy policy) throws Exception(Code)
Set form.module to whatever module is specified for form.pageid and panel.



doConfigurePanelForm
protected ActionForward doConfigurePanelForm(OperationContext op, ShimPolicy policy) throws Exception(Code)
Set form.module to whatever module is specified for form.pageid and panel.



doDeletePage
protected ActionForward doDeletePage(OperationContext op, ShimPolicy policy) throws Exception(Code)
Deletes the page with id form.id.



doDeletePageForm
protected ActionForward doDeletePageForm(OperationContext op, ShimPolicy policy) throws Exception(Code)
Sets form.delOption to promote and forwards to "form".



doEditPage
protected ActionForward doEditPage(OperationContext op, ShimPolicy policy) throws Exception(Code)
Puts the session in edit mode and displays the page. Forwards to pageNotFound if loading by alias and the page cannot be found.



doEditPanel
protected ActionForward doEditPanel(OperationContext op, ShimPolicy policy) throws Exception(Code)
Forwards to editor, a frameset that includes the toolbar and edit window.



doExecute
public ActionForward doExecute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)



doMovePage
protected ActionForward doMovePage(OperationContext op, ShimPolicy policy) throws Exception(Code)
Moves the page with form.id near the page form.destid according to form.position (legal values are "under", "before", "after"), returning an edit page forward for what page is parent to the page being moved.



doMovePageForm
protected ActionForward doMovePageForm(OperationContext op, ShimPolicy policy) throws Exception(Code)
Sets form.position to before and forwards to "form".



doNewPageForm
protected ActionForward doNewPageForm(OperationContext op, ShimPolicy policy) throws Exception(Code)
Returns the form forward.



doSavePanel
protected ActionForward doSavePanel(OperationContext op, ShimPolicy policy) throws Exception(Code)
Updates the module for page pageid and panel with text from the rich text editor.



instantiateModule
protected static Module instantiateModule(String className)(Code)
Instantiates the module for className.



populatePage
protected void populatePage(Page page, DynaActionForm form)(Code)
Populates page with values from form.



Methods inherited from com.methodhead.auth.AuthAction
abstract protected ActionForward doExecute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(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.