Codota Logo
ListingFilterSetting.getPlatformFilter
Code IndexAdd Codota to your IDE (free)

How to use
getPlatformFilter
method
in
org.nuxeo.connect.client.ui.ListingFilterSetting

Best Java code snippets using org.nuxeo.connect.client.ui.ListingFilterSetting.getPlatformFilter (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.nuxeo.ecm.platform/nuxeo-admin-center-jsf

public boolean getPlatformFilter() {
  return SharedPackageListingsSettings.instance().get(getListName()).getPlatformFilter();
}
origin: org.nuxeo.ecm.platform/nuxeo-admin-center

public boolean getPlatformFilter() {
  return SharedPackageListingsSettings.instance().get(getListName()).getPlatformFilter();
}
origin: org.nuxeo.ecm.platform/nuxeo-admin-center

@GET
@Produces("text/html")
@Path(value = "updates")
public Object getUpdates(@QueryParam("type") String pkgType,
    @QueryParam("filterOnPlatform") Boolean filterOnPlatform) {
  PackageManager pm = Framework.getLocalService(PackageManager.class);
  if (pkgType == null) {
    pkgType = SharedPackageListingsSettings.instance().get("updates").getPackageTypeFilter();
  }
  if (filterOnPlatform == null) {
    filterOnPlatform = SharedPackageListingsSettings.instance().get("updates").getPlatformFilter();
  }
  String targetPlatform = getTargetPlatform(filterOnPlatform);
  List<DownloadablePackage> pkgs;
  if (StringUtils.isBlank(pkgType)) {
    pkgs = pm.listUpdatePackages(null, targetPlatform);
  } else {
    pkgs = pm.listUpdatePackages(PackageType.getByValue(pkgType), targetPlatform);
  }
  return getView("simpleListing").arg("pkgs", pm.sort(pkgs)).arg("showCommunityInfo", true).arg("source",
      "updates").arg("filterOnPlatform", filterOnPlatform);
}
origin: org.nuxeo.ecm.platform/nuxeo-admin-center

@GET
@Produces("text/html")
@Path(value = "private")
public Object getPrivate(@QueryParam("type") String pkgType,
    @QueryParam("filterOnPlatform") Boolean filterOnPlatform) {
  PackageManager pm = Framework.getLocalService(PackageManager.class);
  if (pkgType == null) {
    pkgType = SharedPackageListingsSettings.instance().get("private").getPackageTypeFilter();
  }
  if (filterOnPlatform == null) {
    filterOnPlatform = SharedPackageListingsSettings.instance().get("private").getPlatformFilter();
  }
  String targetPlatform = getTargetPlatform(filterOnPlatform);
  List<DownloadablePackage> pkgs;
  if (StringUtils.isBlank(pkgType)) {
    pkgs = pm.listPrivatePackages(targetPlatform);
  } else {
    pkgs = pm.listPrivatePackages(PackageType.getByValue(pkgType), targetPlatform);
  }
  return getView("simpleListing").arg("pkgs", pm.sort(pkgs)).arg("showCommunityInfo", true).arg("source",
      "private").arg("filterOnPlatform", filterOnPlatform);
}
origin: org.nuxeo.ecm.platform/nuxeo-admin-center-core

@GET
@Produces("text/html")
@Path(value = "updates")
public Object getUpdates(@QueryParam("type") String pkgType,
    @QueryParam("filterOnPlatform") Boolean filterOnPlatform) {
  PackageManager pm = Framework.getService(PackageManager.class);
  if (pkgType == null) {
    pkgType = SharedPackageListingsSettings.instance().get("updates").getPackageTypeFilter();
  }
  if (filterOnPlatform == null) {
    filterOnPlatform = SharedPackageListingsSettings.instance().get("updates").getPlatformFilter();
  }
  String targetPlatform = getTargetPlatform(filterOnPlatform);
  List<DownloadablePackage> pkgs;
  if (StringUtils.isBlank(pkgType)) {
    pkgs = pm.listUpdatePackages(null, targetPlatform);
  } else {
    pkgs = pm.listUpdatePackages(PackageType.getByValue(pkgType), targetPlatform);
  }
  return getView("simpleListing").arg("pkgs", pm.sort(pkgs))
                  .arg("showCommunityInfo", true)
                  .arg("source", "updates")
                  .arg("filterOnPlatform", filterOnPlatform);
}
origin: org.nuxeo.ecm.platform/nuxeo-admin-center-core

@GET
@Produces("text/html")
@Path(value = "private")
public Object getPrivate(@QueryParam("type") String pkgType,
    @QueryParam("filterOnPlatform") Boolean filterOnPlatform) {
  PackageManager pm = Framework.getService(PackageManager.class);
  if (pkgType == null) {
    pkgType = SharedPackageListingsSettings.instance().get("private").getPackageTypeFilter();
  }
  if (filterOnPlatform == null) {
    filterOnPlatform = SharedPackageListingsSettings.instance().get("private").getPlatformFilter();
  }
  String targetPlatform = getTargetPlatform(filterOnPlatform);
  List<DownloadablePackage> pkgs;
  if (StringUtils.isBlank(pkgType)) {
    pkgs = pm.listPrivatePackages(targetPlatform);
  } else {
    pkgs = pm.listPrivatePackages(PackageType.getByValue(pkgType), targetPlatform);
  }
  return getView("simpleListing").arg("pkgs", pm.sort(pkgs))
                  .arg("showCommunityInfo", true)
                  .arg("source", "private")
                  .arg("filterOnPlatform", filterOnPlatform);
}
origin: org.nuxeo.ecm.platform/nuxeo-admin-center-core

filterOnPlatform = SharedPackageListingsSettings.instance().get("remote").getPlatformFilter();
origin: org.nuxeo.ecm.platform/nuxeo-admin-center

filterOnPlatform = SharedPackageListingsSettings.instance().get("remote").getPlatformFilter();
org.nuxeo.connect.client.uiListingFilterSettinggetPlatformFilter

Popular methods of ListingFilterSetting

  • getPackageTypeFilter
  • isOnlyRemote
  • <init>
  • setOnlyRemote
  • setPackageTypeFilter
  • setPlatformFilter

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now