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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
downloadFileAction.Getter for the fielddownloadIdentifier
.getDownloadIdentifier
(String... criteria) Getter for the fielddownloadIdentifier
.Getter for the fieldmessage
.int
getQueuePosition.static long
getTimeToLive.openDownloadAction.void
reset()
reset.void
setDownloadIdentifier
(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
String
object. - Throws:
DAOException
- if any.DownloadException
- if any.
-
getQueuePosition
public int getQueuePosition()getQueuePosition.
- Returns:
- a int
-
getMessage
Getter for the field
message
.- Returns:
- a
ViewerMessage
object
-
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
-