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


java.lang.Object
   org.kuali.module.gl.service.impl.scrubber.CollectorScrubberProcess

CollectorScrubberProcess
public class CollectorScrubberProcess (Code)
This class scrubs the billing details in a collector batch. Note that all services used by this class are passed in as parameters to the constructor. NOTE: IT IS IMPERATIVE that a new instance of this class is constructed and used to parse each batch. Sharing instances to scrub multiple batches may lead to unpredictable results.


Field Summary
protected  CollectorBatchbatch
    
protected  CollectorReportDatacollectorReportData
    
protected  Set<DocumentGroupData>errorDocumentGroups
    
protected  OriginEntryGrouperrorGroup
    
protected  OriginEntryGroupexpiredGroup
    
protected  OriginEntryGroupinputGroup
    
protected  KualiConfigurationServicekualiConfigurationService
    
protected  OriginEntryGroupServiceoriginEntryGroupService
    
protected  OriginEntryServiceoriginEntryService
    
protected  PersistenceServicepersistenceService
    
protected  ScrubberServicescrubberService
    
protected  OriginEntryGroupvalidGroup
    

Constructor Summary
public  CollectorScrubberProcess(CollectorBatch batch, OriginEntryService originEntryService, OriginEntryGroupService originEntryGroupService, KualiConfigurationService kualiConfigurationService, PersistenceService persistenceService, ScrubberService scrubberService, CollectorReportData collectorReportData)
     Constructs a CollectorScrubberProcess.java.

Method Summary
protected  voidapplyChangesToDetailsFromScrubberEdits(Map<OriginEntry, OriginEntry> unscrubbedToScrubbedEntries)
    
protected  voidapplyScrubberEditsToDetail(OriginEntry originEntry, CollectorDetail detail)
    
protected  booleanisOriginEntryRelatedToDetailRecord(OriginEntry originEntry, CollectorDetail detail)
    
protected  voidremoveInterDepartmentalBillingAssociatedWithErrorGroup()
     This method's purpose is similar to the scrubber's demerger.
protected  voidremoveInterDepartmentalBillingNotAssociatedWithInputEntries()
    
protected  voidretainBatchValidEntriesOnly()
    
protected  voidretrieveErrorDocumentGroups()
    
protected  voidretrieveTotalsOnInputOriginEntriesAssociatedWithErrorGroup()
     Computes the totals of the input entries that were associated with the entries in the error group, which is created in the scrubber.
public  CollectorScrubberStatusscrub()
    

Field Detail
batch
protected CollectorBatch batch(Code)



collectorReportData
protected CollectorReportData collectorReportData(Code)



errorDocumentGroups
protected Set<DocumentGroupData> errorDocumentGroups(Code)



errorGroup
protected OriginEntryGroup errorGroup(Code)



expiredGroup
protected OriginEntryGroup expiredGroup(Code)



inputGroup
protected OriginEntryGroup inputGroup(Code)



kualiConfigurationService
protected KualiConfigurationService kualiConfigurationService(Code)



originEntryGroupService
protected OriginEntryGroupService originEntryGroupService(Code)



originEntryService
protected OriginEntryService originEntryService(Code)



persistenceService
protected PersistenceService persistenceService(Code)



scrubberService
protected ScrubberService scrubberService(Code)



validGroup
protected OriginEntryGroup validGroup(Code)




Constructor Detail
CollectorScrubberProcess
public CollectorScrubberProcess(CollectorBatch batch, OriginEntryService originEntryService, OriginEntryGroupService originEntryGroupService, KualiConfigurationService kualiConfigurationService, PersistenceService persistenceService, ScrubberService scrubberService, CollectorReportData collectorReportData)(Code)
Constructs a CollectorScrubberProcess.java.
Parameters:
  batch - the batch to scrub
Parameters:
  inputGroup - the origin entry group that holds all of the origin entries coming from the parsed input groups in thegiven batch
Parameters:
  validGroup - the origin entry group that holds all of the origin entries coming that are in the origin entry scrubbervalid group
Parameters:
  errorGroup - the origin entry group that holds all of the origin entries coming that are in the origin entry scrubbererror group
Parameters:
  expiredGroup - are in the origin entry scrubber valid group that are in the origin entry scrubber expired group
Parameters:
  originEntryService - the origin entry service that holds the origin entries in the batch (not necessarily the defaultimplementation)
Parameters:
  originEntryGroupService - the origin entry group service that holds the 3 group parameters (not necessarily the defaultimplementation)
Parameters:
  kualiConfigurationService - the config service
Parameters:
  persistenceService - the persistence service




Method Detail
applyChangesToDetailsFromScrubberEdits
protected void applyChangesToDetailsFromScrubberEdits(Map<OriginEntry, OriginEntry> unscrubbedToScrubbedEntries)(Code)
Updates all Collector details with the data from scrubbed origin entries
Parameters:
  unscrubbedToScrubbedEntries - a Map relating original origin entries to scrubbed origin entries



applyScrubberEditsToDetail
protected void applyScrubberEditsToDetail(OriginEntry originEntry, CollectorDetail detail)(Code)
Updates the Collector detail with the data from a scrubbed entry
Parameters:
  originEntry - a scrubbed origin entry
Parameters:
  detail - a Collector detail to update



isOriginEntryRelatedToDetailRecord
protected boolean isOriginEntryRelatedToDetailRecord(OriginEntry originEntry, CollectorDetail detail)(Code)
Determines if an origin entry is related to the given Collector detail record
Parameters:
  originEntry - the origin entry to check
Parameters:
  detail - the Collector detail to check against true if the origin entry is related, false otherwise



removeInterDepartmentalBillingAssociatedWithErrorGroup
protected void removeInterDepartmentalBillingAssociatedWithErrorGroup()(Code)
This method's purpose is similar to the scrubber's demerger. This method scans through all of the origin entries and removes those billing details that share the same doc number, doc type, and origination code



removeInterDepartmentalBillingNotAssociatedWithInputEntries
protected void removeInterDepartmentalBillingNotAssociatedWithInputEntries()(Code)
Removes Collector IB details not associated with entries in the Collector data



retainBatchValidEntriesOnly
protected void retainBatchValidEntriesOnly()(Code)
Updates the origin entries read in by the collector are only the entries the scrubber declared valid



retrieveErrorDocumentGroups
protected void retrieveErrorDocumentGroups()(Code)
Based on the origin entries in the origin entry scrubber-produced error group, creates a set of all DocumentGroupData s represented by those origin entries and initializes the CollectorScrubberProcess.errorDocumentGroups variable



retrieveTotalsOnInputOriginEntriesAssociatedWithErrorGroup
protected void retrieveTotalsOnInputOriginEntriesAssociatedWithErrorGroup()(Code)
Computes the totals of the input entries that were associated with the entries in the error group, which is created in the scrubber. For the purposes of this method, an input origin entry associated with the error group is (1) an origin entry that was parsed from the collector file (i.e. in the input group), and (2) these exists an origin entry in the error group such that the input origin entry and the error origin entry have equal doc number, doc type, and origination code. These totals are reflected in the collector report data object.



scrub
public CollectorScrubberStatus scrub()(Code)
Scrubs the entries read in by the Collector a CollectorScrubberStatus object encapsulating the results of the scrubbing process



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)

ww_w.___j_av___a___2_s_.c_o___m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.