Examples of TarificationPage


Examples of org.xrace.view.admin.evenements.course.tarification.TarificationPage

    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
        return new TarificationPage(course);
      }

      public Class getPageIdentity()
      {
        return TarificationPage.class;
View Full Code Here

Examples of org.xrace.view.user.inscriptions.tarification.TarificationPage

      getProcessusInscription().setPersonneAinscrire(personne);

      personneAssocieeService.associer(getProcessusInscription()
          .getPersonneQuiInscrit(), personne, new Date());

      return new TarificationPage();
    }
    else
    {
      return new SaisonPage();
    }
View Full Code Here

Examples of org.xrace.view.user.inscriptions.tarification.TarificationPage

       */
      if (getProcessusInscription().getCategorieParDefaut() == null)
      {
        getProcessusInscription().setCourseSelectionnee(
            getCoursesSelectionne().get(0));
        return new TarificationPage();
      }

      /*
       * Détermine si la catégorie par défaut fait parti
       * des catégories de la course à inscrire.
       */
      else
      {
        for (Iterator iterator = getProcessusInscription()
            .getCoursesSelectionnee().iterator(); iterator
            .hasNext();)
        {
          Course course = (Course) iterator.next();

          getProcessusInscription().setCourseSelectionnee(course);

          Tarification tarification = tarificationService
              .findByCourseCategorie(course,
                  getProcessusInscription()
                      .getCategorieParDefaut());

          if (tarification != null)
          {

            ComposantInscription composantInscription = new ComposantInscription(
                getProcessusInscription()
                    .getPersonneAinscrire(), tarification);

            getProcessusInscription().getComposantInscription()
                .add(composantInscription);

            iterator.remove();
          }
          else
          {
            return new TarificationPage();
          }
        }

        return GestionAutresInformations();
      }
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.