Java Doc for BaseAction.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » pdp » action » 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 » Kuali Financial System » org.kuali.module.pdp.action 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.module.pdp.action.BaseAction

All known Subclasses:   org.kuali.module.pdp.action.paymentdetail.EpicPaymentDetailAction,  org.kuali.module.pdp.action.ChannelAction,  org.kuali.module.pdp.action.disbursementnumbermaintenance.DisbursementNumberMaintenanceAction,  org.kuali.module.pdp.action.format.FormatPrepareAction,  org.kuali.module.pdp.action.paymentdetail.PaymentDetailAction,  org.kuali.module.pdp.action.bank.BankAction,  org.kuali.module.pdp.action.format.FormatAction,  org.kuali.module.pdp.action.paymentsearch.BatchSearchAction,  org.kuali.module.pdp.action.paymentmaintenance.PaymentMaintenanceAction,  org.kuali.module.pdp.action.format.FormatSelectionAction,  org.kuali.module.pdp.action.SessionTestAction,  org.kuali.module.pdp.action.upload.ManualUploadFileAction,  org.kuali.module.pdp.action.paymentmaintenance.BatchMaintenanceAction,  org.kuali.module.pdp.action.paymentdetail.PaymentDetailListAction,  org.kuali.module.pdp.action.disbursementnumbermaintenance.DisbursementNumberMaintenanceSaveAction,  org.kuali.module.pdp.action.format.FormatSummaryAction,  org.kuali.module.pdp.action.paymentdetail.EpicPaymentDetailListAction,  org.kuali.module.pdp.action.paymentsearch.PaymentSearchAction,  org.kuali.module.pdp.action.upload.ManualUploadAction,  org.kuali.module.pdp.action.customerprofile.CustomerProfileSaveAction,  org.kuali.module.pdp.action.customerprofile.CustomerProfileAction,  org.kuali.module.pdp.action.format.FormatResetAction,  org.kuali.module.pdp.action.bank.BankSaveAction,
BaseAction
abstract public class BaseAction extends Action (Code)
This Action will do most request processing for the PDP part of appliation. Your action should override the proper methods to do it's work. This idea and most of the concepts were stolen from the Scafold base action mentioned in Struts in Action. The bugs are probably entirely mine. This should be refactored out of the application to make full use of the Kuali Request Processor.


Field Summary
protected  KualiConfigurationServicekualiConfigurationService
    
protected  PdpSecurityServicesecurityService
    
protected  UniversalUserServiceuserService
    
protected  WebAuthenticationServicewebAuthenticationService
    

Constructor Summary
public  BaseAction()
    

Method Summary
protected  ActionForwardcatchException(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, Exception exception)
     Process the exception handling for this Action.
protected  ActionForwarddoAuthentication(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     This method does authentication.
public  ActionForwardexecute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     Struts execute method.
abstract protected  ActionForwardexecuteLogic(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     Execute the business logic for this Action.
protected  TimestampgetDisbursementActionExpirationDate(HttpServletRequest request)
    
protected  TimestampgetLastGoodDisbursementActionDate()
    
protected  StringgetNetworkId(HttpServletRequest request)
     This method returns the network id of the user accessing this action.
protected  SecurityRecordgetSecurityRecord(HttpServletRequest request)
     Get the security record for the user that is logged in.
protected  PdpUsergetUser(HttpServletRequest request)
     Get the user object for the user that is logged in.
protected  booleanisAuthorized(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     This group authorization.
protected  voidpostProcess(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     Optional extension point for post-processing.
protected  ActionForwardpreProcess(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     Optional extension point for pre-processing.
public  voidsetKualiConfigurationService(KualiConfigurationService kcs)
    
public  voidsetSecurityService(PdpSecurityService ss)
    
public  voidsetUniversalUserService(UniversalUserService us)
    
public  voidsetWebAuthenticationService(WebAuthenticationService was)
    
public  StringwhichButtonWasPressed(HttpServletRequest request)
    

Field Detail
kualiConfigurationService
protected KualiConfigurationService kualiConfigurationService(Code)
Application Settings Service (to check global app settings)



securityService
protected PdpSecurityService securityService(Code)
Security Service (to do authorization)



userService
protected UniversalUserService userService(Code)
User Service (to lookup users)



webAuthenticationService
protected WebAuthenticationService webAuthenticationService(Code)
Web Authentication Service (to do authentication)




Constructor Detail
BaseAction
public BaseAction()(Code)




Method Detail
catchException
protected ActionForward catchException(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, Exception exception)(Code)
Process the exception handling for this Action. Default method just returns a standard system error page.
Parameters:
  mapping - The ActionMapping used to select this instance
Parameters:
  actionForm - The optional ActionForm bean for this request
Parameters:
  request - The HTTP request we are processing
Parameters:
  response - The response we are creating



doAuthentication
protected ActionForward doAuthentication(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)(Code)
This method does authentication. Override if you want to do a different authentication or none.
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  request -
Parameters:
  response -



execute
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
Struts execute method. Don't override this unless you want to completely replace the functionality of base action.



executeLogic
abstract protected ActionForward executeLogic(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
Execute the business logic for this Action.
Parameters:
  mapping - The ActionMapping used to select this instance
Parameters:
  form - The optional ActionForm bean for this request
Parameters:
  request - The HTTP request we are processing
Parameters:
  response - The resonse we are creating



getDisbursementActionExpirationDate
protected Timestamp getDisbursementActionExpirationDate(HttpServletRequest request)(Code)
Get the disbursement action expiration date where a disbursement date before this date is not allowed to be cancelled or cancelled and reissued
Parameters:
  request - The last disbursement date that is allowed for cancel



getLastGoodDisbursementActionDate
protected Timestamp getLastGoodDisbursementActionDate()(Code)



getNetworkId
protected String getNetworkId(HttpServletRequest request)(Code)
This method returns the network id of the user accessing this action.
Parameters:
  request -



getSecurityRecord
protected SecurityRecord getSecurityRecord(HttpServletRequest request)(Code)
Get the security record for the user that is logged in. This only works after doAuthentication() is run.
Parameters:
  request - The security record object



getUser
protected PdpUser getUser(HttpServletRequest request)(Code)
Get the user object for the user that is logged in. This only works after doAuthentication() has run for the first request from a user.
Parameters:
  request - The user object



isAuthorized
protected boolean isAuthorized(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)(Code)
This group authorization. Override to change the authorization type.
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  request -
Parameters:
  response -
throws:
  SharedException -



postProcess
protected void postProcess(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)(Code)
Optional extension point for post-processing. Default method does nothing. This is called from a finally{} clause, and so is guaranteed to be called after executeLogic() or catchException().
Parameters:
  mapping - The ActionMapping used to select this instance
Parameters:
  actionForm - The optional ActionForm bean for this request
Parameters:
  request - The HTTP request we are processing
Parameters:
  response - The resonse we are creating



preProcess
protected ActionForward preProcess(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)(Code)
Optional extension point for pre-processing. Default method does nothing.
Parameters:
  mapping - The ActionMapping used to select this instance
Parameters:
  actionForm - The optional ActionForm bean for this request
Parameters:
  request - The HTTP request we are processing
Parameters:
  response - The resonse we are creating



setKualiConfigurationService
public void setKualiConfigurationService(KualiConfigurationService kcs)(Code)
Have the application settings service set for us
Parameters:
  ass -



setSecurityService
public void setSecurityService(PdpSecurityService ss)(Code)
Have the security service set for us
Parameters:
  ss -



setUniversalUserService
public void setUniversalUserService(UniversalUserService us)(Code)
Have the user service set for us
Parameters:
  us -



setWebAuthenticationService
public void setWebAuthenticationService(WebAuthenticationService was)(Code)
Have the web authentication service set for us
Parameters:
  was -



whichButtonWasPressed
public String whichButtonWasPressed(HttpServletRequest request)(Code)



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