congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
SosContentCache.hasResultTemplate
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: 52North/SOS

protected void checkResultTemplate(String resultTemplate, String parameterName)
    throws OwsExceptionReport {
  if (resultTemplate == null || resultTemplate.isEmpty()) {
    throw new MissingParameterValueException(parameterName);
  } else if (!getCache().hasResultTemplate(resultTemplate)) {
    throw new InvalidParameterValueException(parameterName, resultTemplate);
  }
}
origin: org.n52.sensorweb.sos/resultHandling-v20

private void checkResultTemplateIdentifier(String identifier) throws OwsExceptionReport {
  if (getCache().hasResultTemplate(identifier)) {
    throw new DuplicateIdentifierException("resultTemplate", identifier);
  }
  // check for reserved character
  checkReservedCharacter(identifier, "resultTemplateIdentifier");
}
origin: 52North/SOS

private void checkResultTemplateIdentifier(String identifier) throws OwsExceptionReport {
  if (getCache().hasResultTemplate(identifier)) {
    throw new DuplicateIdentifierException("resultTemplate", identifier);
  }
  // check for reserved character
  checkReservedCharacter(identifier, "resultTemplateIdentifier");
}
origin: 52North/SOS

private void checkResultTemplates(DeleteResultTemplateRequest request, CompositeOwsException exceptions) {
  if (request.isSetResultTemplates()) {
    for (String resultTemplate : request.getResultTemplates()) {
      if (!getCache().hasResultTemplate(resultTemplate)) {
        exceptions.add(new InvalidParameterValueException(
            DeleteResultTemplateConstants.PARAMETERS.resultTemplate,
            resultTemplate));
      }
    }
  }
}
origin: org.n52.sensorweb.sos/extensions-v20

private void checkResultTemplates(DeleteResultTemplateRequest request, CompositeOwsException exceptions) {
  if (request.isSetResultTemplates()) {
    for (String resultTemplate : request.getResultTemplates()) {
      if (!getCache().hasResultTemplate(resultTemplate)) {
        exceptions.add(new InvalidParameterValueException(
            DeleteResultTemplateConstants.PARAMETERS.resultTemplate,
            resultTemplate));
      }
    }
  }
}
org.n52.sos.cacheSosContentCachehasResultTemplate

Javadoc

Checks whether the specified result template exists.

Popular methods of SosContentCache

  • getOfferings
  • getObservableProperties
  • getFeatureOfInterestTypes
  • getObservationTypes
  • getProceduresForOffering
  • hasObservableProperty
  • hasOffering
  • getAllowedObservationTypesForOffering
  • getChildProcedures
  • getEpsgCodes
  • getOfferingsForProcedure
  • getProcedures
  • getOfferingsForProcedure,
  • getProcedures,
  • getPublishedObservableProperties,
  • getPublishedOfferings,
  • getAllObservationTypesForOffering,
  • getCompositePhenomenonsForOffering,
  • getEnvelopeForOffering,
  • getFeaturesOfInterest,
  • getFeaturesOfInterestForOffering

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • getSharedPreferences (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Top 12 Jupyter Notebook Extensions
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