Package org.ametys.plugins.glossary
Interface Definition
- All Known Implementing Classes:
DefaultDefinition
public interface Definition
A glossary definition.
-
Method Summary
Modifier 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
-
getWord
Get the word.- Returns:
- the word
- Throws:
AmetysRepositoryException- if an error occurs.
-
setWord
Set the word.- Parameters:
word- the word to set- Throws:
AmetysRepositoryException- if an error occurs.
-
getVariants
Get the variants.- Returns:
- the variants
- Throws:
AmetysRepositoryException- if an error occurs.
-
setVariants
Set the variants.- Parameters:
variants- the variants to set- Throws:
AmetysRepositoryException- if an error occurs.
-
getContent
Get the content.- Returns:
- _the content
- Throws:
AmetysRepositoryException- if an error occurs.
-
setContent
Set the content.- Parameters:
content- the content to set- Throws:
AmetysRepositoryException- if an error occurs.
-
displayOnText
Get the displayOnText.- Returns:
- _the displayOnText
- Throws:
AmetysRepositoryException- if an error occurs.
-
setDisplayOnText
Set the displayOnText.- Parameters:
displayOnText- the displayOnText to set- Throws:
AmetysRepositoryException- if an error occurs.
-
getAllForms
Get all forms.- Returns:
- a list of all the word forms (word + variants).
- Throws:
AmetysRepositoryException- if an error occurs.
-