public class DownloadHandler extends DefaultObject
Package
download management.Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
DownloadHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
cancelDownload(String pkgId,
String source) |
protected org.nuxeo.connect.data.DownloadingPackage |
getDownloadingPackage(String pkgId) |
String |
getDownloadProgress(String pkgId) |
Object |
getDownloadProgressPage(String pkgId,
String source,
Boolean install,
Boolean depCheck,
String pkgType,
Boolean onlyRemote,
Boolean filterOnPlatform) |
String |
getDownloadsProgress() |
Object |
startDownload(String pkgId,
String source,
Boolean install,
Boolean depCheck,
String pkgType,
Boolean onlyRemote,
Boolean filterOnPlatform) |
String |
startDownloads(String pkgList) |
disptachAdapter, isAdapter
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
protected static final org.apache.commons.logging.Log log
public DownloadHandler()
public String getDownloadProgress(String pkgId)
public String getDownloadsProgress()
public Object getDownloadProgressPage(String pkgId, String source, Boolean install, Boolean depCheck, String pkgType, Boolean onlyRemote, Boolean filterOnPlatform)
protected org.nuxeo.connect.data.DownloadingPackage getDownloadingPackage(String pkgId)
public Object startDownload(String pkgId, String source, Boolean install, Boolean depCheck, String pkgType, Boolean onlyRemote, Boolean filterOnPlatform)
public String startDownloads(String pkgList)
public Object cancelDownload(String pkgId, String source)
Copyright © 2016 Nuxeo SA. All rights reserved.