@EntryPoint public ActionForward listOutgoingPaymentsFile( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) { request.setAttribute( "sibsOutgoingPaymentFiles", SIBSOutgoingPaymentFile.readGeneratedPaymentFiles()); request.setAttribute( "sibsOutgoingPaymentQueueJobs", SIBSOutgoingPaymentQueueJob.readAllSIBSOutgoingPaymentQueueJobs()); request.setAttribute( "canLaunchJob", !SIBSOutgoingPaymentQueueJob.hasExportationQueueJobToRun()); return mapping.findForward("list-outgoing-payment-files"); }
public ActionForward launchOutgoingPaymentsFileCreation( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) { SIBSOutgoingPaymentQueueJob.launchJob( getPaymentFileDataBeanFromViewState().getLastOutgoingPaymentFileSent()); return listOutgoingPaymentsFile(mapping, actionForm, request, response); }