Class TermsOfUse
java.lang.Object
io.goobi.viewer.model.administration.legal.TermsOfUse
- Author:
- florian
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Remove all empty translations from the translations listgetDescription
(String language) getDescriptionIfExists
(String language) getId()
getTitleIfExists
(String language) boolean
isActive()
void
setActive
(boolean active) setDescription
(String language, String value)
-
Field Details
-
id
Unique database ID.
-
-
Constructor Details
-
TermsOfUse
public TermsOfUse() -
TermsOfUse
-
-
Method Details
-
setActive
public void setActive(boolean active) - Parameters:
active
- the active to set
-
isActive
public boolean isActive()- Returns:
- the active
-
getTitle
-
getTitleIfExists
-
setTitle
-
getDescription
-
getDescriptionIfExists
-
setDescription
-
getId
-
cleanTranslations
public void cleanTranslations()Remove all empty translations from the translations list
-