|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.thesaurus.control.ThesaurusManager
@Named public class ThesaurusManager
Class ThesaurusManager Classe servant d'interface aux autres composants ayant besoin du thesaurus (module pdc et searchEngine)
| Constructor Summary | |
|---|---|
ThesaurusManager()
|
|
| Method Summary | |
|---|---|
void |
deleteSynonymsAxis(Connection con,
long idTree)
Supprime les synonymes de tous les termes associés à l'axe passé en paramètre |
void |
deleteSynonymsTerms(Connection con,
long idTree,
List<String> idTerms)
Supprime les synonymes de tous les termes passés en paramètre |
Jargon |
getJargon(String idUser)
Retourne le jargon utilisé par l'utilisateur retourne un Jargon ou null s'il n'a pas de jargon |
Collection<String> |
getSynonyms(long idTree,
long idTerm,
long idVoca)
|
Collection<String> |
getSynonyms(long idTree,
long idTerm,
String idUser)
Retourne la liste des synonymes d'un terme pour un utilisateur donné retourne une Collection de String |
Collection<String> |
getSynonyms(String mot,
String idUser)
Retourne la liste des synonymes d'un mot donné (ce mot peut-etre un terme ou un synonyme) pour un utilisateur donné retourne une Collection de String |
Collection<String> |
getSynonymsAxis(String axisId,
String idUser)
Retourne la liste des synonymes d'un terme pour un utilisateur donné, à partir de son axe retourne une Collection de String |
Collection<Synonym> |
getSynonymsByTree(long idTree,
long idVoca)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThesaurusManager()
| Method Detail |
|---|
public Collection<String> getSynonyms(String mot,
String idUser)
throws ThesaurusException
mot - idUser -
ThesaurusExceptiongetJargon, getSynonymsTerm, getSynonyms, isExist
public Collection<String> getSynonyms(long idTree,
long idTerm,
String idUser)
throws ThesaurusException
idTree - idTerm - idUser -
ThesaurusExceptiongetJargon, com.silverpeas.thesaurus.control.ThesaurusBm.getSynonyms
public Collection<String> getSynonyms(long idTree,
long idTerm,
long idVoca)
throws ThesaurusException
ThesaurusException
public Collection<Synonym> getSynonymsByTree(long idTree,
long idVoca)
throws ThesaurusException
ThesaurusException
public Collection<String> getSynonymsAxis(String axisId,
String idUser)
throws ThesaurusException
axisId - idUser -
ThesaurusExceptiongetJargon, com.stratelia.silverpeas.pdc.control.PdcBm.getRoot,
com.silverpeas.thesaurus.control.ThesaurusBm.getSynonyms
public Jargon getJargon(String idUser)
throws ThesaurusException
idUser -
ThesaurusExceptioncom.silverpeas.thesaurus.control.ThesaurusBm.getJargon
public void deleteSynonymsAxis(Connection con,
long idTree)
throws ThesaurusException
idTree -
ThesaurusExceptioncom.silverpeas.thesaurus.control.ThesaurusBm.deleteSynonymsAxis
public void deleteSynonymsTerms(Connection con,
long idTree,
List<String> idTerms)
throws ThesaurusException
idTree - idTerms - : List de String
ThesaurusExceptioncom.silverpeas.thesaurus.control.ThesaurusBm.deleteSynonymsTerms
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||