public class CollectorBatch extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
Constructor and Description |
---|
CollectorBatch()
Constructs a CollectorBatch
|
Modifier and Type | Method and Description |
---|---|
void |
addCollectorDetail(CollectorDetail collectorDetail)
Adds a processed id billing to the list.
|
void |
addOriginEntry(OriginEntryFull orginEntry)
Adds a processed origin entry to the list.
|
void |
clearTotalAmount()
Sets the total amount field to null.
|
CollectorHeader |
createCollectorHeaderForStorage()
Creates a CollectorHeader from the batch to be used for storage
|
CollectorHeader |
createCollectorHeaderWithPKValuesOnly()
Creates an origin entry record with the PK values filled in only.
|
String |
getBatchName()
Gets the batchName attribute.
|
Integer |
getBatchSequenceNumber()
Gets the batchSequenceNumber attribute.
|
String |
getCampusCode()
Gets the campusCode attribute.
|
String |
getChartOfAccountsCode()
Gets the chartOfAccountsCode attribute.
|
protected static CollectorBatchHeaderFieldUtil |
getCollectorBatchHeaderFieldUtil() |
protected static CollectorBatchTrailerRecordFieldUtil |
getCollectorBatchTrailerRecordFieldUtil() |
List<CollectorDetail> |
getCollectorDetails()
Gets the idBillings attribute.
|
String |
getDepartmentName()
Gets the departmentName attribute.
|
String |
getEmailAddress()
Gets the emailAddress attribute.
|
String |
getFirstEmptyField()
Gets the firstEmptyField attribute
|
String |
getMailingAddress()
Gets the mailingAddress attribute.
|
org.kuali.rice.krad.util.MessageMap |
getMessageMap() |
String |
getOrganizationCode()
Gets the organizationCode attribute.
|
List<OriginEntryFull> |
getOriginEntries()
Gets the originEntries attribute.
|
OriginEntryTotals |
getOriginEntryTotals() |
String |
getPersonUserID()
Gets the personUserID attribute.
|
String |
getPhoneNumber()
Gets the phoneNumber attribute.
|
String |
getRecordType()
Gets the recordType attribute.
|
String |
getSecondEmptyField()
Gets the secondEmptyField attribute
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalAmount()
Gets the totalAmount attribute.
|
Integer |
getTotalRecords()
Gets the totalRecords attribute.
|
Date |
getTransmissionDate()
Gets the transmissionDate attribute.
|
String |
getUniversityFiscalYear()
Gets the universityFiscalYear attribute.
|
protected String |
getValue(String headerLine,
int s,
int e) |
boolean |
isHeaderlessBatch() |
protected Date |
parseSqlDate(String date) |
void |
prepareDataForStorage()
Uppercases the appropriate fields in the batch, if told to do so by the data dictionary
|
CollectorHeader |
retrieveDuplicateHeader()
Attempts to retrieve a collector header already exists with the primary key values given for this object
|
void |
setBatchName(String batchName)
Sets the batchName attribute value.
|
void |
setBatchSequenceNumber(Integer batchSequenceNumber)
Sets the batchSequenceNumber attribute value.
|
void |
setCampusCode(String campusCode)
Sets the campusCode attribute value.
|
void |
setChartOfAccountsCode(String chartOfAccountsCode)
Sets the chartOfAccountsCode attribute value.
|
void |
setCollectorDetails(List<CollectorDetail> idDetails)
Sets the idBillings attribute value.
|
void |
setDefaultsAndStore(CollectorReportData collectorReportData,
String demergerOutputFileName,
PrintStream originEntryOutputPs)
Sets defaults for fields not populated from file.
|
void |
setDepartmentName(String departmentName)
Sets the departmentName attribute value.
|
void |
setEmailAddress(String emailAddress)
Sets the emailAddress attribute value.
|
void |
setFirstEmptyField(String firstEmptyField)
Sets the firstEmptyField attribute
|
void |
setFromTextFileForCollectorBatch(String headerLine) |
void |
setFromTextFileForCollectorBatchTrailerRecord(String trailerLine,
int lineNumber) |
void |
setHeaderlessBatch(boolean headerlessBatch) |
void |
setMailingAddress(String mailingAddress)
Sets the mailingAddress attribute value.
|
void |
setMessageMap(org.kuali.rice.krad.util.MessageMap messageMap) |
void |
setOrganizationCode(String organizationCode)
Sets the organizationCode attribute value.
|
void |
setOriginEntries(List<OriginEntryFull> batchOriginEntry)
Sets the originEntries attribute value.
|
void |
setOriginEntryTotals(OriginEntryTotals originEntryTotals) |
void |
setPersonUserID(String personUserID)
Sets the personUserID attribute value.
|
void |
setPhoneNumber(String phoneNumber)
Sets the phoneNumber attribute value.
|
void |
setRecordType(String recordType)
Sets the recordType attribute.
|
void |
setSecondEmptyField(String secondEmptyField)
Sets the secondEmptyField attribute
|
void |
setTotalAmount(org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)
Sets the totalAmount attribute value.
|
void |
setTotalAmount(String totalAmount)
Sets the total amount from the String.
|
void |
setTotalRecords(Integer totalRecords)
Sets the totalRecords attribute value.
|
void |
setTransmissionDate(Date transmissionDate)
Sets the transmissionDate attribute value.
|
void |
setUniversityFiscalYear(String universityFiscalYear)
Sets the universityFiscalYear attribute
|
protected LinkedHashMap |
toStringMapper_RICE20_REFACTORME() |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
public CollectorBatch()
public String getUniversityFiscalYear()
public void setUniversityFiscalYear(String universityFiscalYear)
public Integer getBatchSequenceNumber()
public void setBatchSequenceNumber(Integer batchSequenceNumber)
public String getChartOfAccountsCode()
public void setChartOfAccountsCode(String chartOfAccountsCode)
public String getOrganizationCode()
public void setOrganizationCode(String organizationCode)
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalAmount()
public void setTotalAmount(org.kuali.rice.core.api.util.type.KualiDecimal totalAmount)
public void setTotalAmount(String totalAmount)
public void clearTotalAmount()
public String getSecondEmptyField()
public void setSecondEmptyField(String secondEmptyField)
public String getFirstEmptyField()
public void setFirstEmptyField(String firstEmptyField)
public Integer getTotalRecords()
public void setTotalRecords(Integer totalRecords)
public Date getTransmissionDate()
public void setTransmissionDate(Date transmissionDate)
public String getRecordType()
public void setRecordType(String recordType)
public String getEmailAddress()
public void setEmailAddress(String emailAddress)
public String getPersonUserID()
public void setPersonUserID(String personUserID)
public List<CollectorDetail> getCollectorDetails()
public void setCollectorDetails(List<CollectorDetail> idDetails)
public List<OriginEntryFull> getOriginEntries()
public void setOriginEntries(List<OriginEntryFull> batchOriginEntry)
public void addOriginEntry(OriginEntryFull orginEntry)
public void addCollectorDetail(CollectorDetail collectorDetail)
public CollectorHeader retrieveDuplicateHeader()
public void setDefaultsAndStore(CollectorReportData collectorReportData, String demergerOutputFileName, PrintStream originEntryOutputPs)
originEntryGroup
- the group into which to store the origin entriescollectorReportData
- report datapublic void prepareDataForStorage()
public CollectorHeader createCollectorHeaderForStorage()
public CollectorHeader createCollectorHeaderWithPKValuesOnly()
public String getCampusCode()
public void setCampusCode(String campusCode)
campusCode
- The campusCode to set.public String getDepartmentName()
public void setDepartmentName(String departmentName)
departmentName
- The departmentName to set.public String getMailingAddress()
public void setMailingAddress(String mailingAddress)
mailingAddress
- The mailingAddress to set.public String getPhoneNumber()
public void setPhoneNumber(String phoneNumber)
phoneNumber
- The phoneNumber to set.public String getBatchName()
public void setBatchName(String batchName)
batchName
- The batchName to set.public org.kuali.rice.krad.util.MessageMap getMessageMap()
public void setMessageMap(org.kuali.rice.krad.util.MessageMap messageMap)
public OriginEntryTotals getOriginEntryTotals()
public void setOriginEntryTotals(OriginEntryTotals originEntryTotals)
public boolean isHeaderlessBatch()
public void setHeaderlessBatch(boolean headerlessBatch)
protected LinkedHashMap toStringMapper_RICE20_REFACTORME()
protected Date parseSqlDate(String date) throws ParseException
ParseException
protected static CollectorBatchHeaderFieldUtil getCollectorBatchHeaderFieldUtil()
public void setFromTextFileForCollectorBatch(String headerLine)
protected static CollectorBatchTrailerRecordFieldUtil getCollectorBatchTrailerRecordFieldUtil()
public void setFromTextFileForCollectorBatchTrailerRecord(String trailerLine, int lineNumber)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.