Package pl.edu.prz.kia.ntp.M4

Examples of pl.edu.prz.kia.ntp.M4.ConversionService


    /**
     * @param criteria
     * @return
     */
    public List<StatusZamowieniaDTO> getStatusyZamowien(StatusZamowieniaCriteriaTO criteria) {
        M4Service service = new M4Service(em);
        List<StatusZamowieniaDTO> statusy;
        List<StatusZamowienia> result;
        result = service.getStatusyZamowien(criteria);
        statusy = ConversionService.statusZamowieniaListToDTO(result);
        return statusy;
    }
View Full Code Here


    /**
     * @param criteria
     * @return
     */
    public List<TypBiletuDTO> getTypyBiletow(TypBiletuCriteriaTO criteria) {
        M4Service service = new M4Service(em);
        List<TypBiletuDTO> typy;
        List<TypBiletu> result;
        result = service.getTypyBiletow(criteria);
        typy = ConversionService.typBiletuListToDTO(result);
        return typy;
    }
View Full Code Here

     * @param criteria
     * @return
     */
   
    public List<ZamowienieDTO> getZamowienia(ZamowienieCriteriaTO criteria) {
        M4Service service = new M4Service(em);
        List<ZamowienieDTO> zamowienia;
        List<Zamowienie> result;
        result = service.getZamowienia(criteria);
        zamowienia = ConversionService.toDTO(result);
        return Collections.emptyList();
    }
View Full Code Here

    /**
     * @param bilet
     * @return
     */
    public Integer addBilet(BiletDTO bilet) {
        M4Service service;
        Bilet entity;
        service = new M4Service(em);
        entity = ConversionService.toEJB(bilet);
        return service.addBilet(entity);
    }
View Full Code Here

    /**
     * @param status_zamowienia
     * @return
     */
    public Integer addStatusZamowienia(StatusZamowieniaDTO status_zamowienia) {
        M4Service service;
        StatusZamowienia entity;
        service = new M4Service(em);
        entity = ConversionService.toEJB(status_zamowienia);
        return service.addStatusZamowienia(entity);
    }
View Full Code Here

    /**
     * @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

    /**
     * @param zamowienie
     * @return
     */
    public Integer addZamowienie(ZamowienieDTO zamowienie) {
        M4Service service;
        Zamowienie entity;
        service = new M4Service(em);
        entity = ConversionService.toEJB(zamowienie);
        return service.addZamowienie(entity);
    }
View Full Code Here

    /**
     * @param bilet
     */
    public void updateBilet(BiletDTO bilet) {
        M4Service service;
        Bilet entity;
        service = new M4Service(em);
        entity = ConversionService.toEJB(bilet);
        service.updateBilet(entity);
    }
View Full Code Here

    /**
     * @param status_zamowienia
     */
    public void updateStatusZamowienia(StatusZamowieniaDTO status_zamowienia) {
        M4Service service;
        StatusZamowienia entity;
        service = new M4Service(em);
        entity = ConversionService.toEJB(status_zamowienia);
        service.updateStatusZamowienia(entity);
    }
View Full Code Here

    /**
     * @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

TOP

Related Classes of pl.edu.prz.kia.ntp.M4.ConversionService

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.