Class CookieBanner

java.lang.Object
io.goobi.viewer.model.administration.legal.CookieBanner
All Implemented Interfaces:
Serializable

@Entity public class CookieBanner extends Object implements 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 Details

    • id

      protected Long id
      Unique database ID.
  • Constructor Details

    • CookieBanner

      public CookieBanner()
      empty default constructor
    • CookieBanner

      public CookieBanner(CookieBanner orig)
      Cloning constructor
      Parameters:
      orig -
  • Method Details

    • setActive

      public void setActive(boolean active)
      Parameters:
      active - set the active property
    • isActive

      public boolean isActive()
      Returns:
      the active property
    • getText

      public TranslatedText getText()
      Returns:
      the text property
    • getId

      public Long getId()
      Returns:
      the database id
    • setId

      public void setId(Long id)
      set the database id
      Parameters:
      id -
    • getIgnoreList

      public List<Long> getIgnoreList()
      Returns:
      the ignoreList
    • setIgnoreList

      public void setIgnoreList(List<Long> ignoreList)
      set the ignoreList
      Parameters:
      ignoreList -
    • getRequiresConsentAfter

      public LocalDateTime getRequiresConsentAfter()
      Returns:
      the requiresConsentAfter
    • setRequiresConsentAfter

      public void setRequiresConsentAfter(LocalDateTime requiresConsentAfter)
      set the requiresConsentAfter
      Parameters:
      requiresConsentAfter -