Examples of Evenement


Examples of net.fqsc.inscriptions.model.evenements.Evenement

      SelectionException
  {
    final Saisons saisons = this.utils.getSaisons();
    final Saison saison = saisons.getByAnnee(2007).iterator().next();

    final Evenement evenement = saison.getEvenements().getByNo(2)
        .iterator().next();

    Personne personne = this.utils.getPersonnes().getAuthenticatedPersonne(
        "jdoe", "123");
    final Club club = this.utils.getClubs().getByNom("Subway/Genetik")
        .iterator().next();

    final Course course = evenement.getCourses().getByNom("Cross-Country")
        .iterator().next();
    Categorie categorie = this.utils.getCategories().getByCode("XSE", "M");

    final InfoSaison infoSaison = saison.getInfoSaison(personne, categorie);
View Full Code Here

Examples of net.fqsc.inscriptions.model.evenements.Evenement

      SelectionException
  {

    final Saison saison = this.utils.getSaisons().getByAnnee(2007)
        .iterator().next();
    final Evenement evenement = (Evenement) saison.getEvenements().getByNo(
        2).iterator().next();
    final InfosSaison infosSaison = saison.getInfosSaison();
    infosSaison.createInfoSaison(noLicence, plaqueUnique, saison, personne,
        categorie, evenement);
View Full Code Here

Examples of net.fqsc.inscriptions.model.evenements.Evenement

    {
      throw new UniqueException(
          "Le numéro de la course doit être unique. ");
    }

    final Evenement evenementDb = new Evenement(this.domainModel);

    evenementDb.setNo(evenement.getNo());
    evenementDb.setNom(evenement.getNom());
    evenementDb.setEndroit(evenement.getEndroit());
    evenementDb.setDateDebut(evenement.getDateDebut());
    evenementDb.setDateFin(evenement.getDateFin());

    try
    {
      if (!evenement.getSaison().getEvenements().add(evenementDb))
      {
View Full Code Here

Examples of net.fqsc.inscriptions.model.evenements.Evenement

    try
    {
      final Collection<Evenement> coll = saison.getEvenements().getByNo(
          no);
      final Evenement resultat = Validate.elementUnique(coll);

      return resultat;
    }
    catch (final SelectionException e)
    {
View Full Code Here

Examples of net.fqsc.inscriptions.model.evenements.Evenement

   */
  public void updateEvenement(final Evenement evenement)
  {
    try
    {
      final Evenement beforeEvenement = (Evenement) evenement.getSaison()
          .getEvenements().retrieveByOid(evenement.getOid());
      if (!evenement.getSaison().getEvenements().update(beforeEvenement,
          evenement))
      {
        throw new ValidationException(
View Full Code Here

Examples of org.xrace.model.evenements.Evenement

  protected void onSetUpInTransaction() throws Exception
  {
    super.onSetUpInTransaction();

    Saison saison = getSaisonService().findByAnnee(2007).get(0);
    Evenement evenement1 = getEvenementService().getEvenementParNo(saison,
        1);
    Course course1 = getCourseService().getCourseParNom(evenement1,
        "Cross-Country");
    Evenement evenement2 = getEvenementService().getEvenementParNo(saison,
        2);
    Course course2 = getCourseService().getCourseParNom(evenement2,
        "Cross-Country");

    Categorie categorie1 = getCategorieService().findByCode("XJS", "H",
View Full Code Here

Examples of org.xrace.model.evenements.Evenement

  protected void onSetUpInTransaction() throws Exception
  {
    super.onSetUpInTransaction();

    Saison saison = getSaisonService().findByAnnee(2007).get(0);
    Evenement evenement4 = getEvenementService().getEvenementParNo(saison,
        4);
    courseXC4 = getCourseService().getCourseParNom(evenement4,
        "Cross-Country");
    courseRVM = getCourseService().getCourseParNom(evenement4,
        "Raid Vélo Mag");
    Evenement evenement9 = getEvenementService().getEvenementParNo(saison,
        9);
    courseXC9 = getCourseService().getCourseParNom(evenement9,
        "Cross-Country");
    courseDH9A = getCourseService().getCourseParNom(evenement9, "Downhill");
    courseDH9B = getCourseService().getCourseParNom(evenement9,
View Full Code Here

Examples of org.xrace.model.evenements.Evenement

    for (final Map.Entry<EvenementCategoriePersonneEntry, List<Inscription>> entry : evenementNbCourses
        .entrySet())
    {
      final EvenementCategoriePersonneEntry evtCarPersEntry = entry
          .getKey();
      final Evenement evenement = evtCarPersEntry.getEvenement();
      final Categorie categorie = evtCarPersEntry.getCategorie();
      final List<Inscription> inscriptions = entry.getValue();
      final Integer nbCourses = inscriptions.size();

      final RabaisEvenement rabaisEvenement = rabaisEvenementService
View Full Code Here

Examples of org.xrace.model.evenements.Evenement

    for (final CartItem item : items)
    {
      if (item instanceof CartItemInscription)
      {
        final CartItemInscription cartItemInscription = (CartItemInscription) item;
        final Evenement evenement = cartItemInscription
            .getTarification().getCourse().getEvenement();
        final Personne personne = cartItemInscription.getPersonne();
        final Categorie categorie = cartItemInscription
            .getInscription().getCategorie();
        final EvenementCategoriePersonneEntry entry = new EvenementCategoriePersonneEntry(
View Full Code Here

Examples of org.xrace.model.evenements.Evenement

    ProcessusInscription processusInscription = gestionProcessusInscription
        .getProcessusInscription();

    Saison saison = null;
    Evenement evenement = null;
    Course course = null;
    if (processusInscription != null)
    {
      saison = gestionProcessusInscription.getProcessusInscription()
          .getSaisonSelectionnee();
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.