Package net.fqsc.inscriptions.view

Examples of net.fqsc.inscriptions.view.InscriptionsApp


        final Tarification tarification = (Tarification) singleChoice
            .getModelObject();

        if (!tarification.equals(null))
        {
          InscriptionsApp app = (InscriptionsApp) this
              .getApplication();
          session.getCart().addToCart(
              new CartItem(tarification.getOid(),
              app.getDbContext().getPersistentModel()
                  .getDomainModel()));
        }

        this
            .setResponsePage(new HomePage(CartListViewPanel.class,
View Full Code Here


   * @param parameters
   */
  public GestionEvenementsPanel(final String id, final Map parameters)
  {
    super(id, parameters);
    final InscriptionsApp app = (InscriptionsApp) this.getApplication();
    this.saisons = (Saisons) app.getEntry("Saisons");

    final Object selectedItem = parameters.get(Parameters.SELECTED_ITEM);
    final boolean isNew = (Boolean) parameters.get(Parameters.IS_NEW);
    final Object subCategory = parameters.get(Parameters.SUB_CATEGORY);

View Full Code Here

    this.CreateComponents();
  }

  private void CreateComponents()
  {
    final InscriptionsApp app = (InscriptionsApp) this.getApplication();
    final Clubs clubs = (Clubs) app.getEntry("Clubs");
    Boolean etat = true;

    AffiliationClub affClub;
   
    for (final Club club : clubs.getList())
View Full Code Here

        .getPersonneOid());
  }

  public boolean EstAdmin()
  {
    final InscriptionsApp app = (InscriptionsApp) this.getApplication();
    final Personnes personnes = (Personnes) app.getEntry("Personnes");
    final Personne personne = personnes.getPersonne(this.user
        .getPersonneOid().getUniqueNumber());

    for (final Object object : personne.getComptes().getList())
    {
View Full Code Here

  }

  @Override
  public final void onSubmit()
  {
    final InscriptionsApp app = (InscriptionsApp) this.getApplication();
   
    final Personnes personnes = (Personnes)app.getEntry("Personnes");
   
    final Compte compte = personnes.getCompteByMail(this.courriel);
   
   
    if (compte == null)
    {
      this.error("Il n'y a aucun compte correspondant a votre mail.");
    }
    else
    {
     
      final EmaiForgotPasswordlSender email = new EmaiForgotPasswordlSender(this.courriel, compte, app.getDbContext());
      this.error("Veuillez vérifier votre boîte électronique afin de compléter la démarche de récupération de votre mot de passe.");
    }
  }
View Full Code Here

  private IIdentificationController identificationCtrl;
 
  public DisplayPersonnePanel(final String id, final Map parameters)
  {
    super(id, parameters);
    final InscriptionsApp app = (InscriptionsApp) this.getApplication();
   
    this.identificationCtrl = new IdentificationController(
        app.getDbContext().getPersistentModel().getDomainModel());
   
    this.parameters = parameters;
    this.personne = this.identificationCtrl.getPersonneByOid(
        (Oid) parameters.get("Oid"));
   
View Full Code Here

  private IIdentificationController identificationCtrl;

  public UpdatePersonneForm(final String id, final Map parameters)
  {
    super(id);
    final InscriptionsApp app = (InscriptionsApp) this.getApplication();

    this.identificationCtrl = new IdentificationController(
        app.getDbContext().getPersistentModel().getDomainModel());
   
    this.parameters = parameters;
       
    this.personnes = this.identificationCtrl.getPersonnes();
   
View Full Code Here

  public UpdatePasswordForm(final String id, final Map parameters)
  {
    super(id);

    final InscriptionsApp app = (InscriptionsApp) this.getApplication();
    this.personnes = (Personnes) app.getEntry("Personnes");
    this.personne = (Personne) this.personnes
        .retrieveByOid((Oid) parameters.get("Oid"));
    this.comptes = this.personne.getComptes();
    this.currentCompte = (Compte) this.comptes.getList().get(0);
    this.newCompte = (Compte) this.currentCompte.copy();
View Full Code Here

  private Personne personne;

  public BienvenuePanel(final String id, final Map parameters)
  {
    super(id, parameters);
    final InscriptionsApp app = (InscriptionsApp) this.getApplication();

    this.personnes = (Personnes) app.getEntry("Personnes");
    this.personne = (Personne) this.personnes
        .retrieveByOid((Oid) parameters.get("Oid"));

    this.createComponent();
View Full Code Here


  public CreationComptePersonneForm(final String id, final Map parameters)
  {
    super(id);
    final InscriptionsApp app = (InscriptionsApp) this.getApplication();
   
    this.identificationCtrl = new IdentificationController(
        app.getDbContext().getPersistentModel().getDomainModel());
   
    this.personne = new Personne(this.identificationCtrl.getDomainModel());
   
    this.createComponents();
   
View Full Code Here

TOP

Related Classes of net.fqsc.inscriptions.view.InscriptionsApp

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.