Class TermsOfUse
java.lang.Object
io.goobi.viewer.model.administration.legal.TermsOfUse
- Author:
- Florian Alpers
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves all empty translations from the translations list.getDescription(String language) getDescriptionIfExists(String language) getId()getTitleIfExists(String language) booleanisActive()voidsetActive(boolean active) setDescription(String language, String value)
-
Field Details
-
id
Unique database ID.
-
-
Constructor Details
-
TermsOfUse
public TermsOfUse() -
TermsOfUse
- Parameters:
orig- the instance to copy
-
-
Method Details
-
setActive
public void setActive(boolean active) -
isActive
public boolean isActive() -
getTitle
-
getTitleIfExists
-
setTitle
-
getDescription
-
getDescriptionIfExists
-
setDescription
-
getId
-
cleanTranslations
public void cleanTranslations()Removes all empty translations from the translations list.
-