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

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

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

origin: org.n52.sensorweb.sos/admin-controller

@Override
protected boolean isValid(SosContentCache cache, String id) {
  return cache.hasOffering(id);
}
origin: 52North/SOS

@Override
protected boolean isValid(SosContentCache cache, String id) {
  return cache.hasOffering(id);
}
origin: 52North/SOS

protected void checkOfferingName(String offering)
    throws NoSuchOfferingException {
  if (!getCache().hasOffering(offering)) {
    throw new NoSuchOfferingException(offering);
  }
}
origin: 52North/SOS

private void checkOffering(final String offering) throws NoSuchOfferingException {
  if (!getCache().hasOffering(offering)) {
    throw new NoSuchOfferingException(offering);
  }
}
origin: org.n52.sensorweb.sos/extensions-v20

private void checkObservedPropertyOfferingPairs(DeleteResultTemplateRequest request, CompositeOwsException exceptions) {
  if (request.isSetObservedPropertyOfferingPairs()) {
    for (Map.Entry<String, String> propertyOfferingPair : request.getObservedPropertyOfferingPairs()) {
      if (!getCache().hasOffering(propertyOfferingPair.getValue())) {
        exceptions.add(new InvalidParameterValueException(
            DeleteResultTemplateConstants.PARAMETERS.offering,
            propertyOfferingPair.getValue()));
      }
      if (!getCache().hasObservableProperty(propertyOfferingPair.getKey())) {
        exceptions.add(new InvalidParameterValueException(
            DeleteResultTemplateConstants.PARAMETERS.observableProperty,
            propertyOfferingPair.getKey()));
      }
    }
  }
}
origin: 52North/SOS

private void checkObservedPropertyOfferingPairs(DeleteResultTemplateRequest request, CompositeOwsException exceptions) {
  if (request.isSetObservedPropertyOfferingPairs()) {
    for (Map.Entry<String, String> propertyOfferingPair : request.getObservedPropertyOfferingPairs()) {
      if (!getCache().hasOffering(propertyOfferingPair.getValue())) {
        exceptions.add(new InvalidParameterValueException(
            DeleteResultTemplateConstants.PARAMETERS.offering,
            propertyOfferingPair.getValue()));
      }
      if (!getCache().hasObservableProperty(propertyOfferingPair.getKey())) {
        exceptions.add(new InvalidParameterValueException(
            DeleteResultTemplateConstants.PARAMETERS.observableProperty,
            propertyOfferingPair.getKey()));
      }
    }
  }
}
org.n52.sos.cacheSosContentCachehasOffering

Javadoc

Checks whether the specified offering exists.

Popular methods of SosContentCache

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

Popular in Java

  • Finding current android device location
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • JFrame (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top plugins for Android Studio
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