Examples of Personne


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

    {
      if (super.postRemove(entity))
      {
        final InfoSaison infoSaison = (InfoSaison) entity;

        final Personne personneInfoSaison = infoSaison.getPersonne();
        if (this.getPersonne() == null)
        {
          if (personneInfoSaison.getInfosSaison().contain(infoSaison))
          {
            post = personneInfoSaison.getInfosSaison().remove(
                infoSaison);
          }
        }
      }
      else
View Full Code Here

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

      if (super.postUpdate(beforeEntity, afterEntity))
      {
        final InfoSaison beforeInfoSaison = (InfoSaison) beforeEntity;
        final InfoSaison afterInfoSaison = (InfoSaison) afterEntity;

        final Personne beforePersonne = beforeInfoSaison.getPersonne();
        final Personne afterPersonne = afterInfoSaison.getPersonne();

        if (beforeEntity != afterEntity)
        {
          if (beforePersonne.getInfosSaison().contain(
              beforeInfoSaison))
            post = beforePersonne.getInfosSaison().remove(
                beforeInfoSaison);

          if (post)
            post = afterPersonne.getInfosSaison().add(
                afterInfoSaison);
        }
      }
      else
      {
View Full Code Here

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

                .getRandomTarification().getOid(), context
                .getPersistentModel().getDomainModel()));
          }
        }

        Personne personne = (Personne) identCtrl.getPersonnes()
            .getList().get(
                random.nextInt(identCtrl.getPersonnes()
                    .getList().size()));

        facCtrl.inscrire(cart, personne);
View Full Code Here

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

  public final void testAjoutTransaction(){
   
    final Facture facture = this.facturationCtrl.createFacture();
   
    final Personnes personnes = this.identificationCtrl.getPersonnes();
    final Personne personne = (Personne)personnes.getList().get(0);
   
    this.facturationCtrl.createTransaction(personne, facture, 160.0);
   
  }
View Full Code Here

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

      final String ville, final String codePostal, final String telephone,
      final Date dateNaissance, final String sexe, final String province, final String pays,
      final String courriel, final String nationnalite){
   
    final Personnes personnes = (Personnes) this.domainModel.getEntry("Personnes");
    Personne personne = null;
   
    try {
           
        Validate.argNotNull(nom, "nom");
        Validate.argNotNull(prenom, "prenom");
View Full Code Here

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

 
     
  public boolean isUsernameUsed(final String username)
  {
 
    Personne personne;
    SelectionCriteria criteria;
    final Personnes personnes = (Personnes) this.domainModel.getEntry("Personnes");
   
    try{
     
      for (final Iterator x = personnes.getList().iterator(); x.hasNext();)
      {
        personne = (Personne) x.next();
        criteria = SelectionCriteria.defineContainCriteria("username", username);
       
        if( !personne.getComptes().getEntities(criteria).isEmpty() )
            return true
      }
           
    } catch (final SelectionException e) {
      throw new SystemeException(e);
View Full Code Here

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

  public boolean createMembre(final String nom, final String prenom, final String adresse,
      final String ville, final String codePostal, final String telephone,
      final Date dateNaissance, final String sexe, final String province, final String pays,
      final String courriel, final String nationalite, final String username, final String password){
   
    Personne personne = null;
    Compte compte = null;
   
    if(!this.isUsernameUsed(username)){
     
      personne = this.createPersonne(nom, prenom, adresse, ville, codePostal, telephone, dateNaissance, sexe, province, pays, courriel, nationalite);
View Full Code Here

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

  private void createTestPersonnes() throws ActionException,
      SelectionException
  {
    final Personnes personnes = this.utils.getPersonnes();
    Personne personne;

    personne = personnes.createPersonne("Doe", "John", "38 rue St-Joseph",
        "Quebec", "G1B 4R8", "418-661-9099", new GregorianCalendar(
            1970, 0, 1).getTime(), "M", "Quebec", "Canada",
        "john.doe@nohost.net", "Canadienne");
    this.createTestCompte(personne, "jdoe", "123", true);
    this.createTestInfosSaison(personne, "12345", "12", this.utils
        .getCategories().getByCode("XSE", personne.getSexe()));

    personne = personnes.createPersonne("Deere", "John",
        "39 rue St-Joseph", "Quebec", "G1B 4R8", "418-661-9099",
        new GregorianCalendar(1972, 3, 1).getTime(), "M", "Quebec",
        "Canada", "john.deere@nohost.net", "Canadienne");
    this.createTestCompte(personne, "jdeere", "123", false);
    this.createTestInfosSaison(personne, "42545", "3021", this.utils
        .getCategories().getByCode("XSS", personne.getSexe()));

    personne = personnes.createPersonne("Knüssen", "Olaf",
        "34 Parker Street ", "Pittsfield", "01201", "418-661-9099",
        new GregorianCalendar(1967, 2, 31).getTime(), "M", "MA", "USA",
        "olli@coldmail.com", "Canadienne");
    this.createTestCompte(personne, "oknussen", "123", false);
    this.createTestInfosSaison(personne, "42546", "3022", this.utils
        .getCategories().getByCode("XSS", personne.getSexe()));

    personne = personnes.createPersonne("Côté", "Nathalie",
        "693 Boul. Trudel", "St-Boniface-de-Shawinigan", "H9B 7A1",
        "418-661-9099", new GregorianCalendar(1980, 5, 1).getTime(),
        "F", "Qc", "CAN", "nathalie@karamail.com", "Canadienne");
    this.createTestCompte(personne, "ncote", "123", false);
    this.createTestInfosSaison(personne, "42543", "3023", this.utils
        .getCategories().getByCode("XSS", personne.getSexe()));

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

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

    final Saison saison = saisons.getByAnnee(2007).iterator().next();

    final Evenement evenement = saison.getEvenements().getByNo(2)
        .iterator().next();

    Personne personne = this.utils.getPersonnes().getAuthenticatedPersonne(
        "jdoe", "123");
    final Club club = this.utils.getClubs().getByNom("Subway/Genetik")
        .iterator().next();

    final Course course = evenement.getCourses().getByNom("Cross-Country")
View Full Code Here

Examples of org.xrace.model.identification.personne.Personne

      if (item instanceof CartItemInscription)
      {
        final CartItemInscription cartItemInscription = (CartItemInscription) item;
        final Evenement evenement = cartItemInscription
            .getTarification().getCourse().getEvenement();
        final Personne personne = cartItemInscription.getPersonne();
        final Categorie categorie = cartItemInscription
            .getInscription().getCategorie();
        final EvenementCategoriePersonneEntry entry = new EvenementCategoriePersonneEntry(
            evenement, categorie, personne);
        final Inscription inscription = cartItemInscription
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.