Class BornDigitalBean

java.lang.Object
io.goobi.viewer.managedbeans.BornDigitalBean
All Implemented Interfaces:
Serializable

@Named @SessionScoped public class BornDigitalBean extends Object implements Serializable
Handles download ticket checks and requests for born-digital files.
See Also:
  • Constructor Details

    • BornDigitalBean

      public BornDigitalBean()
  • Method Details

    • isHasDownloadTicket

      public boolean isHasDownloadTicket() throws IndexUnreachableException
      Returns:
      true if session contains permission for current record, false otherwise;
      Throws:
      IndexUnreachableException
    • checkDownloadTicketPasswordAction

      public String checkDownloadTicketPasswordAction() throws DAOException, IndexUnreachableException
      Checks the given download ticket password for validity for the current record and persists valid permission in the agent session.
      Returns:
      empty string
      Throws:
      DAOException
      IndexUnreachableException
    • requestNewDownloadTicketAction

      public String requestNewDownloadTicketAction() throws DAOException, IndexUnreachableException
      Returns:
      empty string
      Throws:
      DAOException
      IndexUnreachableException
    • getDownloadTicketPassword

      public String getDownloadTicketPassword()
      Returns:
      the downloadTicketPassword
    • setDownloadTicketPassword

      public void setDownloadTicketPassword(String downloadTicketPassword)
      Parameters:
      downloadTicketPassword - the downloadTicketPassword to set
    • getDownloadTicketEmail

      public String getDownloadTicketEmail()
      Returns:
      the downloadTicketEmail
    • setDownloadTicketEmail

      public void setDownloadTicketEmail(String downloadTicketEmail)
      Parameters:
      downloadTicketEmail - the downloadTicketEmail to set
    • getDownloadTicketRequestMessage

      public String getDownloadTicketRequestMessage()
      Returns:
      the downloadTicketRequestMessage
    • setDownloadTicketRequestMessage

      public void setDownloadTicketRequestMessage(String downloadTicketRequestMessage)
      Parameters:
      downloadTicketRequestMessage - the downloadTicketRequestMessage to set