public class CollectorReportData extends Object
Constructor and Description |
---|
CollectorReportData() |
Modifier and Type | Method and Description |
---|---|
void |
addBatch(CollectorBatch batch)
Adds a batch to this report data object.
|
Iterator<CollectorBatch> |
getAddedBatches() |
Set<String> |
getAllUnparsableFileNames() |
Map<Transaction,List<Message>> |
getBatchOriginEntryScrubberErrors(CollectorBatch batch)
Returns the scrubber errors related to a batch
|
DemergerReportData |
getDemergerReportData(CollectorBatch batch) |
Map<String,String> |
getEmailSendingStatus() |
LedgerSummaryReport |
getLedgerSummaryReport()
Gets the ledgerSummaryReport attribute.
|
Collection<String> |
getLoadedfileNames() |
org.kuali.rice.krad.util.MessageMap |
getMessageMapForFileName(String fileName) |
int |
getNumberOfAddedBatches()
Returns the number of batches that have been added using the
addBatch(CollectorBatch) method |
Integer |
getNumDetailAccountValuesChanged(CollectorBatch batch) |
Integer |
getNumDetailDeleted(CollectorBatch batch) |
Integer |
getNumInputDetails(CollectorBatch batch) |
int |
getNumNotPersistedBatches()
Gets the numNotPersistedBatches attribute.
|
int |
getNumNotPersistedCollectorDetailRecords() |
int |
getNumNotPersistedOriginEntryRecords() |
int |
getNumPersistedBatches()
Gets the numPersistedBatches attribute.
|
Integer |
getNumSavedDetails(CollectorBatch batch) |
PreScrubberReportData |
getPreScrubberReportData() |
ScrubberReportData |
getScrubberReportData(CollectorBatch batch) |
Map<DocumentGroupData,OriginEntryTotals> |
getTotalsOnInputOriginEntriesAssociatedWithErrorGroup(CollectorBatch batch)
Returns the totals or all origin entries in the input group that match the document group (doc #, doc type, origination code)
of at least one origin entry in the error group, which is generated by the scrubber
|
void |
incrementNumNonPersistedBatches() |
void |
incrementNumNotPersistedCollectorDetailRecords(int records) |
void |
incrementNumNotPersistedOriginEntryRecords(int records) |
void |
incrementNumPersistedBatches() |
boolean |
isBatchAdded(CollectorBatch batch)
Returns whether a batch has already been added
|
boolean |
isBatchValid(CollectorBatch batch)
Returns true if batch is valid; False if invalid
|
void |
markUnparsableFileNames(String fileName) |
void |
markValidationStatus(CollectorBatch batch,
boolean validStatus)
Marks whether or not a batch is valid or not
|
void |
setBatchDetailScrubberErrors(CollectorBatch batch,
Map<CollectorDetail,List<Message>> errorsMap)
Stores the errors encountered trying to scrub the InterDepartmentalBilling records in the given batch.
|
void |
setBatchOriginEntryScrubberErrors(CollectorBatch batch,
Map<Transaction,List<Message>> errorsMap)
Stores the errors encountered trying to scrub the InterDepartmentalBilling records in the given batch.
|
void |
setDemergerReportData(CollectorBatch batch,
DemergerReportData demergerReportData) |
void |
setEmailSendingStatusForParsedBatch(CollectorBatch batch,
String emailStatus) |
void |
setNumDetailAccountValuesChanged(CollectorBatch batch,
Integer numDetailAccountValuesChanged)
Sets the number of times the details in a batch have had their account numbers changed
|
void |
setNumDetailDeleted(CollectorBatch batch,
Integer numDetailDeleted) |
void |
setNumInputDetails(CollectorBatch batch) |
void |
setNumSavedDetails(CollectorBatch batch,
Integer numSavedDetails) |
void |
setScrubberReportData(CollectorBatch batch,
ScrubberReportData scrubberReportData) |
void |
setTotalsOnInputOriginEntriesAssociatedWithErrorGroup(CollectorBatch batch,
Map<DocumentGroupData,OriginEntryTotals> totals)
Stores the totals or all origin entries in the input group that match the document group (doc #, doc type, origination code)
of at least one origin entry in the error group, which is generated by the scrubber
|
protected void |
throwExceptionIfBatchNotAdded(CollectorBatch batch)
Throws exception if batch has not been added
|
public CollectorReportData()
public void addBatch(CollectorBatch batch)
batch
- collector batch from xml inputpublic boolean isBatchAdded(CollectorBatch batch)
batch
- collector batch from xml inputpublic int getNumberOfAddedBatches()
addBatch(CollectorBatch)
methodprotected void throwExceptionIfBatchNotAdded(CollectorBatch batch)
batch
- public void setBatchDetailScrubberErrors(CollectorBatch batch, Map<CollectorDetail,List<Message>> errorsMap)
batch
- collector batch from input xmlerrorsMap
- contains a map of all errors encountered while trying to scrub InterDepartmentalBilling recordspublic void setBatchOriginEntryScrubberErrors(CollectorBatch batch, Map<Transaction,List<Message>> errorsMap)
batch
- collector batch from input xmlerrorsMap
- public Map<Transaction,List<Message>> getBatchOriginEntryScrubberErrors(CollectorBatch batch)
batch
- collector batch from input xmlpublic void setScrubberReportData(CollectorBatch batch, ScrubberReportData scrubberReportData)
public ScrubberReportData getScrubberReportData(CollectorBatch batch)
public void setDemergerReportData(CollectorBatch batch, DemergerReportData demergerReportData)
public DemergerReportData getDemergerReportData(CollectorBatch batch)
public void markUnparsableFileNames(String fileName)
public Set<String> getAllUnparsableFileNames()
public void setEmailSendingStatusForParsedBatch(CollectorBatch batch, String emailStatus)
public Iterator<CollectorBatch> getAddedBatches()
public Map<String,String> getEmailSendingStatus()
public void setNumDetailAccountValuesChanged(CollectorBatch batch, Integer numDetailAccountValuesChanged)
batch
- collector batch from input xmlpublic Integer getNumDetailAccountValuesChanged(CollectorBatch batch)
public void setNumDetailDeleted(CollectorBatch batch, Integer numDetailDeleted)
public Integer getNumDetailDeleted(CollectorBatch batch)
public void setTotalsOnInputOriginEntriesAssociatedWithErrorGroup(CollectorBatch batch, Map<DocumentGroupData,OriginEntryTotals> totals)
batch
- collector batch from input xmltotals
- a map such that the key is a document group (doc #, doc type, origination code) and the value is the totals of
the origin entry of all thosepublic Map<DocumentGroupData,OriginEntryTotals> getTotalsOnInputOriginEntriesAssociatedWithErrorGroup(CollectorBatch batch)
batch
- return a map such that the key is a document group (doc #, doc type, origination code) and the value is the
totals of the origin entry of all thosepublic void setNumInputDetails(CollectorBatch batch)
public Integer getNumInputDetails(CollectorBatch batch)
public void setNumSavedDetails(CollectorBatch batch, Integer numSavedDetails)
public Integer getNumSavedDetails(CollectorBatch batch)
public void incrementNumPersistedBatches()
public int getNumPersistedBatches()
public void incrementNumNonPersistedBatches()
public int getNumNotPersistedBatches()
public void incrementNumNotPersistedOriginEntryRecords(int records)
public int getNumNotPersistedOriginEntryRecords()
public void incrementNumNotPersistedCollectorDetailRecords(int records)
public int getNumNotPersistedCollectorDetailRecords()
public void markValidationStatus(CollectorBatch batch, boolean validStatus)
batch
- collector batch from input xmlvalidStatus
- valid status fro batchpublic boolean isBatchValid(CollectorBatch batch)
batch
- collector batch from input xmlpublic LedgerSummaryReport getLedgerSummaryReport()
public PreScrubberReportData getPreScrubberReportData()
public org.kuali.rice.krad.util.MessageMap getMessageMapForFileName(String fileName)
public Collection<String> getLoadedfileNames()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.