Package org.nuxeo.connect.client.we
Class PackageListingProvider
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.connect.client.we.PackageListingProvider
Provides REST binding for
Package
listings.- Author:
- Thierry Delprat
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canCancel
(org.nuxeo.connect.update.Package pkg) boolean
canDownload
(org.nuxeo.connect.data.DownloadablePackage 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) getDetails
(String pkgId) getPrivate
(String pkgType, Boolean filterOnPlatform) getStateLabel
(org.nuxeo.connect.update.Package pkg) getUpdates
(String pkgType, Boolean filterOnPlatform) boolean
needsRestart
(org.nuxeo.connect.update.Package pkg) boolean
registrationRequired
(org.nuxeo.connect.data.DownloadablePackage pkg) Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
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
-
Constructor Details
-
PackageListingProvider
public PackageListingProvider()
-
-
Method Details
-
getConnectBaseUrl
-
doList
-
getUpdates
-
getPrivate
-
getLocal
-
getRemote
-
getStudio
-
getStateLabel
-
canInstall
public boolean canInstall(org.nuxeo.connect.update.Package pkg) -
needsRestart
public boolean needsRestart(org.nuxeo.connect.update.Package pkg) -
canUnInstall
public boolean canUnInstall(org.nuxeo.connect.update.Package pkg) -
canUpgrade
public boolean canUpgrade(org.nuxeo.connect.update.Package pkg) - Since:
- 5.8
-
canRemove
public boolean canRemove(org.nuxeo.connect.update.Package pkg) -
canCancel
public boolean canCancel(org.nuxeo.connect.update.Package pkg) - Since:
- 5.6
-
canDownload
public boolean canDownload(org.nuxeo.connect.data.DownloadablePackage pkg) - Since:
- 11.1
-
getDetails
-
registrationRequired
public boolean registrationRequired(org.nuxeo.connect.data.DownloadablePackage pkg) - Returns:
- true if registration is required for download
- Since:
- 11.1
-