public class PackageListingProvider extends DefaultObject
Package
listings.Constructor and Description |
---|
PackageListingProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
canCancel(org.nuxeo.connect.update.Package pkg) |
boolean |
canDownload(org.nuxeo.connect.update.Package pkg) |
boolean |
canInstall(org.nuxeo.connect.update.Package pkg) |
boolean |
canRemove(org.nuxeo.connect.update.Package pkg) |
boolean |
canUnInstall(org.nuxeo.connect.update.Package pkg) |
boolean |
canUpgrade(org.nuxeo.connect.update.Package pkg) |
Object |
doList(String pkgType,
Boolean filterOnPlatform) |
protected List<org.nuxeo.connect.data.DownloadablePackage> |
filterOnPlatform(List<org.nuxeo.connect.data.DownloadablePackage> pkgs,
Boolean filterOnPlatform)
Deprecated.
Since 5.6. Use
getTargetPlatform(Boolean) in original request to get only the wanted
packages instead of later filtering the whole list. |
String |
getConnectBaseUrl()
Deprecated.
since 5.6
|
Object |
getDetails(String pkgId) |
Object |
getLocal(String pkgType) |
Object |
getPrivate(String pkgType,
Boolean filterOnPlatform) |
Object |
getRemote(String pkgType,
Boolean onlyRemote,
String searchString,
Boolean filterOnPlatform) |
String |
getStateLabel(org.nuxeo.connect.update.Package pkg) |
Object |
getStudio() |
Object |
getUpdates(String pkgType,
Boolean filterOnPlatform) |
boolean |
needsRestart(org.nuxeo.connect.update.Package pkg) |
boolean |
registrationRequired(org.nuxeo.connect.update.Package pkg) |
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
public PackageListingProvider()
@Deprecated public String getConnectBaseUrl()
@Deprecated protected List<org.nuxeo.connect.data.DownloadablePackage> filterOnPlatform(List<org.nuxeo.connect.data.DownloadablePackage> pkgs, Boolean filterOnPlatform)
getTargetPlatform(Boolean)
in original request to get only the wanted
packages instead of later filtering the whole list.public Object getUpdates(String pkgType, Boolean filterOnPlatform)
public Object getPrivate(String pkgType, Boolean filterOnPlatform)
public Object getRemote(String pkgType, Boolean onlyRemote, String searchString, Boolean filterOnPlatform)
public String getStateLabel(org.nuxeo.connect.update.Package pkg)
public boolean canInstall(org.nuxeo.connect.update.Package pkg)
public boolean needsRestart(org.nuxeo.connect.update.Package pkg)
public boolean canUnInstall(org.nuxeo.connect.update.Package pkg)
public boolean canUpgrade(org.nuxeo.connect.update.Package pkg)
public boolean canRemove(org.nuxeo.connect.update.Package pkg)
public boolean canCancel(org.nuxeo.connect.update.Package pkg)
public boolean canDownload(org.nuxeo.connect.update.Package pkg)
public Object getDetails(String pkgId)
public boolean registrationRequired(org.nuxeo.connect.update.Package pkg)
Copyright © 2016 Nuxeo SA. All rights reserved.