Package | Description |
---|---|
org.phenotips.vocabulary | |
org.phenotips.vocabulary.script |
Modifier and Type | Method and Description |
---|---|
Vocabulary |
VocabularyTerm.getVocabulary()
Returns the vocabulary where this term is defined.
|
Vocabulary |
VocabularyManager.getVocabulary(String vocabularyId)
Retrieve a vocabulary given its identifier.
|
Modifier and Type | Method and Description |
---|---|
Set<Vocabulary> |
VocabularyManager.getVocabularies(String category)
Retrieve a set of
Vocabulary objects that fall under the provided vocabulary category . |
Modifier and Type | Method and Description |
---|---|
void |
SolrVocabularyResourceManager.createReplacementCore(Vocabulary vocabulary)
Copy the Solr configuration file in a separate temporary directory, then register this temporary core with the
Solr server.
|
void |
SolrVocabularyResourceManager.discardReplacementCore(Vocabulary vocabulary)
Delete the temporary core, if one was already created by
SolrVocabularyResourceManager.createReplacementCore(Vocabulary) . |
void |
VocabularyExtension.extendQuery(org.apache.solr.client.solrj.SolrQuery query,
Vocabulary vocabulary)
Called for each query on the vocabulary, this method modifies the query terms by changing, adding or removing
fields.
|
void |
AbstractCSVAnnotationsExtension.extendQuery(org.apache.solr.client.solrj.SolrQuery query,
Vocabulary vocabulary) |
void |
VocabularyExtension.extendTerm(VocabularyInputTerm term,
Vocabulary vocabulary)
Called for each term during vocabulary reindexing, this method modifies the parsed terms by changing, adding or
removing fields.
|
void |
AbstractCSVAnnotationsExtension.extendTerm(VocabularyInputTerm term,
Vocabulary vocabulary) |
org.apache.solr.client.solrj.SolrClient |
SolrVocabularyResourceManager.getReplacementSolrConnection(Vocabulary vocabulary)
Get the temporary Solr core used for a vocabulary during reindexing.
|
org.apache.solr.client.solrj.SolrClient |
SolrVocabularyResourceManager.getSolrConnection(Vocabulary vocabulary)
Get the Solr core used for a vocabulary.
|
org.xwiki.cache.Cache<VocabularyTerm> |
SolrVocabularyResourceManager.getTermCache(Vocabulary vocabulary)
Get the cache instance created for handling vocabulary terms.
|
void |
VocabularyExtension.indexingEnded(Vocabulary vocabulary)
Called when a vocabulary reindex is done, so that this extension can clean up its resources, if any.
|
void |
AbstractCSVAnnotationsExtension.indexingEnded(Vocabulary vocabulary) |
void |
VocabularyExtension.indexingStarted(Vocabulary vocabulary)
Called when a vocabulary reindex begins, so that this extension can prepare its needed resources, if any.
|
void |
AbstractCSVAnnotationsExtension.indexingStarted(Vocabulary vocabulary) |
boolean |
VocabularyExtension.isVocabularySupported(Vocabulary vocabulary)
Checks if a vocabulary is supported by this extension.
|
boolean |
AbstractCSVAnnotationsExtension.isVocabularySupported(Vocabulary vocabulary) |
protected void |
AbstractCSVAnnotationsExtension.processCSVRecordRow(org.apache.commons.csv.CSVRecord row,
Vocabulary vocabulary)
Processes and caches the row data.
|
void |
SolrVocabularyResourceManager.replaceCore(Vocabulary vocabulary)
Copy new index data from the temporary core to the main index location.
|
protected abstract org.apache.commons.csv.CSVFormat |
AbstractCSVAnnotationsExtension.setupCSVParser(Vocabulary vocabulary)
Sets up a CSV parser so that it accepts the format of the input file, and has names for each column of interest.
|
Modifier and Type | Method and Description |
---|---|
Vocabulary |
OntologyScriptService.get(String vocabularyId)
Deprecated.
use
$services.vocabularies.get instead |
Vocabulary |
VocabularyScriptService.get(String vocabularyId)
Retrieve a vocabulary given its identifier.
|
Vocabulary |
OntologyScriptService.getOntology(String vocabularyId)
Deprecated.
use
$services.vocabularies.getVocabulary instead |
Vocabulary |
VocabularyScriptService.getVocabulary(String vocabularyId)
Retrieve a vocabulary given its identifier.
|
Copyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.