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


org.kuali.kfs.web.struts.action.KualiAccountingDocumentActionBase
   org.kuali.module.labor.web.struts.action.ExpenseTransferDocumentActionBase

All known Subclasses:   org.kuali.module.labor.web.struts.action.SalaryExpenseTransferAction,  org.kuali.module.labor.web.struts.action.BenefitExpenseTransferAction,
ExpenseTransferDocumentActionBase
public class ExpenseTransferDocumentActionBase extends KualiAccountingDocumentActionBase (Code)
Base Struts Action class for Benefit Expense Transfer Document.




Method Summary
protected  voidclearOverridesThatBecameUnneeded(AccountingLine formLine)
     Clear all overrides that are not needed.
public  ActionForwardcopyAccountingLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    
public  ActionForwardcopyAllAccountingLines(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    
public  ActionForwarddeleteAllSourceAccountingLines(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    
public  ActionForwarddeleteAllTargetAccountingLines(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    
protected  StringgetLookupResultsBOClassName(ExpenseTransferDocumentFormBase expenseTransferDocumentForm)
    
protected  voidloadDocument(KualiDocumentFormBase kualiDocumentFormBase)
    
public  ActionForwardperformBalanceInquiryLookup(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     Takes care of storing the action form in the user session and forwarding to the balance inquiry lookup action.
protected  voidprocessAccountingLineOverrides(List accountingLines)
    
public  ActionForwardrefresh(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     Populates the lines of the ST or BT document from a balance lookup.
protected  voidresetLookupFields(ExpenseTransferDocumentFormBase expenseTransferDocumentForm, LedgerBalance balance)
    
public  ActionForwardrevertSourceLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     This method will revert a SourceAccountingLine by overwriting its current values with the values in the corresponding baseline accountingLine.
public  ActionForwardrevertTargetLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
     This method will revert a TargetAccountingLine by overwriting its current values with the values in the corresponding baseline accountingLine.



Method Detail
clearOverridesThatBecameUnneeded
protected void clearOverridesThatBecameUnneeded(AccountingLine formLine)(Code)
Clear all overrides that are not needed.
See Also:   org.kuali.kfs.web.struts.action.KualiAccountingDocumentActionBase.clearOverridesThatBecameUnneeded(org.kuali.kfs.bo.AccountingLine)



copyAccountingLine
public ActionForward copyAccountingLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
Copy a single accounting line
See Also:   org.kuali.core.web.struts.action.KualiDocumentActionBase.copyAccountingLine(ActionMappingActionFormHttpServletRequestHttpServletResponse)



copyAllAccountingLines
public ActionForward copyAllAccountingLines(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
This method copies all accounting lines from financial document form if they pass validation rules
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  request -
Parameters:
  response -
throws:
  Exception -



deleteAllSourceAccountingLines
public ActionForward deleteAllSourceAccountingLines(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
Delete all source accounting lines
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  request -
Parameters:
  response - ActionMapping
throws:
  Exception -



deleteAllTargetAccountingLines
public ActionForward deleteAllTargetAccountingLines(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
Delete all target accounting lines
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  request -
Parameters:
  response - ActionMapping
throws:
  Exception -



getLookupResultsBOClassName
protected String getLookupResultsBOClassName(ExpenseTransferDocumentFormBase expenseTransferDocumentForm)(Code)
Get the BO class name of the set of lookup results
Parameters:
  expenseTransferDocumentForm - the Struts form for expense transfer document the BO class name of the set of lookup results



loadDocument
protected void loadDocument(KualiDocumentFormBase kualiDocumentFormBase) throws WorkflowException(Code)
Overload the method in order to have balance importing section be populated with the last search criteria
See Also:   org.kuali.kfs.web.struts.action.KualiAccountingDocumentActionBase.loadDocument(org.kuali.core.web.struts.form.KualiDocumentFormBase)



performBalanceInquiryLookup
public ActionForward performBalanceInquiryLookup(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
Takes care of storing the action form in the user session and forwarding to the balance inquiry lookup action.
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  request -
Parameters:
  response - ActionForward
throws:
  Exception -



processAccountingLineOverrides
protected void processAccountingLineOverrides(List accountingLines)(Code)
Processes accounting line overrides for output to JSP
See Also:   org.kuali.kfs.web.struts.action.KualiAccountingDocumentActionBase.processAccountingLineOverrides(java.util.List)



refresh
public ActionForward refresh(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
Populates the lines of the ST or BT document from a balance lookup. First, the data must be retrieved based on the selected ids persisted from the framework. The basic steps are: 1) Retrieve selected (row) ids that were persisted 2) Each id has form: {db object id}.{period name}.{line amount} 3) Retrieve the balance records associated with the object ids 4)Build an accounting line from the retrieved balance record, using parsed period name as the pay period, and parsed amount as the new line amount. 5) Call insertAccountingLine
See Also:   org.kuali.core.web.struts.action.KualiDocumentActionBase.refresh(ActionMappingActionFormHttpServletRequestHttpServletResponse)



resetLookupFields
protected void resetLookupFields(ExpenseTransferDocumentFormBase expenseTransferDocumentForm, LedgerBalance balance)(Code)
Reset the lookup fields in the given expense transfer form with the given ledger balance
Parameters:
  expenseTransferDocumentForm - the given expense transfer form
Parameters:
  the - given ledger balance



revertSourceLine
public ActionForward revertSourceLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
This method will revert a SourceAccountingLine by overwriting its current values with the values in the corresponding baseline accountingLine. This assumes that the user presses the revert button for a specific accounting line on the document and that the document is represented by a FinancialDocumentFormBase.
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  request -
Parameters:
  response - ActionForward
throws:
  Exception -



revertTargetLine
public ActionForward revertTargetLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)
This method will revert a TargetAccountingLine by overwriting its current values with the values in the corresponding baseline accountingLine. This assumes that the user presses the revert button for a specific accounting line on the document and that the document is represented by a FinancialDocumentFormBase.
Parameters:
  mapping -
Parameters:
  form -
Parameters:
  request -
Parameters:
  response - ActionForward
throws:
  Exception -



Fields inherited from org.kuali.kfs.web.struts.action.KualiAccountingDocumentActionBase
final protected static Set UPDATE_EVENT_ACTIONS(Code)(Java Doc)

Methods inherited from org.kuali.kfs.web.struts.action.KualiAccountingDocumentActionBase
protected void clearOverridesThatBecameUnneeded(AccountingLine formLine)(Code)(Java Doc)
public ActionForward copy(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
protected void createDocument(KualiDocumentFormBase kualiDocumentFormBase) throws WorkflowException(Code)(Java Doc)
protected void deleteAccountingLine(boolean isSource, KualiAccountingDocumentFormBase financialDocumentForm, int deleteIndex)(Code)(Java Doc)
public ActionForward deleteSourceLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
public ActionForward deleteTargetLine(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)
protected SourceAccountingLine getSourceAccountingLine(ActionForm form, HttpServletRequest request)(Code)(Java Doc)
public ActionForward hideDetails(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
protected void insertAccountingLine(boolean isSource, KualiAccountingDocumentFormBase financialDocumentForm, AccountingLine line)(Code)(Java Doc)
public ActionForward insertSourceLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
public ActionForward insertTargetLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
protected boolean isSalesTaxRequired(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc)
protected void loadDocument(KualiDocumentFormBase kualiDocumentFormBase) throws WorkflowException(Code)(Java Doc)
protected ActionForward performBalanceInquiryForAccountingLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, AccountingLine line)(Code)(Java Doc)
public ActionForward performBalanceInquiryForSourceLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
public ActionForward performBalanceInquiryForTargetLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
protected void processAccountingLineOverrides(KualiAccountingDocumentFormBase transForm)(Code)(Java Doc)
protected void processAccountingLineOverrides(AccountingLine line)(Code)(Java Doc)
protected void processAccountingLineOverrides(List accountingLines)(Code)(Java Doc)
public ActionForward refresh(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
protected boolean revertAccountingLine(KualiAccountingDocumentFormBase transForm, int revertIndex, AccountingLine originalLine, AccountingLine newerLine)(Code)(Java Doc)
public ActionForward revertSourceLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
public ActionForward revertTargetLine(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
public ActionForward route(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
public ActionForward showDetails(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
public ActionForward toggleTab(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)
protected void uploadAccountingLines(boolean isSource, ActionForm form) throws FileNotFoundException, IOException(Code)(Java Doc)
public ActionForward uploadSourceLines(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FileNotFoundException, IOException(Code)(Java Doc)
public ActionForward uploadTargetLines(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc)

www__.j_a___v_a2s___._c___om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.