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: 498 $ $Date: 2010-02-09 12:10:31 +0100 (mar., 09 févr. 2010) $
- Author:
- schorlet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROOT_THESAURUS_NAME
public static final String ROOT_THESAURUS_NAME
- See Also:
- Constant Field Values
ThesaurusManager
public ThesaurusManager(org.sharengo.wikitty.WikittyProxy proxy)
ThesaurusManager
public ThesaurusManager()
getRootThesaurus
public org.sharengo.wikitty.TreeNode getRootThesaurus()
throws TechnicalException
- Throws:
TechnicalException
getAllThesaurus
public List<org.sharengo.wikitty.TreeNode> getAllThesaurus()
throws TechnicalException
- Throws:
TechnicalException
getThesaurus
public org.sharengo.wikitty.TreeNode getThesaurus(String thesaurusId)
throws TechnicalException
- Throws:
TechnicalException
getThesaurus
public List<org.sharengo.wikitty.TreeNode> getThesaurus(List<String> thesaurusIds)
throws TechnicalException
- Throws:
TechnicalException
getChildrenThesaurus
public List<org.sharengo.wikitty.TreeNode> getChildrenThesaurus(String thesaurusId)
throws TechnicalException
- Throws:
TechnicalException
getNbFormsByThesaurus
public Map<org.sharengo.wikitty.TreeNode,Integer> getNbFormsByThesaurus()
throws TechnicalException
- Throws:
TechnicalException
getNbFormsForThesaurus
public int getNbFormsForThesaurus(String thesaurusId)
throws TechnicalException
- Throws:
TechnicalException
proposeThesaurus
public List<org.sharengo.wikitty.TreeNode> proposeThesaurus(Form form,
List<org.sharengo.wikitty.TreeNode> thesaurus)
throws TechnicalException
- 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
TreeNode
- Throws:
TechnicalException
Copyright © 2009-2010 JurisMarches. All Rights Reserved.