public class DownloadService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DOWNLOAD_HANDLER_PATH |
| Constructor and Description |
|---|
DownloadService(org.exoplatform.container.xml.PortalContainerInfo pinfo,
org.exoplatform.container.xml.InitParams params) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultDownloadResource(DownloadResource resource) |
String |
addDownloadResource(DownloadResource resource) |
org.exoplatform.services.cache.ExoCache<String,DownloadResource> |
getCache() |
String |
getDownloadLink(String id) |
DownloadResource |
getDownloadResource(String id) |
public static final String DOWNLOAD_HANDLER_PATH
public void addDefaultDownloadResource(DownloadResource resource)
public String addDownloadResource(DownloadResource resource)
public DownloadResource getDownloadResource(String id)
public org.exoplatform.services.cache.ExoCache<String,DownloadResource> getCache()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.