Package br.com.sistelecom.dao

Examples of br.com.sistelecom.dao.ClienteDAOImpl


    this.lista = lista;
  }
 
  private void listarClientes() {
   
    final List<Cliente> listaCliente = new ClienteDAOImpl().listarTodos();
   
    if(!listaCliente.isEmpty()){
      if(this.listaCliente == null){
        this.listaCliente = new LinkedList<SelectItem>();
      }
View Full Code Here


       
    }

  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
   
    Collection<ClienteRelatorio> colecao = new ClienteDAOImpl().listarParaRelatorio();
   
    InfoRelatorio<ClienteRelatorio> info = new InfoRelatorio<ClienteRelatorio>(request, response,this.getServletContext(), colecao, CAMINHO_RELATORIO_CLIENTE, null);
   
    try {
      SistelecomRelatorio.gerarRelatorio(info);
View Full Code Here

  }
 
  public void sugerirProduto(){
    final int idRamo = this.getCliente().getRamo();
   
    final List<Integer> listaIdClientes = new ClienteDAOImpl().buscarClientePorRamo(idRamo);
   
    if(!listaIdClientes.isEmpty()){
     
      final VendaDAOImpl venda = new VendaDAOImpl();
      final List<Integer> listaIdVenda = new LinkedList<Integer>();
View Full Code Here

  public void limpar() {
    this.cliente = new Cliente();
  }
 
  public ClienteDAOImpl getDao() {
    return new ClienteDAOImpl();
  }
View Full Code Here

TOP

Related Classes of br.com.sistelecom.dao.ClienteDAOImpl

Copyright © 2018 www.massapicom. 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.