it.cnr.contab.segnalazioni00.action.StampaAttivitaSiglaAction Maven / Gradle / Ivy
/*
* Copyright (C) 2019 Consiglio Nazionale delle Ricerche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
/*
* Created on Ago 8, 2005
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package it.cnr.contab.segnalazioni00.action;
import it.cnr.contab.reports.bp.ParametricPrintBP;
import it.cnr.contab.segnalazioni00.bulk.Stampa_attivita_siglaBulk;
import it.cnr.jada.action.ActionContext;
import it.cnr.jada.action.Forward;
/**
* @author mspasiano
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class StampaAttivitaSiglaAction extends it.cnr.contab.reports.action.ParametricPrintAction {
/**
*
*/
public StampaAttivitaSiglaAction() {
super();
}
public Forward doSelezionaStato(ActionContext context) {
try{
fillModel(context);
ParametricPrintBP bp = (ParametricPrintBP)context.getBusinessProcess();
Stampa_attivita_siglaBulk stampa = (Stampa_attivita_siglaBulk)bp.getModel();
stampa.selezionaStati();
return context.findDefaultForward();
}catch(it.cnr.jada.bulk.FillException ex){
return handleException(context, ex);
}
}
public Forward doSelezionaTipoAttivita(ActionContext context) {
try{
fillModel(context);
ParametricPrintBP bp = (ParametricPrintBP)context.getBusinessProcess();
Stampa_attivita_siglaBulk stampa = (Stampa_attivita_siglaBulk)bp.getModel();
stampa.selezionaTipiAttivita();
return context.findDefaultForward();
}catch(it.cnr.jada.bulk.FillException ex){
return handleException(context, ex);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy