public class ProcurementCardLoadTransactionsServiceImpl extends InitiateDirectoryBase implements ProcurementCardLoadTransactionsService
ProcurementCardCreateDocumentService
Modifier and Type | Field and Description |
---|---|
protected BatchInputFileService |
batchInputFileService |
protected org.kuali.rice.krad.service.BusinessObjectService |
businessObjectService |
protected BatchInputFileType |
procurementCardInputFileType |
Constructor and Description |
---|
ProcurementCardLoadTransactionsServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
cleanTransactionsTable()
Calls businessObjectService to remove all the procurement card transaction rows from the transaction load table.
|
List<String> |
getRequiredDirectoryNames()
Get the required list of directories name (full path)
|
boolean |
loadProcurementCardFile(String fileName,
ReportWriterService reportWriterService)
Validates and parses the file identified by the given files name.
|
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.krad.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.
|
void |
setProcurementCardInputFileType(BatchInputFileType procurementCardInputFileType)
Sets the procurementCardInputFileType attribute value.
|
prepareDirectories
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepareDirectories
protected org.kuali.rice.krad.service.BusinessObjectService businessObjectService
protected BatchInputFileService batchInputFileService
protected BatchInputFileType procurementCardInputFileType
public ProcurementCardLoadTransactionsServiceImpl()
public boolean loadProcurementCardFile(String fileName, ReportWriterService reportWriterService)
ProcurementCardLoadTransactionsService
loadProcurementCardFile
in interface ProcurementCardLoadTransactionsService
reportWriterService
- report writing service.ProcurementCardLoadTransactionsService.loadProcurementCardFile(java.lang.String, org.kuali.ole.sys.service.ReportWriterService)
public void cleanTransactionsTable()
cleanTransactionsTable
in interface ProcurementCardLoadTransactionsService
protected void loadTransactions(List transactions)
transactions
- List of ProcurementCardTransactions to load.public void setBusinessObjectService(org.kuali.rice.krad.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.public List<String> getRequiredDirectoryNames()
InitiateDirectory
getRequiredDirectoryNames
in interface InitiateDirectory
getRequiredDirectoryNames
in class InitiateDirectoryBase
org.kuali.ole.sys.batch.service.impl.InitiateDirectoryImpl#getRequiredDirectoryNames()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.