Package org.ametys.plugins.glossary
Interface Definition
- All Known Implementing Classes:
DefaultDefinition
public interface Definition
A glossary definition.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the displayOnText.Get all forms.Get the content.Get the variants.getWord()
Get the word.void
setContent
(String content) Set the content.void
setDisplayOnText
(boolean displayOnText) Set the displayOnText.void
setVariants
(Collection<String> variants) Set the variants.void
Set 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.
-