Package com.evasion.entity.content

Examples of com.evasion.entity.content.Contribution


                        currentBookTravelID = (Long) FacesContext.getCurrentInstance().
                        getExternalContext().getSessionMap().
                        get("currentBookTravelID");
        if (roadMap == null) {
            LOGGER.debug("Initialisation de la roadMap");
            final Contribution contrib = new Contribution("", "", null);
            final Itinerary itin = new Itinerary();
            // @TODO terminer d'implémenter la création des itinéraire.
            roadMap = new RoadMap(contrib, itin, null);
        }
    }
View Full Code Here


                        Long.valueOf(paramEJB.getProperty(Constante.DEFAULT_BOOK_TRAVEL_ID)));
            }
            catch (BookTravelServiceException ex) {
                LOGGER.error("Erreur de récupération du carnet de voyage", ex);
            }
            final Contribution contrib = new Contribution("", "", null);
            final Itinerary itin = new Itinerary();
            // @TODO terminer d'implémenter la création des itinéraire.
            roadMap = new RoadMap(contrib, itin, bookTravel);
        }
    }
View Full Code Here

                        currentBookTravelID = (Long) FacesContext.getCurrentInstance().
                        getExternalContext().getSessionMap().
                        get("currentBookTravelID");
        if (roadMap == null) {
            LOGGER.debug("Initialisation de la roadMap");
            final Contribution contrib = new Contribution("", "", null);
            final Itinerary itin = new Itinerary();
            // @TODO terminer d'implémenter la création des itinéraire.
            roadMap = new RoadMap(contrib, itin, null);
        }
    }
View Full Code Here

                        Long.valueOf(paramEJB.getProperty(Constante.DEFAULT_BOOK_TRAVEL_ID)));
            }
            catch (BookTravelServiceException ex) {
                LOGGER.error("Erreur de récupération du carnet de voyage", ex);
            }
            final Contribution contrib = new Contribution("", "", null);
            final Itinerary itin = new Itinerary();
            // @TODO terminer d'implémenter la création des itinéraire.
            roadMap = new RoadMap(contrib, itin, bookTravel);
        }
    }
View Full Code Here

    public ContributionManager(EntityManager em) {
        this.em = em;
    }

    public Contribution save(final Contribution contribution) throws PersistenceViolationException {
        Contribution result = null;
        try {
            result = em.merge(contribution);
        } catch (Exception e) {
            LOGGER.debug("Erreur de sauvegarde de la contribution: ", e);
            throw new PersistenceViolationException("Erreur dans la validation d'une contribution", e.fillInStackTrace());
View Full Code Here

TOP

Related Classes of com.evasion.entity.content.Contribution

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.