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

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

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

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

private void checkProcedureIdentifier(String procedureIdentifier) throws OwsExceptionReport {
  if (procedureIdentifier != null && !procedureIdentifier.isEmpty()) {
    if (!getCache().getPublishedProcedures().contains(procedureIdentifier)) {
      throw new InvalidProcedureParameterException(procedureIdentifier);
    }
  } else {
    throw new MissingProcedureParameterException();
  }
}
origin: 52North/SOS

protected OwsDomain getPublishedProcedureParameter(String service, String version) {
  return getProcedureParameter(service, version, getCache().getPublishedProcedures());
}
origin: 52North/SOS

/**
 * checks whether the requested sensor ID is valid
 *
 * @param procedure
 *            the sensor ID which should be checked
 * @param parameterName
 *            the parameter name
 *
 *
 * @throws OwsExceptionReport
 *             * if the value of the sensor ID parameter is incorrect
 */
protected void checkProcedure(String procedure, String parameterName) throws OwsExceptionReport {
  if (Strings.isNullOrEmpty(procedure)) {
    throw new MissingProcedureParameterException();
  } else if (!getCache().getPublishedProcedures().contains(procedure)) {
    throw new InvalidParameterValueException(parameterName, procedure);
  }
}
org.n52.sos.cacheSosContentCachegetPublishedProcedures

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

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top 17 Plugins for Android Studio
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