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


java.lang.Object
   org.kuali.module.financial.service.impl.DisbursementVoucherTaxServiceImpl

DisbursementVoucherTaxServiceImpl
public class DisbursementVoucherTaxServiceImpl implements DisbursementVoucherTaxService,DisbursementVoucherRuleConstants(Code)
This is the default implementation of the DisbursementVoucherExtractService interface. This class handles queries and validation on tax id numbers.




Method Summary
public  voidclearNRATaxLines(DisbursementVoucherDocument document)
     Removes non-resident alien (NRA) tax lines from the document's accounting lines and updates the check total.
public  BusinessObjectServicegetBusinessObjectService()
     Gets the value of the businessObjectService instance.
public  MaintenanceDocumentServicegetMaintenanceDocumentService()
     Gets the value of the maintenanceDocumentService instance.
public  List<Integer>getNRATaxLineNumbers(String taxLineString)
     Parses the tax line string given and returns a list of line numbers as Integers.
Parameters:
  taxLineString - The string to be parsed.
public  KualiDecimalgetNonResidentAlienTaxAmount(DisbursementVoucherDocument document)
     This method retrieves the non-resident alien (NRA) tax amount using the disbursement voucher given to calculate the amount.
public  StringgetPayeeId(String taxIDNumber, String taxPayerTypeCode)
     This method retrieves the payee identification code for the payee found who has a matching tax id and tax payer type code.
Parameters:
  taxIDNumber - The tax id number used to retrieve the associated payee.
Parameters:
  taxPayerTypeCode - The tax payer type code used to retrieve the associated payee.
public  StringgetPendingPayeeId(String taxIDNumber, String taxPayerTypeCode)
     This method retrieves the pending payee id based on the tax id and payer type code provided.
public  StringgetUniversalId(String taxIDNumber, String taxPayerTypeCode)
     This method retrieves the universal id of the individual or business entity who matches the tax id number and type code given.
Parameters:
  taxIDNumber - The tax identification number of the user being retrieved.
Parameters:
  taxPayerTypeCode - The tax payer type code of the user being retrieved.
public  UniversalUserServicegetUniversalUserService()
     Gets the value of the universalUserService instance.
public  StringgetVendorId(String taxIDNumber, String taxPayerTypeCode)
     This method is not currently implemented.
public  voidprocessNonResidentAlienTax(DisbursementVoucherDocument document)
     This method validates the non-resident alien (NRA) tax information for the document and if the information validates, the NRA tax lines are generated.
public  voidsetBusinessObjectService(BusinessObjectService businessObjectService)
     This method sets the businessObjectService attribute to the value given.
public  voidsetMaintenanceDocumentService(MaintenanceDocumentService maintenanceDocumentService)
     This method sets the maintenanceDocumentService attribute to the value given.
public  voidsetParameterService(ParameterService parameterService)
     This method sets the parameterService attribute to the value given.
public  voidsetUniversalUserService(UniversalUserService universalUserService)
     This method sets the universalUserService attribute to the value given.



Method Detail
clearNRATaxLines
public void clearNRATaxLines(DisbursementVoucherDocument document)(Code)
Removes non-resident alien (NRA) tax lines from the document's accounting lines and updates the check total.
Parameters:
  document - The disbursement voucher the NRA tax lines will be removed from.



getBusinessObjectService
public BusinessObjectService getBusinessObjectService()(Code)
Gets the value of the businessObjectService instance. Returns the businessObjectService.



getMaintenanceDocumentService
public MaintenanceDocumentService getMaintenanceDocumentService()(Code)
Gets the value of the maintenanceDocumentService instance. Returns the maintenanceDocumentService.



getNRATaxLineNumbers
public List<Integer> getNRATaxLineNumbers(String taxLineString)(Code)
Parses the tax line string given and returns a list of line numbers as Integers.
Parameters:
  taxLineString - The string to be parsed. A collection of line numbers represented as Integers.



getNonResidentAlienTaxAmount
public KualiDecimal getNonResidentAlienTaxAmount(DisbursementVoucherDocument document)(Code)
This method retrieves the non-resident alien (NRA) tax amount using the disbursement voucher given to calculate the amount. If the payee is not a non-resident alien or they are and there is no gross up code set, the amount returned will be zero. If the payee is a non-resident alien and gross up has been set, the amount is calculated by retrieving all the source accounting lines for the disbursement voucher provided and summing the amounts of all the lines that are NRA tax lines.
Parameters:
  document - The disbursement voucher the NRA tax line amount will be calculated for. The NRA tax amount applicable to the given disbursement voucher or zero if the voucher does not have any NRA tax lines.
See Also:   org.kuali.module.financial.service.DisbursementVoucherTaxService.getNonResidentAlienTaxAmount(org.kuali.module.financial.document.DisbursementVoucherDocument)



getPayeeId
public String getPayeeId(String taxIDNumber, String taxPayerTypeCode)(Code)
This method retrieves the payee identification code for the payee found who has a matching tax id and tax payer type code.
Parameters:
  taxIDNumber - The tax id number used to retrieve the associated payee.
Parameters:
  taxPayerTypeCode - The tax payer type code used to retrieve the associated payee. See the TAX_TYPE_* constants defined in DisbursementVoucherRuleConstants for examples of valid tax type codes. The id of the payee found matching the tax id and type code provided. Null if no matching payee is found.
See Also:   org.kuali.module.financial.service.DisbursementVoucherTaxService.getPayeeNumber(java.lang.Stringjava.lang.String)



getPendingPayeeId
public String getPendingPayeeId(String taxIDNumber, String taxPayerTypeCode)(Code)
This method retrieves the pending payee id based on the tax id and payer type code provided.
Parameters:
  taxIDNumber - The tax id number used to retrieve the matching pending payee.
Parameters:
  taxPayerTypeCode - The tax payer type code used to retrieve the matching pending payee. The id of the pending payee matching the values given or null if no matching payee is found.
See Also:   org.kuali.module.financial.service.DisbursementVoucherTaxService.getPendingPayeeNumber(java.lang.Stringjava.lang.String)
See Also:   org.kuali.core.service.MaintenanceDocumentService.getPendingObjects(Class)



getUniversalId
public String getUniversalId(String taxIDNumber, String taxPayerTypeCode)(Code)
This method retrieves the universal id of the individual or business entity who matches the tax id number and type code given.
Parameters:
  taxIDNumber - The tax identification number of the user being retrieved.
Parameters:
  taxPayerTypeCode - The tax payer type code of the user being retrieved. See the TAX_TYPE_* constants defined in DisbursementVoucherRuleConstants for examples of valid tax type codes. The universal id of the individual who matches the tax id and type code given. Null if no matching user is found.
See Also:   org.kuali.module.financial.service.DisbursementVoucherTaxService.getEmployeeNumber(java.lang.Stringjava.lang.String)



getUniversalUserService
public UniversalUserService getUniversalUserService()(Code)
Gets the value of the universalUserService instance. Returns the universalUserService.



getVendorId
public String getVendorId(String taxIDNumber, String taxPayerTypeCode)(Code)
This method is not currently implemented. This method will be implemented once the EPIC vendor system in integrated into Kuali. Until then, this method will always return null and should not be used.
Parameters:
  taxIDNumber - The tax id number used to retrieve the associated vendor.
Parameters:
  taxPayerTypeCode - The tax payer type code used to retrieve the associated vendor. Always returns null.
See Also:   org.kuali.module.financial.service.DisbursementVoucherTaxService.getVendorNumber(java.lang.Stringjava.lang.String)



processNonResidentAlienTax
public void processNonResidentAlienTax(DisbursementVoucherDocument document)(Code)
This method validates the non-resident alien (NRA) tax information for the document and if the information validates, the NRA tax lines are generated.
Parameters:
  document - The disbursement voucher document the NRA tax information will be validated and the subsequent tax lines generated for.
See Also:   org.kuali.module.financial.service.DisbursementVoucherTaxService.processNonResidentAlienTax(org.kuali.module.financial.document.DisbursementVoucherDocumentjava.util.List)



setBusinessObjectService
public void setBusinessObjectService(BusinessObjectService businessObjectService)(Code)
This method sets the businessObjectService attribute to the value given.
Parameters:
  businessObjectService - The businessObjectService to set.



setMaintenanceDocumentService
public void setMaintenanceDocumentService(MaintenanceDocumentService maintenanceDocumentService)(Code)
This method sets the maintenanceDocumentService attribute to the value given.
Parameters:
  maintenanceDocumentService - The maintenanceDocumentService to set.



setParameterService
public void setParameterService(ParameterService parameterService)(Code)
This method sets the parameterService attribute to the value given.
Parameters:
  parameterService - The ParameterService to be set.



setUniversalUserService
public void setUniversalUserService(UniversalUserService universalUserService)(Code)
This method sets the universalUserService attribute to the value given.
Parameters:
  universalUserService - The universalUserService to set.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.