Package org.xrace.model.evenements

Examples of org.xrace.model.evenements.AffiliationClub


            affiliationClubService.setAffiliationClub(saison, line
                .getClub());
          }
          else
          {
            AffiliationClub affClub = affiliationClubService
                .findBySaisonClub(saison, line.getClub());

            if (affClub != null)
            {
              affiliationClubService.delete(affClub);
View Full Code Here


      final Club club)
  {
    Validate.argNotNull(saison, "saison");
    Validate.argNotNull(club, "club");

    AffiliationClub affiliationClub = findBySaisonClub(saison, club);

    if (affiliationClub == null)
    {
      affiliationClub = new AffiliationClub();

      affiliationClub.setSaison(saison);
      affiliationClub.setClub(club);
    }

    getGenericDao().save(affiliationClub);

    return affiliationClub;
View Full Code Here

  public void deleteAffiliationClub(final Saison saison, final Club club)
  {
    Validate.argNotNull(saison, "saison");
    Validate.argNotNull(club, "club");

    final AffiliationClub affiliationClub = findBySaisonClub(saison, club);

    if (affiliationClub != null)
    {
      delete(affiliationClub);
    }
View Full Code Here

TOP

Related Classes of org.xrace.model.evenements.AffiliationClub

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.