Subversion Repositories eFlore/Applications.coel

Rev

Rev 278 | Rev 281 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 278 Rev 279
Line 495... Line 495...
495
	 * Retourne l'identifiant du projet courrant de l'application.
495
	 * Retourne l'identifiant du projet courrant de l'application.
496
	 */
496
	 */
497
	public String getProjetId() {
497
	public String getProjetId() {
498
		String id = null;
498
		String id = null;
499
		Projet projetCourant = (Projet) Registry.get(RegistreId.PROJET_COURANT);
499
		Projet projetCourant = (Projet) Registry.get(RegistreId.PROJET_COURANT);
500
		if (!projetCourant.getId().equals("")) {
500
		if (projetCourant != null && !projetCourant.getId().equals("")) {
501
			id = projetCourant.getId();
501
			id = projetCourant.getId();
502
		}
502
		}
503
		return id;
503
		return id;
504
	}
504
	}