|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.fp.batch.service.impl.ProcurementCardLoadTransactionsServiceImpl
public class ProcurementCardLoadTransactionsServiceImpl
This is the default implementation of the ProcurementCardLoadTransactionsService interface. Handles loading, parsing, and storing of incoming procurement card batch files.
ProcurementCardCreateDocumentService
Constructor Summary | |
---|---|
ProcurementCardLoadTransactionsServiceImpl()
|
Method Summary | |
---|---|
void |
cleanTransactionsTable()
Calls businessObjectService to remove all the procurement card transaction rows from the transaction load table. |
boolean |
loadProcurementCardFile(String fileName)
Validates and parses the given file, then stores transactions into a temp table. |
protected void |
loadTransactions(List transactions)
Loads all the parsed XML transactions into the temp transaction table. |
void |
setBatchInputFileService(BatchInputFileService batchInputFileService)
Sets the batchInputFileService attribute value. |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
void |
setProcurementCardInputFileType(BatchInputFileType procurementCardInputFileType)
Sets the procurementCardInputFileType attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcurementCardLoadTransactionsServiceImpl()
Method Detail |
---|
public boolean loadProcurementCardFile(String fileName)
loadProcurementCardFile
in interface ProcurementCardLoadTransactionsService
fileName
- The name of the file to be parsed.
org.kuali.kfs.fp.batch.service.ProcurementCardCreateDocumentService#loadProcurementCardFile()
public void cleanTransactionsTable()
cleanTransactionsTable
in interface ProcurementCardLoadTransactionsService
protected void loadTransactions(List transactions)
transactions
- List of ProcurementCardTransactions to load.public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.public void setBatchInputFileService(BatchInputFileService batchInputFileService)
batchInputFileService
- The batchInputFileService to set.public void setProcurementCardInputFileType(BatchInputFileType procurementCardInputFileType)
procurementCardInputFileType
- The procurementCardInputFileType to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |