Package net.fqsc.inscriptions.model.identification

Examples of net.fqsc.inscriptions.model.identification.AffiliationsClubs


    Map<Enum, Object> params = new HashMap<Enum, Object>();
    params.put(ListeMembres.TypeParameters.SAISON, this.saison);
    this.add(HomePage.link("GestionPlaques", ListeMembres.class, params).setVisible(!this.isNew));
   
    //Gestion des clubs
    final AffiliationsClubs clubs = this.saison.getAffiliationsClubs();

    params = new HashMap<Enum, Object>();
    params.put(Parameters.SELECTED_ITEM, this.saison);
    params.put(Parameters.IS_NEW, false);
    params.put(Parameters.SUB_CATEGORY, clubs);
View Full Code Here


       * @see wicket.markup.html.form.Form#onSubmit()
       */
      @Override
      protected void onSubmit()
      {
        AffiliationsClubs affClubs = ListClubsPanel.this.affClubs;
       
        for (ClubLine line : ListClubsPanel.this.listeClubsLine)
        {
          //Si on veut ajouter le club a a saison
          if (line.getEtat())
          {
            try
            {
              affClubs.createAffiliationClub(ListClubsPanel.this.saison, line.getClub());
              super.error(String.valueOf(affClubs.size())+"Ajouté..."+line.getNomComplet());
            }
            catch (ActionException e)
            {
              throw new SystemeException(e);
            }
          }
          //Si on veut supprimer le club de la saison.
          else       
          {
            try
            {
              affClubs.RemoveAffiliationClub(ListClubsPanel.this.saison, line.getClub());
            }
            catch (ActionException e)
            {
              throw new SystemeException(e);
            }
View Full Code Here

  }

  private void createTestClubsAffilie(final Saison saison)
      throws ActionException
  {
    final AffiliationsClubs affiliationsClubs = saison
        .getAffiliationsClubs();

    for (final Iterator iter = this.utils.getClubs().iterator(); iter
        .hasNext();)
    {
      final Club club = (Club) iter.next();

      affiliationsClubs.createAffiliationClub(saison, club);
    }

    this.outputErrors(affiliationsClubs);
  }
View Full Code Here

  {
    super(domainModel);
    this.evenements = new Evenements(this);
    this.categoriesParticipantes = new CategoriesParticipantes(this);
    this.infosSaison = new InfosSaison(this);
    this.affiliationsClubs = new AffiliationsClubs(this);
  }
View Full Code Here

  }

  public AffiliationsClubs getAffiliationsClubsClub(final Club club)
      throws ActionException, SelectionException
  {
    final AffiliationsClubs affiliationsClubs = new AffiliationsClubs(club);

    for (final Iterator iter = this.iterator(); iter.hasNext();)
    {
      final Saison saison = (Saison) iter.next();
      final AffiliationClub affiliationClub = saison
          .getAffiliationClub(club);
      if (affiliationClub != null)
      {
        affiliationsClubs.add(affiliationClub);
      }
    }

    return affiliationsClubs;
  }
View Full Code Here

TOP

Related Classes of net.fqsc.inscriptions.model.identification.AffiliationsClubs

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.