com.jurismarches.vradi.services.managers
Class ThesaurusManager
java.lang.Object
com.jurismarches.vradi.services.managers.ThesaurusManager
public class ThesaurusManager
- extends Object
Class containing the methods to manage the thesaurus :
- node creation, update, retrieving, deletion
- get child node number
- get children
- Version:
- $Revision: 783 $ $Date: 2010-04-28 12:34:13 +0200 (mer., 28 avril 2010) $
- Author:
- schorlet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThesaurusManager
public ThesaurusManager(org.sharengo.wikitty.WikittyProxy proxy)
getRootThesaurus
public org.sharengo.wikitty.TreeNodeImpl getRootThesaurus()
throws VradiException
- Throws:
VradiException
getAllThesaurus
public List<org.sharengo.wikitty.TreeNodeImpl> getAllThesaurus()
throws VradiException
- Throws:
VradiException
getThesaurus
public org.sharengo.wikitty.TreeNodeImpl getThesaurus(String thesaurusId)
throws VradiException
- Throws:
VradiException
getThesaurus
public List<org.sharengo.wikitty.TreeNodeImpl> getThesaurus(List<String> thesaurusIds)
throws VradiException
- Throws:
VradiException
getChildrenThesaurus
public List<org.sharengo.wikitty.TreeNodeImpl> getChildrenThesaurus(String thesaurusId)
throws VradiException
- Throws:
VradiException
getNbFormsForThesaurus
public int getNbFormsForThesaurus(String thesaurusId)
throws VradiException
- Throws:
VradiException
proposeThesaurus
public List<org.sharengo.wikitty.TreeNodeImpl> proposeThesaurus(Form form,
List<org.sharengo.wikitty.TreeNodeImpl> thesaurus)
throws VradiException
- Propose thesaurus nodes that might be in relation with a specified form
- Parameters:
form - the Form containing the information needed
to search the thesaurus nodesthesaurus - the list of all the tree nodes of the thesaurus
- Returns:
- a list of
TreeNodeImpl
- Throws:
VradiException
getQueriesToModifyAfterThesaurusModification
public Map<QueryMaker,List<VradiQueryBean>> getQueriesToModifyAfterThesaurusModification(String thesaurusName)
- Gets the query makers whose queries are potentially to modify
after a thesaurus node modification
- Parameters:
thesaurusName - the modified thesaurus node
- Returns:
- a map containing the query makers and their queries which contains
the thesaurus node name
Copyright © 2009-2010 JurisMarches. All Rights Reserved.