|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CIntranet.data.SearchControler
public class SearchControler
SearchControler
Classe permettant d'encapsulers les accès à la base de données dans des transactions
(c)Copyright ESup-Portail 2004
Constructor Summary | |
---|---|
SearchControler()
|
Method Summary | |
---|---|
void |
close()
Ferme la connexion courante |
void |
commit()
Commit la transaction |
java.util.List |
getCustomDocuments(java.lang.String intranet,
java.lang.String type,
java.lang.String description)
Retourne les documents correspondants aux critères de recherche |
java.util.List |
getInvalidDocuments(java.lang.String intranet)
Retourne la liste des documents en attente de validation |
java.util.List |
getLastDocuments(java.lang.String intranet,
int count)
Retourne les n derniers documents d'un intranet |
java.util.List |
getPerimedDocuments(java.lang.String intranet)
Retourne la liste des documents en attente de validation |
void |
rollback()
Rollback la transaction |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchControler()
Method Detail |
---|
public void close()
public void commit()
public void rollback()
public java.util.List getInvalidDocuments(java.lang.String intranet) throws DataException
intranet
- L'identifiant de l'intranet
DataException
public java.util.List getPerimedDocuments(java.lang.String intranet) throws DataException
intranet
- L'identifiant de l'intranet
DataException
public java.util.List getLastDocuments(java.lang.String intranet, int count) throws DataException
intranet
- L'identifiant de l'intranetcount
- Le nombre de documents à retourner
DataException
public java.util.List getCustomDocuments(java.lang.String intranet, java.lang.String type, java.lang.String description) throws DataException
intranet
- L'identifiant de l'intranettype
- Le type de document (F, L ou %)description
- Le template de description (%template% ou %)
DataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |