|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcontroleurs.ControleurRepertoire
public class ControleurRepertoire
Controleur associe a la fonction repertoire du programme
Constructor Summary | |
---|---|
ControleurRepertoire(PanelRepertoire v,
org.xmldb.api.modules.XPathQueryService s,
org.xmldb.api.base.Collection c)
Contructeur du controleur du repertoire |
Method Summary | |
---|---|
void |
addContact(ContactFull c)
Ajoute un contact |
void |
editContact(ContactFull c)
Edite un contact |
ContactFull |
getContactAffiche()
|
ListeContact |
getContacts()
Retourne la liste de contacts |
boolean |
removeContact(java.lang.String id)
Enleve un contact |
void |
requestAllContacts()
Effectue une requete sur tous les contacts pour initialiser la liste |
void |
requestOneContact(java.lang.String id)
Effectue une requete sur un contact a partir de son id |
void |
searchContacts(java.lang.String nom,
java.lang.String prenom)
Effectue une requete sur tous les contacts pour initialiser la liste |
void |
setContactAffiche(ContactFull contactAffiche)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControleurRepertoire(PanelRepertoire v, org.xmldb.api.modules.XPathQueryService s, org.xmldb.api.base.Collection c)
v
- la vue du repertoires
- le service effectuant les requetes dans eXistc
- le projet XML dans eXistMethod Detail |
---|
public void requestAllContacts() throws org.xmldb.api.base.XMLDBException, org.xml.sax.SAXException, java.io.IOException
org.xmldb.api.base.XMLDBException
org.xml.sax.SAXException
java.io.IOException
public void requestOneContact(java.lang.String id) throws org.xmldb.api.base.XMLDBException, org.xml.sax.SAXException, java.io.IOException
id
- l'identifiant du contact recherche
org.xmldb.api.base.XMLDBException
org.xml.sax.SAXException
java.io.IOException
public void searchContacts(java.lang.String nom, java.lang.String prenom) throws org.xmldb.api.base.XMLDBException, org.xml.sax.SAXException, java.io.IOException
org.xmldb.api.base.XMLDBException
org.xml.sax.SAXException
java.io.IOException
public void addContact(ContactFull c) throws org.xmldb.api.base.XMLDBException, org.xml.sax.SAXException, java.io.IOException
c
- le contact a ajouter
org.xmldb.api.base.XMLDBException
org.xml.sax.SAXException
java.io.IOException
public void editContact(ContactFull c) throws org.xmldb.api.base.XMLDBException, org.xml.sax.SAXException, java.io.IOException
c
- le contact a editer
org.xmldb.api.base.XMLDBException
org.xml.sax.SAXException
java.io.IOException
public boolean removeContact(java.lang.String id) throws org.xmldb.api.base.XMLDBException, org.xml.sax.SAXException, java.io.IOException
id
- l'id du contact a enlever
org.xmldb.api.base.XMLDBException
org.xml.sax.SAXException
java.io.IOException
public ListeContact getContacts()
public ContactFull getContactAffiche()
public void setContactAffiche(ContactFull contactAffiche)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |