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

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ImageIO (javax.imageio)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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