Package org.ametys.plugins.glossary
Interface Definition
- All Known Implementing Classes:
- DefaultDefinition
public interface Definition
A glossary definition.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGet the displayOnText.Get all forms.Get the content.Get the variants.getWord()Get the word.voidsetContent(String content) Set the content.voidsetDisplayOnText(boolean displayOnText) Set the displayOnText.voidsetVariants(Collection<String> variants) Set the variants.voidSet the word.
- 
Method Details- 
getWordGet the word.- Returns:
- the word
- Throws:
- AmetysRepositoryException- if an error occurs.
 
- 
setWordSet the word.- Parameters:
- word- the word to set
- Throws:
- AmetysRepositoryException- if an error occurs.
 
- 
getVariantsGet the variants.- Returns:
- the variants
- Throws:
- AmetysRepositoryException- if an error occurs.
 
- 
setVariantsSet the variants.- Parameters:
- variants- the variants to set
- Throws:
- AmetysRepositoryException- if an error occurs.
 
- 
getContentGet the content.- Returns:
- _the content
- Throws:
- AmetysRepositoryException- if an error occurs.
 
- 
setContentSet the content.- Parameters:
- content- the content to set
- Throws:
- AmetysRepositoryException- if an error occurs.
 
- 
displayOnTextGet the displayOnText.- Returns:
- _the displayOnText
- Throws:
- AmetysRepositoryException- if an error occurs.
 
- 
setDisplayOnTextSet the displayOnText.- Parameters:
- displayOnText- the displayOnText to set
- Throws:
- AmetysRepositoryException- if an error occurs.
 
- 
getAllFormsGet all forms.- Returns:
- a list of all the word forms (word + variants).
- Throws:
- AmetysRepositoryException- if an error occurs.
 
 
-