Package org.xrace.model

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


    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

          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

  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

    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

          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

      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

      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

    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
        return new ClubUpdatePage(new Club(), true, ClubsListPage.this);
      }

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

                .getNomPrenom()));
      }

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

      row.createCell((short) 18).setCellValue(inscription.getId());

      if (club != null)
      {
        row.createCell((short) 19).setCellValue(
            new HSSFRichTextString(club.getNomComplet()));
      }

      row.createCell((short) 20).setCellValue(
          new HSSFRichTextString(inscription.getCommanditaire()));
View Full Code Here

TOP

Related Classes of org.xrace.model.Club

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.