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


org.kuali.kfs.document.LedgerPostingDocumentBase
   org.kuali.kfs.document.GeneralLedgerPostingDocumentBase
      org.kuali.kfs.document.AccountingDocumentBase

All known Subclasses:   org.kuali.module.financial.document.AuxiliaryVoucherDocument,  org.kuali.module.financial.document.CashManagementDocument,  org.kuali.module.financial.document.PreEncumbranceDocument,  org.kuali.module.financial.document.TransferOfFundsDocument,  org.kuali.module.financial.document.JournalVoucherDocument,  org.kuali.module.purap.document.PurchasingAccountsPayableDocumentBase,  org.kuali.module.financial.document.NonCheckDisbursementDocument,  org.kuali.module.financial.document.InternalBillingDocument,  org.kuali.module.financial.document.GeneralErrorCorrectionDocument,  org.kuali.module.financial.document.IndirectCostAdjustmentDocument,  org.kuali.module.financial.document.DistributionOfIncomeAndExpenseDocument,  org.kuali.module.financial.document.BudgetAdjustmentDocument,  org.kuali.module.labor.document.LaborLedgerPostingDocumentBase,  org.kuali.module.financial.document.DisbursementVoucherDocument,  org.kuali.core.service.mock.RuleMockDocument,  org.kuali.module.financial.document.ProcurementCardDocument,  org.kuali.module.financial.document.CashReceiptFamilyBase,
AccountingDocumentBase
abstract public class AccountingDocumentBase extends GeneralLedgerPostingDocumentBase implements AccountingDocument(Code)
Base implementation class for financial edocs.


Field Summary
protected  IntegernextSourceLineNumber
    
protected  IntegernextTargetLineNumber
    
protected  ListsourceAccountingLines
    
protected  ListtargetAccountingLines
    

Constructor Summary
public  AccountingDocumentBase()
     Default constructor.

Method Summary
public  voidaddSourceAccountingLine(SourceAccountingLine line)
     This implementation sets the sequence number appropriately for the passed in source accounting line using the value that has been stored in the nextSourceLineNumber variable, adds the accounting line to the list that is aggregated by this object, and then handles incrementing the nextSourceLineNumber variable for you.
public  voidaddTargetAccountingLine(TargetAccountingLine line)
     This implementation sets the sequence number appropriately for the passed in target accounting line using the value that has been stored in the nextTargetLineNumber variable, adds the accounting line to the list that is aggregated by this object, and then handles incrementing the nextTargetLineNumber variable for you.
public  ListbuildListOfDeletionAwareLists()
    
protected  voidcopyAccountingLines(boolean isErrorCorrection)
     Copies accounting lines but sets new document number and version If error correction, reverses line amount.
public  ListgenerateSaveEvents()
    
public  AccountingLineParsergetAccountingLineParser()
    
public  IntegergetNextSourceLineNumber()
    
public  IntegergetNextTargetLineNumber()
    
protected  ListgetPersistedSourceAccountingLinesForComparison()
    
protected  ListgetPersistedTargetAccountingLinesForComparison()
    
public  SourceAccountingLinegetSourceAccountingLine(int index)
     This implementation is coupled tightly with some underlying issues that the Struts PojoProcessor plugin has with how objects get instantiated within lists.
public  ClassgetSourceAccountingLineClass()
     Returns the default Source accounting line class.
public  StringgetSourceAccountingLineEntryName()
    
public  ListgetSourceAccountingLines()
    
protected  ListgetSourceAccountingLinesForComparison()
    
public  StringgetSourceAccountingLinesSectionTitle()
    
public  KualiDecimalgetSourceTotal()
    
public  TargetAccountingLinegetTargetAccountingLine(int index)
     This implementation is coupled tightly with some underlying issues that the Struts PojoProcessor plugin has with how objects get instantiated within lists.
public  ClassgetTargetAccountingLineClass()
     Returns the default Target accounting line class.
public  StringgetTargetAccountingLineEntryName()
    
public  ListgetTargetAccountingLines()
    
protected  ListgetTargetAccountingLinesForComparison()
    
public  StringgetTargetAccountingLinesSectionTitle()
    
public  KualiDecimalgetTargetTotal()
    
public  KualiDecimalgetTotalDollarAmount()
     Since one side of the document should match the other and the document should balance, the total dollar amount for the document should either be the expense line or the income line.
public  voidprepareForSave(KualiDocumentEvent event)
    
public  voidsetNextSourceLineNumber(Integer nextLineNumber)
    
public  voidsetNextTargetLineNumber(Integer nextLineNumber)
    
public  voidsetSourceAccountingLines(List sourceLines)
    
public  voidsetTargetAccountingLines(List targetLines)
    
public  voidtoCopy()
    
public  voidtoErrorCorrection()
    

Field Detail
nextSourceLineNumber
protected Integer nextSourceLineNumber(Code)



nextTargetLineNumber
protected Integer nextTargetLineNumber(Code)



sourceAccountingLines
protected List sourceAccountingLines(Code)



targetAccountingLines
protected List targetAccountingLines(Code)




Constructor Detail
AccountingDocumentBase
public AccountingDocumentBase()(Code)
Default constructor.




Method Detail
addSourceAccountingLine
public void addSourceAccountingLine(SourceAccountingLine line)(Code)
This implementation sets the sequence number appropriately for the passed in source accounting line using the value that has been stored in the nextSourceLineNumber variable, adds the accounting line to the list that is aggregated by this object, and then handles incrementing the nextSourceLineNumber variable for you.
See Also:   org.kuali.kfs.document.AccountingDocument.addSourceAccountingLine(SourceAccountingLine)



addTargetAccountingLine
public void addTargetAccountingLine(TargetAccountingLine line)(Code)
This implementation sets the sequence number appropriately for the passed in target accounting line using the value that has been stored in the nextTargetLineNumber variable, adds the accounting line to the list that is aggregated by this object, and then handles incrementing the nextTargetLineNumber variable for you.
See Also:   org.kuali.kfs.document.AccountingDocument.addTargetAccountingLine(TargetAccountingLine)



buildListOfDeletionAwareLists
public List buildListOfDeletionAwareLists()(Code)

See Also:   org.kuali.core.document.DocumentBase.buildListOfDeletionAwareLists



copyAccountingLines
protected void copyAccountingLines(boolean isErrorCorrection)(Code)
Copies accounting lines but sets new document number and version If error correction, reverses line amount.



generateSaveEvents
public List generateSaveEvents()(Code)



getAccountingLineParser
public AccountingLineParser getAccountingLineParser()(Code)
Used to get the appropriate AccountingLineParser for the Document AccountingLineParser



getNextSourceLineNumber
public Integer getNextSourceLineNumber()(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.getNextSourceLineNumber



getNextTargetLineNumber
public Integer getNextTargetLineNumber()(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.getNextTargetLineNumber



getPersistedSourceAccountingLinesForComparison
protected List getPersistedSourceAccountingLinesForComparison()(Code)
This method gets the Persisted Source Accounting Lines that will be used in comparisons



getPersistedTargetAccountingLinesForComparison
protected List getPersistedTargetAccountingLinesForComparison()(Code)
This method gets the Persisted Target Accounting Lines that will be used in comparisons



getSourceAccountingLine
public SourceAccountingLine getSourceAccountingLine(int index)(Code)
This implementation is coupled tightly with some underlying issues that the Struts PojoProcessor plugin has with how objects get instantiated within lists. The first three lines are required otherwise when the PojoProcessor tries to automatically inject values into the list, it will get an index out of bounds error if the instance at an index is being called and prior instances at indices before that one are not being instantiated. So changing the code below will cause adding lines to break if you add more than one item to the list.
See Also:   org.kuali.kfs.document.AccountingDocument.getSourceAccountingLine(int)



getSourceAccountingLineClass
public Class getSourceAccountingLineClass()(Code)
Returns the default Source accounting line class.
See Also:   org.kuali.kfs.document.AccountingDocument.getSourceAccountingLineClass



getSourceAccountingLineEntryName
public String getSourceAccountingLineEntryName()(Code)



getSourceAccountingLines
public List getSourceAccountingLines()(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.getSourceAccountingLines



getSourceAccountingLinesForComparison
protected List getSourceAccountingLinesForComparison()(Code)
This method gets the Source Accounting Lines that will be used in comparisons



getSourceAccountingLinesSectionTitle
public String getSourceAccountingLinesSectionTitle()(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.getSourceAccountingLinesSectionTitle



getSourceTotal
public KualiDecimal getSourceTotal()(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.getSourceTotal



getTargetAccountingLine
public TargetAccountingLine getTargetAccountingLine(int index)(Code)
This implementation is coupled tightly with some underlying issues that the Struts PojoProcessor plugin has with how objects get instantiated within lists. The first three lines are required otherwise when the PojoProcessor tries to automatically inject values into the list, it will get an index out of bounds error if the instance at an index is being called and prior instances at indices before that one are not being instantiated. So changing the code below will cause adding lines to break if you add more than one item to the list.
See Also:   org.kuali.kfs.document.AccountingDocument.getTargetAccountingLine(int)



getTargetAccountingLineClass
public Class getTargetAccountingLineClass()(Code)
Returns the default Target accounting line class.
See Also:   org.kuali.kfs.document.AccountingDocument.getTargetAccountingLineClass



getTargetAccountingLineEntryName
public String getTargetAccountingLineEntryName()(Code)



getTargetAccountingLines
public List getTargetAccountingLines()(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.getTargetAccountingLines



getTargetAccountingLinesForComparison
protected List getTargetAccountingLinesForComparison()(Code)
This method gets the Target Accounting Lines that will be used in comparisons



getTargetAccountingLinesSectionTitle
public String getTargetAccountingLinesSectionTitle()(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.getTargetAccountingLinesSectionTitle



getTargetTotal
public KualiDecimal getTargetTotal()(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.getTargetTotal



getTotalDollarAmount
public KualiDecimal getTotalDollarAmount()(Code)
Since one side of the document should match the other and the document should balance, the total dollar amount for the document should either be the expense line or the income line. This is the default implementation of this interface method so it should be overridden appropriately if your document cannot make this assumption. if target total is zero, source total, otherwise target total



prepareForSave
public void prepareForSave(KualiDocumentEvent event)(Code)



setNextSourceLineNumber
public void setNextSourceLineNumber(Integer nextLineNumber)(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.setNextSourceLineNumber(java.lang.Integer)



setNextTargetLineNumber
public void setNextTargetLineNumber(Integer nextLineNumber)(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.setNextTargetLineNumber(java.lang.Integer)



setSourceAccountingLines
public void setSourceAccountingLines(List sourceLines)(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.setSourceAccountingLines(java.util.List)



setTargetAccountingLines
public void setTargetAccountingLines(List targetLines)(Code)

See Also:   org.kuali.kfs.document.AccountingDocument.setTargetAccountingLines(java.util.List)



toCopy
public void toCopy() throws WorkflowException(Code)

See Also:   org.kuali.kfs.document.GeneralLedgerPostingDocumentBase.toCopy



toErrorCorrection
public void toErrorCorrection() throws WorkflowException(Code)

See Also:   org.kuali.kfs.document.GeneralLedgerPostingDocumentBase.toErrorCorrection



Fields inherited from org.kuali.kfs.document.GeneralLedgerPostingDocumentBase
protected List<GeneralLedgerPendingEntry> generalLedgerPendingEntries(Code)(Java Doc)

Methods inherited from org.kuali.kfs.document.GeneralLedgerPostingDocumentBase
public List<SufficientFundsItem> checkSufficientFunds()(Code)(Java Doc)
public boolean documentPerformsSufficientFundsCheck()(Code)(Java Doc)
public List<GeneralLedgerPendingEntry> getGeneralLedgerPendingEntries()(Code)(Java Doc)
public GeneralLedgerPendingEntry getGeneralLedgerPendingEntry(int index)(Code)(Java Doc)
public List<GeneralLedgerPendingEntry> getPendingLedgerEntriesForSufficientFundsChecking()(Code)(Java Doc)
public void handleRouteStatusChange()(Code)(Java Doc)
public boolean isBankCashOffsetEnabled()(Code)(Java Doc)
public void prepareForSave(KualiDocumentEvent event)(Code)(Java Doc)
protected void removeGeneralLedgerPendingEntries()(Code)(Java Doc)
public void setGeneralLedgerPendingEntries(List<GeneralLedgerPendingEntry> generalLedgerPendingEntries)(Code)(Java Doc)
public void toCopy() throws WorkflowException(Code)(Java Doc)
public void toErrorCorrection() throws WorkflowException(Code)(Java Doc)

Fields inherited from org.kuali.kfs.document.LedgerPostingDocumentBase
protected AccountingPeriod accountingPeriod(Code)(Java Doc)
protected boolean checkPostingYearForCopy(Code)(Java Doc)
protected String postingPeriodCode(Code)(Java Doc)
protected Integer postingYear(Code)(Java Doc)

Methods inherited from org.kuali.kfs.document.LedgerPostingDocumentBase
public AccountingPeriod getAccountingPeriod()(Code)(Java Doc)
public boolean getAllowsErrorCorrection()(Code)(Java Doc)
public String getPostingPeriodCode()(Code)(Java Doc)
public Integer getPostingYear()(Code)(Java Doc)
public void setAccountingPeriod(AccountingPeriod accountingPeriod)(Code)(Java Doc)
public void setPostingPeriodCode(String postingPeriodCode)(Code)(Java Doc)
public void setPostingYear(Integer postingYear)(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.