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 TypeMethodDescriptioncheckDownloadAction
(String type, String email, String pi, String logId) Deprecated.void
downloadFileAction.Getter for the fielddownloadIdentifier
.getDownloadIdentifier
(String... criteria) Getter for the fielddownloadIdentifier
.Getter for the fielddownloadJob
.static long
getTimeToLive.openDownloadAction.void
reset()
reset.void
setDownloadIdentifier
(String downloadIdentifier) Setter for the fielddownloadIdentifier
.void
setDownloadJob
(DownloadJob downloadJob) Setter for the fielddownloadJob
.
-
Constructor Details
-
DownloadBean
public DownloadBean()
-
-
Method Details
-
reset
public void reset()reset.
-
getTimeToLive
public static long getTimeToLive()getTimeToLive.
- Returns:
- a long.
-
checkDownloadAction
@Deprecated public String checkDownloadAction(String type, String email, String pi, String logId) throws DAOException, PresentationException, IndexUnreachableException Deprecated.checkDownloadAction.
- Parameters:
type
- aString
object.email
- aString
object.pi
- aString
object.logId
- aString
object.- Returns:
- a
String
object. - Throws:
DAOException
- if any.PresentationException
- if any.IndexUnreachableException
- if any.
-
openDownloadAction
openDownloadAction.
- Returns:
- a
String
object. - Throws:
DAOException
- if any.DownloadException
- if any.
-
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
-
getDownloadJob
Getter for the field
downloadJob
.- Returns:
- the downloadJob
-
setDownloadJob
Setter for the field
downloadJob
.- Parameters:
downloadJob
- the downloadJob to set
-