Package org.xrace.model.evenements

Examples of org.xrace.model.evenements.Inscription


        .generateDossiersInscriptions(evenement))
    {
      row = sheet.createRow((short) ++i);

      final Personne personneInscrite = dossier.getPersonneInscrite();
      final Inscription inscription = getInscription(dossier);

      row.createCell((short) 0).setCellValue(personneInscrite.getId());
      row.createCell((short) 1).setCellValue(
          new HSSFRichTextString(personneInscrite.getNoLicence()));
      row.createCell((short) 2).setCellValue(
          new HSSFRichTextString(inscription.getCategorie()
              .getNomComplet()));
      row.createCell((short) 3).setCellValue(
          new HSSFRichTextString(inscription.getNoPlaque()));
      row.createCell((short) 4).setCellValue(
          new HSSFRichTextString(personneInscrite.getNom()));
      row.createCell((short) 5).setCellValue(
          new HSSFRichTextString(personneInscrite.getPrenom()));

      Club club = inscription.getClub();
      if (club != null)
      {
        row.createCell((short) 6).setCellValue(
            new HSSFRichTextString(club.getNomComplet()));
      }

      row.createCell((short) 7).setCellValue(
          new HSSFRichTextString(inscription.getPersonne().getPays()
              .getCode()));
      row.createCell((short) 8).setCellValue(
          new HSSFRichTextString(inscription.getPersonne()
              .getCodeUCI()));
      HSSFUtils.createDateCell(wb, row, 9, inscription.getPersonne()
          .getDateNaissance());
      row.createCell((short) 10)
          .setCellValue(
              new HSSFRichTextString(inscription.getPersonne()
                  .getSexe()));
      row.createCell((short) 11).setCellValue(
          new HSSFRichTextString(inscription.getCommanditaire()));

      if (dossier.isInscritToAll())
      {
        row.createCell((short) 12).setCellValue(
            new HSSFRichTextString("X"));
View Full Code Here


    {
      throw new HypotheseException("Il doit y avoir au moins une "
          + "inscription dans le dossier. ");
    }

    Inscription premiereInscription = dossier.getMapCourseInscription()
        .values().iterator().next();
    for (Inscription inscription : dossier.getMapCourseInscription()
        .values())
    {
      if (!premiereInscription.getCategorie().equals(
          inscription.getCategorie()))
      {
        log.warn("L'inscription no " + premiereInscription.getId()
            + " n'est pas identique à l'inscription "
            + inscription.getId()
            + ". C'est la première qui sera retournée. ");
      }
    }
View Full Code Here

  public ManualRegistrationEntryPage(final ManualRegistrationContext context)
  {
    super();
    this.context = context;

    inscription = new Inscription();
    inscription.setPersonne(context.getPersonne());
    inscription.setCourse(context.getCourse());
    inscription.setCategorie(context.getCategorie());

    setPriceAjustment(context.getPriceAjustment());
View Full Code Here

      {
        escompteItemService.save(escompteItem);

        //Ajuter le prix de l'inscription, selon l'escompte.
        final FactureItem factureItem = escompteItem.getFactureItem();
        final Inscription inscription = factureItem.getInscription();

        inscription.setPrix(factureItem.getPrix()
            - escompteItem.getMontant());
        inscriptionService.save(inscription);
      }
    }
View Full Code Here

  {
    for (final FactureItem item : facture.getFactureItems())
    {
      if (item.getInscription() != null)
      {
        final Inscription inscription = item.getInscription();
        inscriptionService.delete(inscription);
      }

      if (item.getArticle() != null)
      {
View Full Code Here

TOP

Related Classes of org.xrace.model.evenements.Inscription

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.