Class DownloadBean

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

@Named @ViewScoped public class DownloadBean extends Object implements Serializable

DownloadBean class.

See Also:
  • Constructor Details

    • DownloadBean

      public DownloadBean()
  • Method Details

    • reset

      public void reset()

      reset.

    • getTimeToLive

      public static long getTimeToLive()

      getTimeToLive.

      Returns:
      a long.
    • openDownloadAction

      public String openDownloadAction() throws DAOException, DownloadException

      openDownloadAction.

      Returns:
      a String object.
      Throws:
      DAOException - if any.
      DownloadException - if any.
    • getQueuePosition

      public int getQueuePosition()

      getQueuePosition.

      Returns:
      a int
    • getMessage

      public ViewerMessage getMessage()

      Getter for the field message.

      Returns:
      a ViewerMessage object
    • downloadFileAction

      public void downloadFileAction() throws IOException, DownloadException

      downloadFileAction.

      Throws:
      IOException - if any.
      DownloadException - if any.
    • getDownloadIdentifier

      public String getDownloadIdentifier(String... criteria)

      Getter for the field downloadIdentifier.

      Parameters:
      criteria - a String object.
      Returns:
      a String object.
    • getDownloadIdentifier

      public String getDownloadIdentifier()

      Getter for the field downloadIdentifier.

      Returns:
      the downloadIdentifier
    • setDownloadIdentifier

      public void setDownloadIdentifier(String downloadIdentifier)

      Setter for the field downloadIdentifier.

      Parameters:
      downloadIdentifier - the downloadIdentifier to set