Class CookieBanner
java.lang.Object
io.goobi.viewer.model.administration.legal.CookieBanner
- All Implemented Interfaces:
Serializable
Class to persist settings for the cookie banner. Only one instance of this class should be persisted in the database
- Author:
- florian
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionempty default constructorCookieBanner
(CookieBanner orig) Cloning constructor -
Method Summary
Modifier and TypeMethodDescriptiongetId()
getText()
boolean
isActive()
void
setActive
(boolean active) void
set the database idvoid
setIgnoreList
(List<Long> ignoreList) set theignoreList
void
setRequiresConsentAfter
(LocalDateTime requiresConsentAfter) set therequiresConsentAfter
-
Field Details
-
id
Unique database ID.
-
-
Constructor Details
-
CookieBanner
public CookieBanner()empty default constructor -
CookieBanner
Cloning constructor- Parameters:
orig
-
-
-
Method Details
-
setActive
public void setActive(boolean active) - Parameters:
active
- set theactive
property
-
isActive
public boolean isActive()- Returns:
- the
active
property
-
getText
- Returns:
- the
text
property
-
getId
- Returns:
- the database id
-
setId
set the database id- Parameters:
id
-
-
getIgnoreList
- Returns:
- the
ignoreList
-
setIgnoreList
set theignoreList
- Parameters:
ignoreList
-
-
getRequiresConsentAfter
- Returns:
- the
requiresConsentAfter
-
setRequiresConsentAfter
set therequiresConsentAfter
- Parameters:
requiresConsentAfter
-
-