Class TermsOfUse
java.lang.Object
io.goobi.viewer.model.administration.legal.TermsOfUse
- Author:
- florian
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRemove 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-
-
-
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.
-