Package org.xrace.model

Examples of org.xrace.model.Categorie


  }

  public void testSaveValidateCategorie()
  {
    final Discipline disciplineDh = getDisciplineService().findByNom("DH");
    final Categorie categorieDse = getCategorieService().findByCode(
        "Hardtail", "U", disciplineDh);

    final RabaisEvenement rabaisEvenement = getRabaisEvenementService()
        .createRabaisEvenement(evenementSansRabais);
    rabaisEvenement.setNbCourses(2);
View Full Code Here


      }

      // --------- Information sur l'inscription -------
      final Inscription inscription = dossier.getInscription();
      final Club club = dossier.getClub();
      final Categorie categorie = dossier.getCategorie();

      row.createCell((short) 18).setCellValue(inscription.getId());

      if (club != null)
      {
        row.createCell((short) 19).setCellValue(
            new HSSFRichTextString(club.getNomComplet()));
      }

      row.createCell((short) 20).setCellValue(
          new HSSFRichTextString(inscription.getCommanditaire()));

      try
      {
        final Integer plaqueInt = Integer.parseInt(inscription
            .getNoPlaque());
        row.createCell((short) 21).setCellValue(plaqueInt);
      }
      catch (final NumberFormatException e)
      {
        row.createCell((short) 21).setCellValue(
            new HSSFRichTextString(inscription.getNoPlaque()));
      }

      row.createCell((short) 22).setCellValue(
          new HSSFRichTextString(inscription.getCodePuce()));
      if (inscription.getNumeroPuce() != null)
      {
        row.createCell((short) 23).setCellValue(
            inscription.getNumeroPuce());
      }
      row.createCell((short) 24).setCellValue(
          new HSSFRichTextString(categorie.getNomComplet()));

      if (inscription.getEquipeCourse() != null)
      {
        row.createCell((short) 25).setCellValue(
            new HSSFRichTextString(inscription.getEquipeCourse()
View Full Code Here

        .getInfoSaisonByPersonneMap(course.getEvenement().getSaison());

    for (final Inscription inscription : approved)
    {
      final Personne personneInscrite = inscription.getPersonne();
      final Categorie categorie = inscription.getCategorie();
      final Club club = inscription.getClub();
      final FactureItem factureItem = factureItemService
          .findByInscription(inscription);
      Facture facture;
      Transaction transaction;
View Full Code Here

        "Downhill");

    final Discipline disciplineXC = getDisciplineService().findByNom("XC");
    final Discipline disciplineDH = getDisciplineService().findByNom("DH");

    final Categorie categorieXseH = getCategorieService().findByCode("XSE",
        "H", disciplineXC);
    final Categorie categorieDssH = getCategorieService().findByCode("DSS",
        "H", disciplineDH);
    final Categorie categorieXmxF = getCategorieService().findByCode(
        "XMX30", "F", disciplineXC);
    final Categorie categorieDssF = getCategorieService().findByCode("DSS",
        "F", disciplineDH);

    final Personne personneJDoe = getPersonneService()
        .findByNomPrenomExact("Doe", "John").get(0);
    final Personne personneNCote = getPersonneService()
View Full Code Here

    final Course courseXC2 = getCourseService().getCourseParNom(evenement2,
        "Cross-Country");

    final Discipline disciplineXC = getDisciplineService().findByNom("XC");

    final Categorie categorieXseH = getCategorieService().findByCode("XSE",
        "H", disciplineXC);

    final Personne personneJDoe = getPersonneService()
        .findByNomPrenomExact("Doe", "John").get(0);
View Full Code Here

TOP

Related Classes of org.xrace.model.Categorie

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.