Package | Description |
---|---|
org.phenotips.vocabulary | |
org.phenotips.vocabulary.script |
Modifier and Type | Interface and Description |
---|---|
interface |
VocabularyInputTerm
A vocabulary term that has been parsed from a vocabulary source during
reindexing ,
exposing the already parsed fields and allowing new fields to be added. |
Modifier and Type | Method and Description |
---|---|
VocabularyTerm |
Vocabulary.getTerm(String id)
Access an individual term from the vocabulary, identified by its
term identifier . |
VocabularyTerm |
VocabularyManager.resolveTerm(String termId)
Retrieve a term from its owner vocabulary.
|
Modifier and Type | Method and Description |
---|---|
Set<VocabularyTerm> |
VocabularyTerm.getAncestors()
Returns the ancestors (both direct and indirect ancestors) of this term.
|
Set<VocabularyTerm> |
VocabularyTerm.getAncestorsAndSelf()
Returns the ancestors (both direct and indirect ancestors) of this term and the term itself.
|
Set<VocabularyTerm> |
VocabularyTerm.getParents()
Returns the parents (direct ancestors) of this term.
|
org.xwiki.cache.Cache<VocabularyTerm> |
SolrVocabularyResourceManager.getTermCache(Vocabulary vocabulary)
Get the cache instance created for handling vocabulary terms.
|
Set<VocabularyTerm> |
Vocabulary.getTerms(Collection<String> ids)
Access a list of terms from the vocabulary, identified by their
term identifiers . |
List<VocabularyTerm> |
Vocabulary.search(Map<String,?> fieldValues)
Generic search method, which looks for terms that match the specified term properties.
|
List<VocabularyTerm> |
Vocabulary.search(Map<String,?> fieldValues,
Map<String,String> queryOptions)
Generic search method, which looks for terms that match the specified meta-properties.
|
List<VocabularyTerm> |
Vocabulary.search(String input)
Suggest the terms that best match the user's input.
|
List<VocabularyTerm> |
Vocabulary.search(String input,
int maxResults,
String sort,
String customFilter)
Suggest the terms that best match the user's input.
|
List<VocabularyTerm> |
VocabularyManager.search(String input,
String category,
int maxResults)
Suggest the terms that best match the user's input, in all vocabularies
supporting the target category of terms . |
default List<VocabularyTerm> |
Vocabulary.search(String input,
String category,
int maxResults,
String sort,
String customFilter)
Suggest the terms that best match the user's input, in a specific sub-category of this vocabulary.
|
Modifier and Type | Method and Description |
---|---|
long |
Vocabulary.getDistance(VocabularyTerm fromTerm,
VocabularyTerm toTerm)
Find the distance between two terms, if this is a structured ontology that supports computing such a distance.
|
long |
VocabularyTerm.getDistanceTo(VocabularyTerm other)
Find the distance to another term in the same vocabulary, if the owner vocabulary is a structured ontology that
supports computing such a distance.
|
Modifier and Type | Method and Description |
---|---|
VocabularyInputTerm |
VocabularyInputTerm.setParents(Set<VocabularyTerm> parents)
Sets the parents (direct ancestors) of this term.
|
Modifier and Type | Method and Description |
---|---|
VocabularyTerm |
OntologyScriptService.resolveTerm(String termId)
Deprecated.
use
$services.vocabularies.resolveTerm instead |
VocabularyTerm |
VocabularyScriptService.resolveTerm(String termId)
Retrieve a term from its owner vocabulary.
|
Modifier and Type | Method and Description |
---|---|
List<VocabularyTerm> |
VocabularyScriptService.search(String input,
String category,
int maxResults)
Suggest the terms that best match the user's input, in all vocabularies
supporting the target category of terms . |
Copyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.