com.jurismarches.vradi.services.managers
Class ThesaurusManager
java.lang.Object
com.jurismarches.vradi.services.managers.ThesaurusManager
public class ThesaurusManager
- extends java.lang.Object
Class containing the methods to manage the thesaurus :
- node creation, update, retrieving, deletion
- get child node number
- get children
TODO SLE 27/07/10 : Do for descripteurs
- Version:
- $Revision: 1184 $ $Date: 2010-08-05 15:20:36 +0200 (jeu., 05 août 2010) $
- Author:
- schorlet
|
Field Summary |
protected org.nuiton.wikitty.WikittyProxy |
proxy
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxy
protected final org.nuiton.wikitty.WikittyProxy proxy
ThesaurusManager
public ThesaurusManager(org.nuiton.wikitty.WikittyProxy proxy)
getRootThesaurus
public java.util.List<RootThesaurus> getRootThesaurus()
throws VradiException
- Return root thesaurus (ie thesaurus nodes without parent).
- Returns:
- a
RootThesaurus collection
- Throws:
VradiException
getAllThesaurus
public java.util.List<Thesaurus> getAllThesaurus()
throws VradiException
- Throws:
VradiException
getThesaurus
public Thesaurus getThesaurus(java.lang.String thesaurusId)
throws VradiException
- Throws:
VradiException
getThesaurus
public java.util.List<Thesaurus> getThesaurus(java.util.List<java.lang.String> thesaurusIds)
throws VradiException
- Throws:
VradiException
getChildrenThesaurus
public java.util.List<Thesaurus> getChildrenThesaurus(java.lang.String thesaurusId)
throws VradiException
- Throws:
VradiException
getNbFormsForThesaurus
public int getNbFormsForThesaurus(java.lang.String thesaurusId)
throws VradiException
- Throws:
VradiException
proposeThesaurus
public java.util.List<Thesaurus> proposeThesaurus(Form form)
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 nodes
- Returns:
- a list of
Thesaurus
- Throws:
VradiException
getQueriesToModifyAfterThesaurusModification
public java.util.Map<Group,java.util.List<QueryBean>> getQueriesToModifyAfterThesaurusModification(java.lang.String rootThesaurusName,
java.lang.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.