public interface IFileDownloadUrlService extends Serializable
JSPBlobStoreDownloadUrlService| Modifier and Type | Field and Description |
|---|---|
static int |
LINK_VALIDITY_TIME |
| Modifier and Type | Method and Description |
|---|---|
void |
checkLinkValidity(Map<String,String> fileData)
check link validity
|
String |
getFileDownloadUrlBO(String strFileKey,
Map<String,String> additionnalData,
String strFileStorageServiceProviderName)
get Back Office user download URL
|
String |
getFileDownloadUrlBO(String strFileKey,
String strFileStorageServiceProviderName)
get Back Office user download URL
|
String |
getFileDownloadUrlFO(String strFileKey,
Map<String,String> additionnalData,
String strFileStorageServiceProviderName)
get Front Office user download URL
|
String |
getFileDownloadUrlFO(String strFileKey,
String strFileStorageServiceProviderName)
get Front Office user download URL
|
String |
getName()
get service name
|
Map<String,String> |
getRequestDataBO(javax.servlet.http.HttpServletRequest request)
get BO file data from request
|
Map<String,String> |
getRequestDataFO(javax.servlet.http.HttpServletRequest request)
get FO file data from request
|
default int |
getValidityTime()
Return the validity duration of a link (in minutes)
if equal to 0, there is no limit |
String getFileDownloadUrlFO(String strFileKey, String strFileStorageServiceProviderName)
strFileKey - the file keyString getFileDownloadUrlFO(String strFileKey, Map<String,String> additionnalData, String strFileStorageServiceProviderName)
strFileKey - the file keyadditionnalData - the data used to build the urlString getFileDownloadUrlBO(String strFileKey, String strFileStorageServiceProviderName)
strFileKey - the file keyString getFileDownloadUrlBO(String strFileKey, Map<String,String> additionnalData, String strFileStorageServiceProviderName)
strFileKey - the file keyadditionnalData - the data used to build the urlString getName()
Map<String,String> getRequestDataBO(javax.servlet.http.HttpServletRequest request)
request - Map<String,String> getRequestDataFO(javax.servlet.http.HttpServletRequest request)
request - void checkLinkValidity(Map<String,String> fileData) throws ExpiredLinkException
fileData - ExpiredLinkException - if link is invadiddefault int getValidityTime()
Copyright © 2021 City of Paris. All rights reserved.