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


java.lang.Object
   org.kuali.module.gl.service.impl.CollectorHelperServiceImpl

CollectorHelperServiceImpl
public class CollectorHelperServiceImpl implements CollectorHelperService(Code)
The base implementation of CollectorHelperService
See Also:   org.kuali.module.gl.service.CollectorService




Method Summary
protected  StringattemptToParseEmailAfterParseError(String fileName)
     After a parse error, tries to go through the file to see if the email address can be determined.
public  booleancheckTrailerTotals(CollectorBatch batch, CollectorReportData collectorReportData)
     Checks the batch total line count and amounts against the trailer.
protected  booleancheckTrailerTotals(CollectorBatch batch, CollectorReportData collectorReportData, ErrorMap errorMap)
     Checks the batch total line count and amounts against the trailer.
protected  StringgetBalanceTypeCode(CollectorDetail collectorDetail, CollectorBatch batch)
     Returns the balance type code for the interDepartmentalBilling record.
public  StringgetStagingDirectory()
    
public  booleanloadCollectorFile(String fileName, OriginEntryGroup originEntryGroup, CollectorReportData collectorReportData, List<CollectorScrubberStatus> collectorScrubberStatuses)
     Parses the given file, validates the batch, stores the entries, and sends email.
protected  voidnegateAmountIfNecessary(CollectorDetail collectorDetail, BalanceTyp balanceTyp, ObjectType objectType, CollectorBatch batch)
     Negates the amount of the internal departmental billing detail record if necessary.
public  booleanperformValidation(CollectorBatch batch)
     Validates the contents of a parsed file.
protected  booleanperformValidation(CollectorBatch batch, ErrorMap errorMap)
    
protected  voidprocessInterDepartmentalBillingAmounts(CollectorBatch batch)
     Modifies the amounts in the ID Billing Detail rows, depending on specific business rules.
public  voidsetBatchInputFileService(BatchInputFileService batchInputFileService)
    
public  voidsetCollectorDetailService(CollectorDetailService collectorDetailService)
    
public  voidsetCollectorInputFileType(BatchInputFileType collectorInputFileType)
    
public  voidsetCollectorScrubberService(CollectorScrubberService collectorScrubberService)
     Sets the collectorScrubberService attribute value.
public  voidsetConfigurationService(KualiConfigurationService configurationService)
    
public  voidsetDateTimeService(DateTimeService dateTimeService)
    
public  voidsetMailService(MailService mailService)
    
public  voidsetOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
    
public  voidsetOriginEntryService(OriginEntryService originEntryService)
    
public  voidsetParameterService(ParameterService parameterService)
    



Method Detail
attemptToParseEmailAfterParseError
protected String attemptToParseEmailAfterParseError(String fileName)(Code)
After a parse error, tries to go through the file to see if the email address can be determined. This method will not throw an exception. It's not doing much right now, just returning null
Parameters:
  fileName - the name of the file that a parsing error occurred on the email from the file



checkTrailerTotals
public boolean checkTrailerTotals(CollectorBatch batch, CollectorReportData collectorReportData)(Code)
Checks the batch total line count and amounts against the trailer. Any errors will be contained in GlobalVariables.errorMap
Parameters:
  batch - batch to check totals for
Parameters:
  collectorReportData - collector report data (optional)
See Also:   org.kuali.module.gl.service.CollectorHelperService.checkTrailerTotals(org.kuali.module.gl.batch.collector.CollectorBatchorg.kuali.module.gl.util.CollectorReportData)



checkTrailerTotals
protected boolean checkTrailerTotals(CollectorBatch batch, CollectorReportData collectorReportData, ErrorMap errorMap)(Code)
Checks the batch total line count and amounts against the trailer. Any errors will be contained in GlobalVariables.errorMap
Parameters:
  batch - - batch to check totals for boolean - true if validation was successful, false it not



getBalanceTypeCode
protected String getBalanceTypeCode(CollectorDetail collectorDetail, CollectorBatch batch)(Code)
Returns the balance type code for the interDepartmentalBilling record. This default implementation will look into the system parameters to determine the balance type
Parameters:
  interDepartmentalBilling - a inter departmental billing detail record
Parameters:
  batch - the batch to which the interDepartmentalBilling billing belongs the balance type code for the billing detail



getStagingDirectory
public String getStagingDirectory()(Code)
Returns the name of the directory where Collector files are saved the name of the staging directory



loadCollectorFile
public boolean loadCollectorFile(String fileName, OriginEntryGroup originEntryGroup, CollectorReportData collectorReportData, List<CollectorScrubberStatus> collectorScrubberStatuses)(Code)
Parses the given file, validates the batch, stores the entries, and sends email.
Parameters:
  fileName - - name of file to load (including path)
Parameters:
  group - the group into which to persist the origin entries for the collector batch/file
Parameters:
  collectorReportData - the object used to store all of the collector status information for reporting
Parameters:
  collectorScrubberStatuses - if the collector scrubber is able to be invoked upon this collector batch, then the statusinfo of the collector status run is added to the end of this list boolean - true if load was successful, false if errors were encountered
See Also:   org.kuali.module.gl.service.CollectorService.loadCollectorFile(java.lang.String)



negateAmountIfNecessary
protected void negateAmountIfNecessary(CollectorDetail collectorDetail, BalanceTyp balanceTyp, ObjectType objectType, CollectorBatch batch)(Code)
Negates the amount of the internal departmental billing detail record if necessary. For this default implementation, if the balance type's offset indicator is yes and the object type has a debit indicator, then the amount is negated.
Parameters:
  collectorDetail - the collector detail
Parameters:
  balanceTyp - the balance type
Parameters:
  objectType - the object type
Parameters:
  batch - the patch to which the interDepartmentalBilling parameter belongs



performValidation
public boolean performValidation(CollectorBatch batch)(Code)
Validates the contents of a parsed file.
Parameters:
  batch - - batch to validate boolean - true if validation was OK, false if there were errors
See Also:   org.kuali.module.gl.service.CollectorHelperService.performValidation(org.kuali.module.gl.batch.collector.CollectorBatch)



performValidation
protected boolean performValidation(CollectorBatch batch, ErrorMap errorMap)(Code)
Performs the following checks on the collector batch: Any errors will be contained in GlobalVariables.errorMap
Parameters:
  batch - - batch to validate
Parameters:
  errorMap - the map into which to put errors encountered during validation boolean - true if validation was successful, false it not



processInterDepartmentalBillingAmounts
protected void processInterDepartmentalBillingAmounts(CollectorBatch batch)(Code)
Modifies the amounts in the ID Billing Detail rows, depending on specific business rules. For this default implementation, see the CollectorHelperServiceImpl.negateAmountIfNecessary(InterDepartmentalBilling,BalanceTyp,ObjectType,CollectorBatch) method to see how the billing detail amounts are modified.
Parameters:
  batch - a CollectorBatch to process



setBatchInputFileService
public void setBatchInputFileService(BatchInputFileService batchInputFileService)(Code)



setCollectorDetailService
public void setCollectorDetailService(CollectorDetailService collectorDetailService)(Code)



setCollectorInputFileType
public void setCollectorInputFileType(BatchInputFileType collectorInputFileType)(Code)



setCollectorScrubberService
public void setCollectorScrubberService(CollectorScrubberService collectorScrubberService)(Code)
Sets the collectorScrubberService attribute value.
Parameters:
  collectorScrubberService - The collectorScrubberService to set.



setConfigurationService
public void setConfigurationService(KualiConfigurationService configurationService)(Code)



setDateTimeService
public void setDateTimeService(DateTimeService dateTimeService)(Code)



setMailService
public void setMailService(MailService mailService)(Code)



setOriginEntryGroupService
public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)(Code)



setOriginEntryService
public void setOriginEntryService(OriginEntryService originEntryService)(Code)



setParameterService
public void setParameterService(ParameterService parameterService)(Code)



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.