Java Doc for AbstractAction.java in  » J2EE » Mdarad » org » mdarad » framework » util » struts » 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 » Mdarad » org.mdarad.framework.util.struts 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.mdarad.framework.util.struts.AbstractAction

All known Subclasses:   org.mdarad.framework.util.struts.SwitchLocaleAction,
AbstractAction
abstract public class AbstractAction extends TilesAction (Code)


Field Summary
final public static  StringAGGREGATION_PARENT_FORWARD_PREFIX
    
final public static  StringAGGREGATION_PARENT_FORWARD_SEPARATOR
    
final public static  StringCANCEL_FORWARD_KEY
    
final public static  StringCHILD_AGGREGATION_FORWARD_PREFIX
    
final public static  StringCHILD_AGGREGATION_FORWARD_SEPARATOR
    
final public static  StringCONTEXT_STACK_USE_PARAMETER_KEY
    
final public static  StringDELETE_CHILD_ACTION_SUFFIX_PARAMETER_KEY
    
final public static  StringDISPLAY_FORWARD_KEY
    
final public static  StringFAILURE_FORWARD_KEY
    
final public static  StringFORM_CHILD_ACTION_SUFFIX_PARAMETER_KEY
    
final public static  StringID_IN_REQUEST_ATTRIBUTE_PARAMETER_KEY
    
final public static  StringSUCCESS_FORWARD_KEY
    
final public static  StringWEB_CONTEXT_LOCALIZATION_CONTEXT_KEY
    


Method Summary
public static  ContextStackcreateNewContextStack(String contextStackKey, HttpServletRequest httpServletRequest)
    
public  voiddeleteContextObject(String contextStackKey, Entity entityBean, HttpServletRequest httpServletRequest)
    
protected  ActionForwarddetermineForwardAggregation(String childAggregationActionName, String childAggregationName, ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
    
protected  ActionForwardforwardAggregationParent(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String aggregationParentName, String parentChildAggregationName, String aggregationParentForwardName)
    
protected  ActionForwardforwardCancel(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
    
protected  ActionForwardforwardChildAggregation(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String childAggregationName, String childAggregationActionName)
    
protected  ActionForwardforwardDisplay(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
    
protected  ActionForwardforwardDisplay(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String forward)
    
protected  ActionForwardforwardFailure(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
    
protected  ActionForwardforwardSuccess(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
    
protected  StringgetAggregationParentName(ContextStack contextStack)
     Get the aggregation parent name if found.
public static  ContextStackgetContextStack(String contextStackKey, HttpServletRequest httpServletRequest)
    
public  EntitygetCurrentEntityFromContextStack(String contextStackKey, HttpServletRequest httpServletRequest)
    
public  StringgetFirstParameterNameFromPrefix(HttpServletRequest httpServletRequest, String prefix)
    
protected  StringgetForwardAggregationChildName(String childAggregationName, String childAggregationActionName)
    
protected  StringgetForwardAggregationParentName(String aggregationParentName, String parentChildAggregationName, String aggregationParentForwardName)
    
protected  StringgetParentChildAggregationName(ContextStack contextStack)
     Get the parent's child aggregation name if found.
public static  voidnullifyContextStack(String contextStackKey, ContextStack contextStack, HttpServletRequest httpServletRequest)
    
protected  voidsaveContextObjects(ContextStack contextStack)
    
public  voidsaveContextObjectsByParent(String contextStackKey, Entity entityBean, HttpServletRequest httpServletRequest, boolean isNewInstance)
     Save the context objects by updating the parent elements and saving the root entity.
public  voidsaveContextObjectsByParent(ContextStack contextStack)
     Save the context objects by updating the parent elements and saving the root entity.
public static  voidsetContextStack(String contextStackKey, ContextStack contextStack, HttpServletRequest httpServletRequest)
    
public  voidsetContextStackIDInRequest(String contextStackKey, HttpServletRequest httpServletRequest)
    
protected  voidupdateContextObjects(ContextStack contextStack)
    
protected  voidupdateContextStack(ContextStack contextStack, Entity entityBean, Class entityClass, BusinessDelegate businessDelegate, boolean isChildMultipleAggregation, boolean isNewInstance, String childAggregationName)
    

Field Detail
AGGREGATION_PARENT_FORWARD_PREFIX
final public static String AGGREGATION_PARENT_FORWARD_PREFIX(Code)



AGGREGATION_PARENT_FORWARD_SEPARATOR
final public static String AGGREGATION_PARENT_FORWARD_SEPARATOR(Code)



CANCEL_FORWARD_KEY
final public static String CANCEL_FORWARD_KEY(Code)



CHILD_AGGREGATION_FORWARD_PREFIX
final public static String CHILD_AGGREGATION_FORWARD_PREFIX(Code)



CHILD_AGGREGATION_FORWARD_SEPARATOR
final public static String CHILD_AGGREGATION_FORWARD_SEPARATOR(Code)



CONTEXT_STACK_USE_PARAMETER_KEY
final public static String CONTEXT_STACK_USE_PARAMETER_KEY(Code)



DELETE_CHILD_ACTION_SUFFIX_PARAMETER_KEY
final public static String DELETE_CHILD_ACTION_SUFFIX_PARAMETER_KEY(Code)



DISPLAY_FORWARD_KEY
final public static String DISPLAY_FORWARD_KEY(Code)



FAILURE_FORWARD_KEY
final public static String FAILURE_FORWARD_KEY(Code)



FORM_CHILD_ACTION_SUFFIX_PARAMETER_KEY
final public static String FORM_CHILD_ACTION_SUFFIX_PARAMETER_KEY(Code)



ID_IN_REQUEST_ATTRIBUTE_PARAMETER_KEY
final public static String ID_IN_REQUEST_ATTRIBUTE_PARAMETER_KEY(Code)



SUCCESS_FORWARD_KEY
final public static String SUCCESS_FORWARD_KEY(Code)



WEB_CONTEXT_LOCALIZATION_CONTEXT_KEY
final public static String WEB_CONTEXT_LOCALIZATION_CONTEXT_KEY(Code)





Method Detail
createNewContextStack
public static ContextStack createNewContextStack(String contextStackKey, HttpServletRequest httpServletRequest)(Code)



deleteContextObject
public void deleteContextObject(String contextStackKey, Entity entityBean, HttpServletRequest httpServletRequest) throws OrphanChildException, SystemException, ConcurrencyException(Code)



determineForwardAggregation
protected ActionForward determineForwardAggregation(String childAggregationActionName, String childAggregationName, ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws SystemException(Code)
Determine the action forward for the aggregation we are currently navigating to
Parameters:
  childAggregationActionName -
Parameters:
  childAggregationName -
Parameters:
  actionMapping -
Parameters:
  actionForm -
Parameters:
  httpServletRequest -
Parameters:
  httpServletResponse -
throws:
  SystemException -



forwardAggregationParent
protected ActionForward forwardAggregationParent(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String aggregationParentName, String parentChildAggregationName, String aggregationParentForwardName)(Code)



forwardCancel
protected ActionForward forwardCancel(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)(Code)



forwardChildAggregation
protected ActionForward forwardChildAggregation(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String childAggregationName, String childAggregationActionName)(Code)



forwardDisplay
protected ActionForward forwardDisplay(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)(Code)



forwardDisplay
protected ActionForward forwardDisplay(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String forward)(Code)



forwardFailure
protected ActionForward forwardFailure(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)(Code)



forwardSuccess
protected ActionForward forwardSuccess(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)(Code)



getAggregationParentName
protected String getAggregationParentName(ContextStack contextStack)(Code)
Get the aggregation parent name if found. Otherwise return null
Parameters:
  contextStack - The context stack The aggregation parent name, otherwise null



getContextStack
public static ContextStack getContextStack(String contextStackKey, HttpServletRequest httpServletRequest)(Code)
Get the context stack that is stored in the session
Parameters:
  contextStackKey -
Parameters:
  httpServletRequest -



getCurrentEntityFromContextStack
public Entity getCurrentEntityFromContextStack(String contextStackKey, HttpServletRequest httpServletRequest)(Code)



getFirstParameterNameFromPrefix
public String getFirstParameterNameFromPrefix(HttpServletRequest httpServletRequest, String prefix)(Code)



getForwardAggregationChildName
protected String getForwardAggregationChildName(String childAggregationName, String childAggregationActionName)(Code)



getForwardAggregationParentName
protected String getForwardAggregationParentName(String aggregationParentName, String parentChildAggregationName, String aggregationParentForwardName)(Code)



getParentChildAggregationName
protected String getParentChildAggregationName(ContextStack contextStack)(Code)
Get the parent's child aggregation name if found. Otherwise return null
Parameters:
  contextStack - The context stack The parent child aggregation name, otherwise null



nullifyContextStack
public static void nullifyContextStack(String contextStackKey, ContextStack contextStack, HttpServletRequest httpServletRequest)(Code)



saveContextObjects
protected void saveContextObjects(ContextStack contextStack) throws SystemException, ConcurrencyException(Code)
Save only the highest ranked parent (for the others will be saved by him)
Parameters:
  contextStack -
Parameters:
  entityBean -
throws:
  SystemException -
throws:
  ConcurrencyException -



saveContextObjectsByParent
public void saveContextObjectsByParent(String contextStackKey, Entity entityBean, HttpServletRequest httpServletRequest, boolean isNewInstance) throws OrphanChildException, SystemException, ConcurrencyException(Code)
Save the context objects by updating the parent elements and saving the root entity.
Parameters:
  contextStackKey - The key in the request to get access to the context stack
Parameters:
  httpServletRequest -
throws:
  OrphanChildException -
throws:
  ConcurrencyException -
throws:
  SystemException -



saveContextObjectsByParent
public void saveContextObjectsByParent(ContextStack contextStack) throws SystemException, ConcurrencyException(Code)
Save the context objects by updating the parent elements and saving the root entity.
Parameters:
  contextStack - The context stack which contains the entities to the root
throws:
  SystemException -
throws:
  ConcurrencyException -



setContextStack
public static void setContextStack(String contextStackKey, ContextStack contextStack, HttpServletRequest httpServletRequest)(Code)



setContextStackIDInRequest
public void setContextStackIDInRequest(String contextStackKey, HttpServletRequest httpServletRequest)(Code)
Redirect the context stack key in the request
Parameters:
  contextStackKey -
Parameters:
  httpServletRequest -



updateContextObjects
protected void updateContextObjects(ContextStack contextStack) throws SystemException, ConcurrencyException(Code)



updateContextStack
protected void updateContextStack(ContextStack contextStack, Entity entityBean, Class entityClass, BusinessDelegate businessDelegate, boolean isChildMultipleAggregation, boolean isNewInstance, String childAggregationName) throws ServiceLocatorException(Code)
Update the contextStack with the necessary information
Parameters:
  contextStack -
Parameters:
  entityBean -
Parameters:
  entityClass -
Parameters:
  businessDelegate -
Parameters:
  isChildMultipleAggregation -
Parameters:
  childAggregationName -
throws:
  ServiceLocatorException -



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