Examples of Club


Examples of org.xrace.model.Club

   * @see wicket.markup.html.form.IChoiceRenderer#getDisplayValue(Object)
   */
  @Override
  public Object getDisplayValue(final Object object)
  {
    final Club club = (Club) object;

    if (club == null)
    {
      return "Indépendant";
    }
    else
    {
      return club.getNomComplet();
    }
  }
View Full Code Here

Examples of org.xrace.model.Club

     * @see wicket.markup.html.form.IChoiceRenderer#getDisplayValue(Object)
     */
    @Override
    public Object getDisplayValue(final Object object)
    {
      final Club club = (Club) object;

      if (club == null)
      {
        return "Aucun";
      }

      return club.getNomComplet();
    }
View Full Code Here

Examples of org.xrace.model.Club

  {
    Compte willBeCoach = getCompteService().findByUserName(
        "jdeere@fqsc.net");
    Assert.assertNotNull(willBeCoach);

    Club club = getClubService().list().get(0);
    Assert.assertNotNull(club);

    willBeCoach.setCoachOf(club);

    Assert.assertNotNull(willBeCoach.getCoachOf());
View Full Code Here

Examples of org.xrace.model.Club

    Assert.assertNotNull(willBeCoach.getCoachOf());
  }

  public void testFindCoachsByClub() throws Exception
  {
    Club club = getClubService().list().get(0);
    Assert.assertNotNull(club);

    List<Compte> coachs = getCompteService().findCoachByClub(club);

    Assert.assertTrue(coachs.size() > 0);
View Full Code Here

Examples of org.xrace.model.Club

          new HSSFRichTextString(personneInscrite
              .getEmergencyContact()));

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

      if (club != null)
      {
        row.createCell((short) 9).setCellValue(
            new HSSFRichTextString(club.getNomComplet()));
      }
      else
      {
        row.createCell((short) 9).setCellValue(
            new HSSFRichTextString(inscription.getCommanditaire()));
View Full Code Here

Examples of org.xrace.model.Club

  public Club createClub(final String nomComplet, final boolean affilie)
  {
    Validate.argNotNull(nomComplet, "nomComplet");

    final Club club = new Club();
    club.setNomComplet(nomComplet);
    club.setAffilie(affilie);

    getGenericDao().save(club);

    return club;
  }
View Full Code Here

Examples of org.xrace.model.Club

    Personne personne = getPersonneService().list().get(0);
    Personne personne2 = getPersonneService().list().get(1);
    Assert.assertNotNull(personne);
    Assert.assertNotNull(personne2);

    Club club = getClubService().list().get(0);
    Assert.assertNotNull(club);

    club.getMembres().add(personne);
    club.getMembres().add(personne2);

    Assert.assertTrue(club.getMembres().size() > 0);
  }
View Full Code Here

Examples of org.xrace.model.Club

          new HSSFRichTextString(personneInscrite
              .getEmergencyContact()));

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

      if (club != null)
      {
        row.createCell((short) 9).setCellValue(
            new HSSFRichTextString(club.getNomComplet()));
      }
      else
      {
        row.createCell((short) 9).setCellValue(
            new HSSFRichTextString(inscription.getCommanditaire()));
View Full Code Here

Examples of org.xrace.model.Club

      row.createCell((short) 2).setCellValue(
          new HSSFRichTextString(personneInscrite.getCodeUCI()));

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

      if (club != null)
      {
        row.createCell((short) 3).setCellValue(
            new HSSFRichTextString(club.getNomComplet()));
      }
      else
      {
        row.createCell((short) 3).setCellValue(
            new HSSFRichTextString(inscription.getCommanditaire()));
View Full Code Here

Examples of org.xrace.model.Club

      row.createCell((short) 7).setCellValue(
          personneInscrite.getVersion());

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

      if (club != null)
      {
        row.createCell((short) 8).setCellValue(
            new HSSFRichTextString(StringUtils.replace(club
                .getNomComplet(), "'", "")));
      }
      else
      {
        row.createCell((short) 8).setCellValue(
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.