Examples of TypBiletu


Examples of pl.edu.prz.kia.ntp.M4.entity.TypBiletu

    /**
     * @param typ_biletu
     * @return
     */
    public static TypBiletu toEJB(TypBiletuDTO typ_biletu){
        TypBiletu entity = new TypBiletu();
        entity.setCena(typ_biletu.getCena());
        entity.setId_typu_biletu(typ_biletu.getId_typu_biletu());
        entity.setNazwa(typ_biletu.getNazwa());
        return entity;
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M4.entity.TypBiletu

     * @param typ_biletu
     * @return
     */
    public Integer addTypBiletu(TypBiletuDTO typ_biletu) {
        M4Service service;
        TypBiletu entity;
        service = new M4Service(em);
        entity = ConversionService.toEJB(typ_biletu);
        return service.addTypBiletu(entity);
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M4.entity.TypBiletu

    /**
     * @param typ_biletu
     */
    public void updateTypBiletu(TypBiletuDTO typ_biletu) {
        M4Service service;
        TypBiletu entity;
        service = new M4Service(em);
        entity = ConversionService.toEJB(typ_biletu);
        service.updateTypBiletu(entity);
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M4.entity.TypBiletu

    /**
     * @param typ_biletu
     */
    public void removeTypBiletu(TypBiletuDTO typ_biletu) {  
        M4Service service;
        TypBiletu entity;
        service = new M4Service(em);
        entity = ConversionService.toEJB(typ_biletu);
        service.removeTypBiletu(entity);
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M4.entity.TypBiletu

    public void updateTypBiletu(TypBiletu typ_biletu) {
        em.merge(typ_biletu);
    }
  
    public void removeTypBiletu(TypBiletu typ_biletu) {
        TypBiletu typ = em.find(TypBiletu.class,  typ_biletu.getId_typu_biletu());
        em.remove(typ);
    }
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.