Examples of DelegateM3


Examples of pl.edu.prz.kia.ntp.interfaceModule.delegate.DelegateM3

    public void setMiejsce(MiejsceDTO miejsce){
        this.miejsce = miejsce;
    }
    public void remove(ActionEvent event) {
        try{
            DelegateM3 delegate = new DelegateM3();
            delegate.removeMiejsce(miejsce);
        }
        catch (Exception e) {
            e.printStackTrace();
        }
       
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.delegate.DelegateM3

        session.setAttribute(SessionVariables.MIEJSCE_LIST_DTO, null);
    }

    public void save(ActionEvent event){
        try{
            DelegateM3 delegate = new DelegateM3();
            long id = delegate.addMiejsce(miejsce);
        }
        catch (Exception e) {
            e.printStackTrace();
        }
       
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.delegate.DelegateM3

    public void setSala(SalaDTO sala){
        this.sala = sala;
    }
    public void remove(ActionEvent event) {
        try{
            DelegateM3 delegate = new DelegateM3();
            delegate.removeSala(sala);
        }
        catch (Exception e) {
            e.printStackTrace();
        }
       
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.delegate.DelegateM3

        session.setAttribute(SessionVariables.SALA_LIST_DTO, null);
    }

    public void save(ActionEvent event){
        try{
            DelegateM3 delegate = new DelegateM3();
            long id = delegate.addSala(sala);
        }
        catch (Exception e) {
            e.printStackTrace();
        }
       
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.delegate.DelegateM3

        listaMIejsc = (List<MiejsceDTO>) miejsca;
    }
    public List<MiejsceDTO> getMiejsce(){
        if(listaMIejsc == null){
            try{
                DelegateM3 delegate = new DelegateM3();
                MiejsceCriteriaTO criteria = new MiejsceCriteriaTO();
                listaMIejsc = delegate.getMiejsca(criteria);
            }
            catch(Exception e) {
                listaMIejsc = new ArrayList<MiejsceDTO>();
                }
            session.setAttribute(SessionVariables.TYP_UZYTKOWNIKA_LIST_DTO, listaMIejsc);
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.delegate.DelegateM3

    public void setRzad(RzadDTO rzad){
        this.rzad = rzad;
    }
    public void remove(ActionEvent event) {
        try{
            DelegateM3 delegate = new DelegateM3();
            delegate.removeRzad(rzad);
        }
        catch (Exception e) {
            e.printStackTrace();
        }
       
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.delegate.DelegateM3

        session.setAttribute(SessionVariables.RZAD_LIST_DTO, null);
    }

    public void save(ActionEvent event){
        try{
            DelegateM3 delegate = new DelegateM3();
            long id = delegate.addRzad(rzad);
        }
        catch (Exception e) {
            e.printStackTrace();
        }
       
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.delegate.DelegateM3

        listaSal = (List<SalaDTO>) miejsca;
    }
    public List<SalaDTO> getSale(){
        if(listaSal == null){
            try{
                DelegateM3 delegate = new DelegateM3();
                SalaCriteriaTO criteria = new SalaCriteriaTO();
                listaSal = delegate.getSale(criteria);
            }
            catch(Exception e) {
                listaSal = new ArrayList<SalaDTO>();
                }
            session.setAttribute(SessionVariables.TYP_UZYTKOWNIKA_LIST_DTO, listaSal);
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.delegate.DelegateM3

        listaRzedow = (List<RzadDTO>) rzedy;
    }
    public List<RzadDTO> getRzedy(){
        if(listaRzedow == null){
            try{
                DelegateM3 delegate = new DelegateM3();
                RzadCriteriaTO criteria = new RzadCriteriaTO();
                listaRzedow = delegate.getRzedy(criteria);
            }
            catch(Exception e) {
                listaRzedow = new ArrayList<RzadDTO>();
                }
            session.setAttribute(SessionVariables.TYP_UZYTKOWNIKA_LIST_DTO, listaRzedow);
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.