39 lines
1.3 KiB
Java
39 lines
1.3 KiB
Java
package it.acxent.anag.servlet;
|
|
|
|
import it.acxent.anag.Iva;
|
|
import it.acxent.anag.Nazione;
|
|
import it.acxent.anag.NazioneCR;
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
import it.acxent.db.DBAdapter;
|
|
import javax.servlet.annotation.WebServlet;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
@WebServlet(urlPatterns = {"/admin/anagConfig/Nazione.abl"})
|
|
public class NazioneSvlt extends _AnagAdapterSvlt {
|
|
private static final long serialVersionUID = 370847610628258765L;
|
|
|
|
protected void addRows(HttpServletRequest req, HttpServletResponse res) {}
|
|
|
|
protected void fillComboAfterDetail(DBAdapter bean, HttpServletRequest req, HttpServletResponse res) {}
|
|
|
|
protected void fillComboAfterSearch(CRAdapter CR, HttpServletRequest req, HttpServletResponse res) {
|
|
ApplParmFull apFull = getApFull(req);
|
|
req.setAttribute("listaIva", new Iva(apFull).findAllOss());
|
|
}
|
|
|
|
protected DBAdapter getBean(HttpServletRequest req) {
|
|
return new Nazione(getApFull(req));
|
|
}
|
|
|
|
protected CRAdapter getBeanCR(HttpServletRequest req) {
|
|
return new NazioneCR(getApFull(req));
|
|
}
|
|
|
|
protected void prepareNewRecord(HttpServletRequest req, HttpServletResponse res) {}
|
|
|
|
protected boolean isSimpleServlet(HttpServletRequest req) {
|
|
return false;
|
|
}
|
|
}
|