|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.genealogie.controleur.defaut.GenericCtrl
|
+--org.genealogie.controleur.defaut.AuthentificationsCtrlImpl
Classe de contr“le pour les op‚rations de manipulation des documents. Les erreurs lev‚es sont de type AuthentificationException avec des codes d‚finis en chaŒnes 'public static' de la classe.
| Field Summary | |
private AccesImpl |
acces
|
private AuthentificationDAO |
authentificationDAO
|
private FactoryDAO |
factory
|
| Fields inherited from class org.genealogie.controleur.defaut.GenericCtrl |
formatDate |
| Fields inherited from interface org.genealogie.controleur.AuthentificationsCtrl |
ACCES_HAS_COMMUNES_ASSOCIES, ACCES_HAS_DEPARTEMENTS_ASSOCIES, ACCES_HAS_FAMILLES_ASSOCIES, ACCES_HAS_PAYS_ASSOCIES, ACCES_HAS_TYPES_DOCUMENTS_ASSOCIES, ACCES_LOGIN_VIDE, ACCES_NULL, ACCES_PARAM_NULL, ACCES_PASSWORD_VIDE |
| Constructor Summary | |
AuthentificationsCtrlImpl()
|
|
| Method Summary | |
void |
delete()
Cette m‚thode permet de suprimer un document en base, aprŠs avoir fait les v‚rifications n‚cessaires |
AuthUtils |
getAuth()
Accesseur en lecture de l'authentification. |
void |
init(FactoryDAO factory)
Initialisation par d‚faut. |
void |
init(FactoryDAO factory,
AuthUtils auth)
Initialisation avec l'authentification pour la classe. |
void |
init(FactoryDAO factory,
int authId)
Initialisation avec l'authentification pour la classe. |
void |
insert(AuthUtils auth)
Cette m‚thode permet d'ins‚rer une authentification en base, aprŠs avoir fait les v‚rifications n‚cessaires |
void |
insert(java.lang.String login,
java.lang.String password,
boolean accesTotal,
boolean accesActive,
int borneSup,
boolean gestionRecherches,
boolean registres)
Cette m‚thode permet d'ins‚rer une authentification en base, aprŠs avoir fait les v‚rifications n‚cessaires |
void |
update(AuthUtils auth)
Cette m‚thode permet de mettre … jour un document en base, aprŠs avoir fait les v‚rifications n‚cessaires |
void |
update(java.lang.String login,
java.lang.String password,
boolean accesTotal,
boolean accesActive,
int borneSup,
boolean gestionRecherches,
boolean registres)
Cette m‚thode permet de mettre … jour un document en base, aprŠs avoir fait les v‚rifications n‚cessaires |
| Methods inherited from class org.genealogie.controleur.defaut.GenericCtrl |
estDecede, estDecede, getAge, getAge, getFormatDate, getPrenoms, getPrenoms, insererPersonneTable, isDateApprochee, majPersonneTable, setFormatDate, supprimerPersonneTable, supprimerPersonneTable |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private FactoryDAO factory
private AuthentificationDAO authentificationDAO
private AccesImpl acces
| Constructor Detail |
public AuthentificationsCtrlImpl()
| Method Detail |
public void init(FactoryDAO factory)
throws JGeneaException
Initialisation par d‚faut.
init in interface AuthentificationsCtrlfactory - la factory d'accŠs … la couche dao
public void init(FactoryDAO factory,
AuthUtils auth)
throws JGeneaException
Initialisation avec l'authentification pour la classe.
init in interface AuthentificationsCtrlfactory - la factory d'accŠs … la couche daoauth - l'authentification
public void init(FactoryDAO factory,
int authId)
throws JGeneaException
Initialisation avec l'authentification pour la classe.
init in interface AuthentificationsCtrlfactory - la factory d'accŠs … la couche daoauthId - l'identifiant de l'authentificationpublic AuthUtils getAuth()
Accesseur en lecture de l'authentification.
getAuth in interface AuthentificationsCtrl
public void insert(AuthUtils auth)
throws JGeneaException
Cette m‚thode permet d'ins‚rer une authentification en base, aprŠs avoir fait les v‚rifications n‚cessaires
insert in interface AuthentificationsCtrlauthentification - l'authentification
public void insert(java.lang.String login,
java.lang.String password,
boolean accesTotal,
boolean accesActive,
int borneSup,
boolean gestionRecherches,
boolean registres)
throws JGeneaException
Cette m‚thode permet d'ins‚rer une authentification en base, aprŠs avoir fait les v‚rifications n‚cessaires
insert in interface AuthentificationsCtrllogin - l'identifiant de connexionpassword - le mot de passeaccesTotal - le mode accŠs total activ‚?accesActive - l'accŠs activ‚?borneSup - l'ann‚e borne sup‚rieurgestionRecherches - le mode gestion des recherches activ‚?registres - le mode accŠs aux registres activ‚?
public void update(AuthUtils auth)
throws JGeneaException
Cette m‚thode permet de mettre … jour un document en base, aprŠs avoir fait les v‚rifications n‚cessaires
update in interface AuthentificationsCtrlauth - l'objet de l'authentification … mettre … jour
public void update(java.lang.String login,
java.lang.String password,
boolean accesTotal,
boolean accesActive,
int borneSup,
boolean gestionRecherches,
boolean registres)
throws JGeneaException
Cette m‚thode permet de mettre … jour un document en base, aprŠs avoir fait les v‚rifications n‚cessaires
update in interface AuthentificationsCtrllogin - l'identifiant de connexionpassword - le mot de passeaccesTotal - le mode accŠs total activ‚?accesActive - l'accŠs activ‚?borneSup - l'ann‚e borne sup‚rieurgestionRecherches - le mode gestion des recherches activ‚?registres - le mode accŠs aux registres activ‚?
public void delete()
throws JGeneaException
Cette m‚thode permet de suprimer un document en base, aprŠs avoir fait les v‚rifications n‚cessaires
delete in interface AuthentificationsCtrldocument - l'objet du document … mettre … jour
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||