Tabnine Logo
SosContentCache.getHiddenChildProceduresForOffering
Code IndexAdd Tabnine to your IDE (free)

How to use
getHiddenChildProceduresForOffering
method
in
org.n52.sos.cache.SosContentCache

Best Java code snippets using org.n52.sos.cache.SosContentCache.getHiddenChildProceduresForOffering (Showing top 3 results out of 315)

origin: 52North/SOS

private boolean isHiddenChildProcedureObservableProperty(String offering,
                             Set<String> proceduresForObservableProperty) {
  return getCache().getHiddenChildProceduresForOffering(offering).stream()
      .anyMatch(proceduresForObservableProperty::contains);
}
origin: 52North/SOS

protected Collection<String> getProceduresForOffering(String offering, String version)
    throws OwsExceptionReport {
  Collection<String> procedures =new HashSet<>(getCache().getProceduresForOffering(offering));
  if (version.equals(Sos1Constants.SERVICEVERSION)) {
    procedures.addAll(getCache().getHiddenChildProceduresForOffering(offering));
  }
  return procedures.stream()
      .filter(getCache().getPublishedProcedures()::contains)
      .collect(toSet());
}
origin: 52North/SOS

/**
 * Get featureOfInterests for procedure and version
 *
 * @return Collection with featureOfInterests
 *
 * @throws OwsExceptionReport If an error occurs
 */
private Collection<String> getFeatureOfInterestIDs()
    throws OwsExceptionReport {
  Set<String> features = Sets.newHashSet();
  // add cache map for proc/fois and get fois for proc
  for (String offering : getCache().getOfferingsForProcedure(getIdentifier())) {
    // don't include features for offerings which this procedure is a
    // hidden child of
    if (!getCache().getHiddenChildProceduresForOffering(offering).contains(getIdentifier())) {
      features.addAll(getCache().getFeaturesOfInterestForOffering(offering));
    }
  }
  return SosHelper.getFeatureIDs(features, getVersion());
}
org.n52.sos.cacheSosContentCachegetHiddenChildProceduresForOffering

Javadoc

Get the hidden child procedures associated with the specified offering.

Popular methods of SosContentCache

  • getOfferings
  • getObservableProperties
  • getFeatureOfInterestTypes
  • getObservationTypes
  • getProceduresForOffering
  • hasObservableProperty
  • hasOffering
  • getAllowedObservationTypesForOffering
  • getChildProcedures
    Returns collection containing child procedures for the passed procedures, optionally navigating the
  • getEpsgCodes
  • getOfferingsForProcedure
  • getProcedures
  • getOfferingsForProcedure,
  • getProcedures,
  • getPublishedObservableProperties,
  • getPublishedOfferings,
  • hasResultTemplate,
  • getAllObservationTypesForOffering,
  • getCompositePhenomenonsForOffering,
  • getEnvelopeForOffering,
  • getFeaturesOfInterest,
  • getFeaturesOfInterestForOffering

Popular in Java

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • getSystemService (Context)
  • setScale (BigDecimal)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JTable (javax.swing)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now