Package io.goobi.viewer.managedbeans
Class BornDigitalBean
java.lang.Object
io.goobi.viewer.managedbeans.BornDigitalBean
- All Implemented Interfaces:
Serializable
Handles download ticket checks and requests for born-digital files.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionChecks the given download ticket password for validity for the current record and persists valid permission in the agent session.boolean
void
setDownloadTicketEmail
(String downloadTicketEmail) void
setDownloadTicketPassword
(String downloadTicketPassword) void
setDownloadTicketRequestMessage
(String downloadTicketRequestMessage)
-
Constructor Details
-
BornDigitalBean
public BornDigitalBean()
-
-
Method Details
-
isHasDownloadTicket
- Returns:
- true if session contains permission for current record, false otherwise;
- Throws:
IndexUnreachableException
-
checkDownloadTicketPasswordAction
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
- Returns:
- empty string
- Throws:
DAOException
IndexUnreachableException
-
getDownloadTicketPassword
- Returns:
- the downloadTicketPassword
-
setDownloadTicketPassword
- Parameters:
downloadTicketPassword
- the downloadTicketPassword to set
-
getDownloadTicketEmail
- Returns:
- the downloadTicketEmail
-
setDownloadTicketEmail
- Parameters:
downloadTicketEmail
- the downloadTicketEmail to set
-
getDownloadTicketRequestMessage
- Returns:
- the downloadTicketRequestMessage
-
setDownloadTicketRequestMessage
- Parameters:
downloadTicketRequestMessage
- the downloadTicketRequestMessage to set
-