Package io.goobi.viewer.managedbeans
Class DownloadBean
java.lang.Object
io.goobi.viewer.managedbeans.DownloadBean
- All Implemented Interfaces:
Serializable
DownloadBean class.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddownloadFileAction.Getter for the fielddownloadIdentifier.getDownloadIdentifier(String... criteria) Getter for the fielddownloadIdentifier.Getter for the fieldmessage.intgetQueuePosition.static longgetTimeToLive.openDownloadAction.voidreset()reset.voidsetDownloadIdentifier(String downloadIdentifier) Setter for the fielddownloadIdentifier.
-
Constructor Details
-
DownloadBean
public DownloadBean()
-
-
Method Details
-
reset
public void reset()reset.
-
getTimeToLive
public static long getTimeToLive()getTimeToLive.
- Returns:
- a long.
-
openDownloadAction
openDownloadAction.
- Returns:
- a
Stringobject. - Throws:
DAOException- if any.DownloadException- if any.
-
getQueuePosition
public int getQueuePosition()getQueuePosition.
- Returns:
- a int
-
getMessage
Getter for the field
message.- Returns:
- a
ViewerMessageobject
-
downloadFileAction
downloadFileAction.
- Throws:
IOException- if any.DownloadException- if any.
-
getDownloadIdentifier
Getter for the field
downloadIdentifier. -
getDownloadIdentifier
Getter for the field
downloadIdentifier.- Returns:
- the downloadIdentifier
-
setDownloadIdentifier
Setter for the field
downloadIdentifier.- Parameters:
downloadIdentifier- the downloadIdentifier to set
-