Class PackageListingProvider

All Implemented Interfaces:
Resource, Adaptable

public class PackageListingProvider extends DefaultObject
Provides REST binding for Package listings.
Author:
Thierry Delprat
  • Constructor Details

    • PackageListingProvider

      public PackageListingProvider()
  • Method Details

    • getConnectBaseUrl

      public String getConnectBaseUrl()
    • doList

      public Object doList(String pkgType, Boolean filterOnPlatform)
    • getUpdates

      public Object getUpdates(String pkgType, Boolean filterOnPlatform)
    • getPrivate

      public Object getPrivate(String pkgType, Boolean filterOnPlatform)
    • getLocal

      public Object getLocal(String pkgType)
    • getRemote

      public Object getRemote(String pkgType, Boolean onlyRemote, String searchString, Boolean filterOnPlatform)
    • getStudio

      public Object getStudio()
    • 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