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
-
public class PackageListingProvider extends DefaultObject
Provides REST binding forPackage
listings.- Author:
- Thierry Delprat
-
-
Constructor Summary
Constructors Constructor Description PackageListingProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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)
Object
doList(String pkgType, Boolean filterOnPlatform)
String
getConnectBaseUrl()
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.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 Detail
-
PackageListingProvider
public PackageListingProvider()
-
-
Method Detail
-
getConnectBaseUrl
public String getConnectBaseUrl()
-
getUpdates
public Object getUpdates(String pkgType, Boolean filterOnPlatform)
-
getPrivate
public Object getPrivate(String pkgType, Boolean filterOnPlatform)
-
getRemote
public Object getRemote(String pkgType, Boolean onlyRemote, String searchString, Boolean filterOnPlatform)
-
getStateLabel
public String getStateLabel(org.nuxeo.connect.update.Package pkg)
-
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
public Object getDetails(String pkgId)
-
registrationRequired
public boolean registrationRequired(org.nuxeo.connect.data.DownloadablePackage pkg)
- Returns:
- true if registration is required for download
- Since:
- 11.1
-
-