Examples of IPersistenciaController


Examples of com.escuelademanejo.persistencia.IPersistenciaController

  private static CatalogoTurnos INSTANCE = null;

  private TreeMap<Integer, Turno> turnos = null;

  private CatalogoTurnos() throws Exception {
    IPersistenciaController iPersistController = FactoryPersistencia.getInstance().getIPersistenciaController();
    if (turnos == null){
      turnos = new TreeMap<Integer, Turno>();
     
      TreeMap<Integer, ArrayList<String>> rows_turnos = iPersistController.selectAllTurnos();
      Collection<ArrayList<String>> rows_turno = rows_turnos.values();
      for (ArrayList<String> datos_turno : rows_turno) {
        int id_turno = Integer.valueOf(datos_turno.get(0));
        int id_cliente = Integer.valueOf(datos_turno.get(1));
        int id_hi = Integer.valueOf(datos_turno.get(2));
View Full Code Here

Examples of com.escuelademanejo.persistencia.IPersistenciaController

  public TreeMap<Integer, ArrayList<ArrayList<String>>> listarHorariosInstructores() throws Exception{
    // TODO Auto-generated method stub     
    TreeMap<Integer, ArrayList<ArrayList<String>>> horarios_instructores= null;
   
    FactoryPersistencia factp = FactoryPersistencia.getInstance();
    IPersistenciaController ipc = factp.getIPersistenciaController();
    try {
      horarios_instructores = ipc.selectAllHorariosInstructores();
    } catch ( Exception e ) {
      throw e;
    }
    return horarios_instructores;
 
View Full Code Here

Examples of com.escuelademanejo.persistencia.IPersistenciaController

  @Override
  public TreeMap<Integer,ArrayList<String>> reporte_clientes(Date desde, Date hasta) throws Exception {
    // TODO Auto-generated method stub
    FactoryPersistencia fp = FactoryPersistencia.getInstance();
    IPersistenciaController ipc = fp.getIPersistenciaController();
    return ipc.reporteClientes(desde, hasta);
  }
View Full Code Here

Examples of com.escuelademanejo.persistencia.IPersistenciaController

 
  @Override
  public TreeMap<Integer,ArrayList<String>> reporte_instructores(Date desde, Date hasta) throws Exception {
    // TODO Auto-generated method stub
    FactoryPersistencia fp = FactoryPersistencia.getInstance();
    IPersistenciaController ipc = fp.getIPersistenciaController();
    return ipc.reporteInstructores(desde, hasta);
  }
View Full Code Here
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.