| java.lang.Object org.fao.geonet.kernel.ThesaurusManagerSesame
ThesaurusManagerSesame | public class ThesaurusManagerSesame (Code) | | |
Method Summary | |
public boolean | addElement(String thesaurusName, String prefLab, String altLab, String note) | public void | addThesaurus(Thesaurus gst) | public String | buildThesaurusFilePath(String fname, String type, String dname) | public boolean | deleteElement(String thesaurusName, String prefLab, String altLab, String note) | public boolean | existsThesaurus(String name) | public Element | getAllPrefLabel(String thesaurusRepository) | public Element | getPrefLabel(String thesaurusRepository, String word) | public Element | getPrefLabelBeginingWith(String thesaurusRepository, String word) | public Element | getPrefLabelIncluding(String thesaurusRepository, String word) | public LocalRepository | getRepositoryByName(String thesaurusName) | public Hashtable<String, LocalRepository> | getRepositoryTable() | public String | getThesauriDirectory() | public Hashtable<String, Thesaurus> | getThesauriTable() | public Thesaurus | getThesaurusByName(String thesaurusName) | public static void | main(String[] args) | public QueryResultsTable | performRequest(String query, LocalRepository thesaurusRepository) | public void | remove(String name) | public boolean | updateElement(String thesaurusName, String prefLab, String altLab, String note) | public boolean | updateThesaurus(String thesaurusName, Hashtable htChanges) |
ThesaurusManagerSesame | public ThesaurusManagerSesame(String appPath, String thesauriRepository) throws Exception(Code) | | Parameters: appPath - Parameters: thesauriRepository - throws: Exception - |
buildThesaurusFilePath | public String buildThesaurusFilePath(String fname, String type, String dname)(Code) | | Parameters: fname - Parameters: type - Parameters: dname - |
deleteElement | public boolean deleteElement(String thesaurusName, String prefLab, String altLab, String note) throws GraphException(Code) | | TODO TEST ETAPE 3
Parameters: args - throws: GraphException - throws: Exception - |
existsThesaurus | public boolean existsThesaurus(String name)(Code) | | Parameters: name - |
getAllPrefLabel | public Element getAllPrefLabel(String thesaurusRepository) throws IOException, MalformedQueryException, QueryEvaluationException, AccessDeniedException(Code) | | Parameters: thesaurusRepository - throws: IOException - throws: MalformedQueryException - throws: QueryEvaluationException - throws: AccessDeniedException - |
getPrefLabel | public Element getPrefLabel(String thesaurusRepository, String word) throws IOException, MalformedQueryException, QueryEvaluationException, AccessDeniedException(Code) | | Parameters: thesaurusRepository - Parameters: word - throws: IOException - throws: MalformedQueryException - throws: QueryEvaluationException - throws: AccessDeniedException - |
getPrefLabelBeginingWith | public Element getPrefLabelBeginingWith(String thesaurusRepository, String word) throws IOException, MalformedQueryException, QueryEvaluationException, AccessDeniedException(Code) | | Parameters: thesaurusRepository - Parameters: word - throws: IOException - throws: MalformedQueryException - throws: QueryEvaluationException - throws: AccessDeniedException - |
getPrefLabelIncluding | public Element getPrefLabelIncluding(String thesaurusRepository, String word) throws IOException, MalformedQueryException, QueryEvaluationException, AccessDeniedException(Code) | | Parameters: thesaurusRepository - Parameters: word - throws: IOException - throws: MalformedQueryException - throws: QueryEvaluationException - throws: AccessDeniedException - |
getRepositoryByName | public LocalRepository getRepositoryByName(String thesaurusName)(Code) | | |
getThesauriDirectory | public String getThesauriDirectory()(Code) | | |
performRequest | public QueryResultsTable performRequest(String query, LocalRepository thesaurusRepository) throws IOException, MalformedQueryException, QueryEvaluationException, AccessDeniedException(Code) | | Parameters: query - Parameters: thesaurusRepository - throws: IOException - throws: MalformedQueryException - throws: QueryEvaluationException - throws: AccessDeniedException - |
remove | public void remove(String name)(Code) | | TODO What happen if SESAME repository destoyed ?
Parameters: name - |
updateElement | public boolean updateElement(String thesaurusName, String prefLab, String altLab, String note) throws MalformedQueryException, QueryEvaluationException, AccessDeniedException(Code) | | TODO ETAPE 3
Parameters: args - throws: QueryEvaluationException - throws: MalformedQueryException - throws: AccessDeniedException - throws: Exception - |
updateThesaurus | public boolean updateThesaurus(String thesaurusName, Hashtable htChanges)(Code) | | Parameters: name - |
|
|