Package Negocio

Examples of Negocio.NegocioException


    private Negocio2DadosConcreta() throws NegocioException{
        try{
     dao = DAOSQLDB.getInstance();  
        }
        catch(DAOSQLExcep e){
            throw  new  NegocioException(e.getMessage());
        }
    }
View Full Code Here


    public List<Ticket> getTickets() throws NegocioException {
        try{
        List<Ticket> ret = convercao.toViewTickets(dao.getTickets());
        return ret;}
        catch(DAOSQLExcep e){
            throw  new  NegocioException(e.getMessage());
        }
    }
View Full Code Here

        try{
        Ticket ret = convercao.toViewTicket(dao.GenerateTicket());
        return ret;
        }
        catch(DAOSQLExcep e){
            throw  new  NegocioException(e.getMessage());
        }
    }
View Full Code Here

    public boolean LiberaTicket(Ticket t) throws NegocioException {
        try{
         return dao.LiberaTicket(convercao.toModel(t));
        }
        catch(DAOSQLExcep e){
            throw  new NegocioException(e.getMessage());
        }
       
    }
View Full Code Here

    public double getTotalEstadiaDia(String data) throws NegocioException {
        try{
        return dao.getTotalEstadiaDia(data);
        }
        catch(DAOSQLExcep e){
            throw  new  NegocioException(e.getMessage());
        }
    }
View Full Code Here

    public double getTotalEstadiaMes(String mes, String ano) throws NegocioException {
        try{
        return dao.getTotalEstadiaMes(mes, ano);
        }
        catch(DAOSQLExcep e){
            throw  new  NegocioException(e.getMessage());
        }
    }
View Full Code Here

    public int getNroTicketsPagosDia(String data) throws NegocioException {
        try{
        return dao.getNroTicketsPagosDia(data);
        }
        catch(DAOSQLExcep e){
            throw  new  NegocioException(e.getMessage());
        }
    }
View Full Code Here

    public int getNroTicketsPagosMes(String mes, String ano) throws NegocioException {
        try{
        return dao.getNroTicketsPagosMes(mes, ano);
        }
        catch(DAOSQLExcep e){
            throw  new  NegocioException(e.getMessage());
        }
    }
View Full Code Here

    public int getNroTicketEspDia(String data) throws NegocioException {
        try{
        return dao.getNroTicketEspDia(data);
        }
        catch(DAOSQLExcep e){
            throw  new  NegocioException(e.getMessage());
        }
    }
View Full Code Here

    public int getNroTicketEspMes(String mes, String ano) throws NegocioException {
        try{
            return dao.getNroTicketEspMes(mes, ano);
        }
        catch(DAOSQLExcep e){
            throw  new  NegocioException(e.getMessage());
        }
    }
View Full Code Here

TOP

Related Classes of Negocio.NegocioException

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.