Package daoTeste

Source Code of daoTeste.AvaliacaoItemDAO

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package daoTeste;

import java.util.ArrayList;
import model.AvaliacaoItem;

/**
*
* @author Consult
*/
public class AvaliacaoItemDAO {
    
    public boolean salvarItensFormularioAvaliacao(ArrayList<AvaliacaoItem> itens) {
        return true;
    }
   
    public boolean atualizarItensFormularioAvaliacao(ArrayList<AvaliacaoItem> itens) {
        return true;
    }
           
    public boolean excluirItensFormularioAvaliacao(String codigoFormulario, String codigoAvaliacao){
        return true;
    }
   
    public ArrayList<AvaliacaoItem> getItensFormularioAvaliacao(int codigoFormulario, int codigoAvaliacao){       
        ArrayList<AvaliacaoItem> listaDeItens = new ArrayList<AvaliacaoItem>();
        AvaliacaoItem item = new AvaliacaoItem(0, codigoFormulario, codigoAvaliacao, "Descricao", "Avaliacao", "Comentario");
        listaDeItens.add(item);       
        return listaDeItens;
    }

}
TOP

Related Classes of daoTeste.AvaliacaoItemDAO

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.