Package net.fqsc.inscriptions.model.inscriptions

Examples of net.fqsc.inscriptions.model.inscriptions.Inscription


  {
    final Inscriptions inscriptions = new Inscriptions(personne);

    for (final Course course : this.getCourses())
    {
      final Inscription inscription = course.getInscription(personne);
      if (inscription != null)
      {
        inscriptions.add(inscription);
      }
    }
View Full Code Here


      final Categorie categorie, final Club club)
      throws CategorieException
  {
    final Inscriptions inscriptions = course.getInscriptions();

    final Inscription inscription = new Inscription(course, personne);
    inscription.setCommanditaire(commenditaire);
    inscription.setCodeConfirmation(this.generateCodeConfirmation());
    inscription.setNoPlaque("Plaque");
    inscription.setClub(club);
    inscription.setCategorie(categorie);

    try
    {
      if (!inscriptions.add(inscription))
        throw new ValidationException("La validation de dmLite a échoué. ");
View Full Code Here

    Validate.argNotNull(cart, "Cart");
    Validate.argNotNull(personne, "Personne");

    final Facture facture = this.createFacture();
    Inscription inscription = null;

    for (final Iterator i = cart.getCart().iterator(); i.hasNext();)
    {

      final CartItem cartItem = (CartItem) i.next();
View Full Code Here

   
    final Evenement evenement = saisons.getEvenements().get(0);
   
    final Course course = (Course) evenement.getCourses().getList().get(0);
   
    final Inscription inscription = (Inscription) course.getInscriptions().getList().get(0);
   
    final Facture facture = this.facturationCtrl.createFacture();
    this.facturationCtrl.addFactureItem(facture, inscription, 10.0);
    this.facturationCtrl.addFactureItem(facture, inscription, 20.0);
    this.facturationCtrl.addFactureItem(facture, inscription, 30.0);
View Full Code Here

  }

  @Override
  protected void populateItem(final ListItem item)
  {
    final Inscription inscription = (Inscription) item.getModelObject();

    item.add(new Label("evenementNom",
        new PropertyModel(inscription.getCourse().getEvenement(), "nom")));
    item.add(new Label("discipline", new PropertyModel(inscription.getCourse(),
        "nom")));
    item.add(new Label("date", new PropertyModel(inscription.getCourse(), "date")));
    item.add(new Label("categorieNom", new PropertyModel(inscription.getCategorie(), "nom")));

  }
View Full Code Here

TOP

Related Classes of net.fqsc.inscriptions.model.inscriptions.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.