com.tle.core.taxonomy.scripting.objects
Interface TaxonomyServiceScriptObject
Declaration: public interface TaxonomyServiceScriptObject extends ScriptObject
All Superinterfaces: ScriptObject, java.io.Serializable

 

Referenced by the 'data' variable in script

 

 

Fields Summary
static java.lang.String DEFAULT_VARIABLE
    

 

 

Methods Summary
abstract TaxonomyScriptType getTaxonomyByName(java.lang.String name)
    
Find a taxonomy by the display name of the taxonomy (in the current user's language).
abstract TaxonomyScriptType getTaxonomyByUuid(java.lang.String uuid)
    
Find a taxonomy by the UUID of the taxonomy

 

Methods inherited from interface: com.tle.common.scripting.ScriptObject
scriptEnter, scriptExit

 

 

 

 

DEFAULT_VARIABLE

 

public static final java.lang.String DEFAULT_VARIABLE

 

See also: Constants

 

 

 

 

getTaxonomyByUuid

 

public abstract TaxonomyScriptType getTaxonomyByUuid( java.lang.String uuid)

 

Find a taxonomy by the UUID of the taxonomy

 

Parameters:
uuid-
The UUID of the taxonomy to find.
Returns:
Will return null if no taxonomy with the given UUID is found.

 

 

 

getTaxonomyByName

 

public abstract TaxonomyScriptType getTaxonomyByName( java.lang.String name)

 

Find a taxonomy by the display name of the taxonomy (in the current user's language). If multiple taxonomies with the same name are found then a RuntimeException is thrown.

 

Parameters:
name-
The display name of the taxonomy to find.
Returns:
Will return null if no taxonomy by this name is found.