Package org.ametys.plugins.glossary
Interface Definition
- 
- All Known Implementing Classes:
 DefaultDefinition
public interface Definition
A glossary definition. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandisplayOnText()Get the displayOnText.Set<String>getAllForms()Get all forms.StringgetContent()Get the content.Set<String>getVariants()Get the variants.StringgetWord()Get the word.voidsetContent(String content)Set the content.voidsetDisplayOnText(boolean displayOnText)Set the displayOnText.voidsetVariants(Collection<String> variants)Set the variants.voidsetWord(String word)Set the word. 
 - 
 
- 
- 
Method Detail
- 
getWord
String getWord() throws AmetysRepositoryException
Get the word.- Returns:
 - the word
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
setWord
void setWord(String word) throws AmetysRepositoryException
Set the word.- Parameters:
 word- the word to set- Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
getVariants
Set<String> getVariants() throws AmetysRepositoryException
Get the variants.- Returns:
 - the variants
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
setVariants
void setVariants(Collection<String> variants) throws AmetysRepositoryException
Set the variants.- Parameters:
 variants- the variants to set- Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
getContent
String getContent() throws AmetysRepositoryException
Get the content.- Returns:
 - _the content
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
setContent
void setContent(String content) throws AmetysRepositoryException
Set the content.- Parameters:
 content- the content to set- Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
displayOnText
boolean displayOnText() throws AmetysRepositoryException
Get the displayOnText.- Returns:
 - _the displayOnText
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
setDisplayOnText
void setDisplayOnText(boolean displayOnText) throws AmetysRepositoryException
Set the displayOnText.- Parameters:
 displayOnText- the displayOnText to set- Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
getAllForms
Set<String> getAllForms() throws AmetysRepositoryException
Get all forms.- Returns:
 - a list of all the word forms (word + variants).
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
 - 
 
 -