|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.sys.batch.AbstractStep
org.kuali.kfs.fp.batch.ProcurementCardLoadStep
public class ProcurementCardLoadStep
This step will call a service method to load the kuali pcard xml file into the transaction table. Validates the data before the load. Functions performed by this step: 1) Lookup path and filename from APC for the pcard input file 2) Load the pcard xml file 3) Parse each transaction and validate against the data dictionary 4) Clean fp_prcrmnt_card_trn_t from the previous run 5) Load new transactions into fp_prcrmnt_card_trn_t 6) Rename input file using the current date (backup) RESTART: All functions performed withing a single transaction. Step can be restarted as needed.
| Constructor Summary | |
|---|---|
ProcurementCardLoadStep()
|
|
| Method Summary | |
|---|---|
boolean |
execute(String jobName,
Date jobRunDate)
Controls the procurement card process. |
void |
setBatchInputFileService(BatchInputFileService batchInputFileService)
Sets the batchInputFileService attribute value. |
void |
setProcurementCardInputFileType(BatchInputFileType procurementCardInputFileType)
Sets the procurementCardInputFileType attribute value. |
void |
setProcurementCardLoadTransactionsService(ProcurementCardLoadTransactionsService procurementCardLoadTransactionsService)
Sets the procurementCardLoadTransactionsService attribute value. |
| Methods inherited from class org.kuali.kfs.sys.batch.AbstractStep |
|---|
getDateTimeService, getName, getParameterService, interrupt, isInterrupted, setBeanName, setDateTimeService, setInterrupted, setParameterService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcurementCardLoadStep()
| Method Detail |
|---|
public boolean execute(String jobName,
Date jobRunDate)
jobName - the name of the job running the stepjobRunDate - the time/date the job is executed
public void setBatchInputFileService(BatchInputFileService batchInputFileService)
public void setProcurementCardInputFileType(BatchInputFileType procurementCardInputFileType)
public void setProcurementCardLoadTransactionsService(ProcurementCardLoadTransactionsService procurementCardLoadTransactionsService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||