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

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

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

origin: 52North/SOS

protected void checkOffering(String offering, String parameterName, boolean all) throws OwsExceptionReport {
  if (offering == null || offering.isEmpty()) {
    throw new MissingParameterValueException(parameterName);
  }
  if (all) {
    if (!getCache().getOfferings().contains(offering)) {
      throw new InvalidParameterValueException(parameterName, offering);
    }
  } else {
    if (!getCache().getPublishedOfferings().contains(offering)) {
      throw new InvalidParameterValueException(parameterName, offering);
    }
  }
}
origin: 52North/SOS

private void addOfferings(Set<String> keywords) {
  if (procedureSettings().isEnrichWithOfferings()) {
    for (String offering : getCache()
        .getOfferingsForProcedure(getIdentifier())) {
      if (getCache().getPublishedOfferings().contains(offering)) {
        keywords.add(offering);
      }
    }
  }
}
origin: 52North/SOS

private void checkProcedureAndOfferingCombination(InsertSensorRequest request) throws OwsExceptionReport {
  for (SosOffering offering : request.getAssignedOfferings()) {
    if (!offering.isParentOffering() && getCache().getPublishedOfferings().contains(offering.getIdentifier())) {
      throw new InvalidParameterValueException().at(Sos2Constants.InsertSensorParams.offeringIdentifier)
          .withMessage(
              "The offering with the identifier '%s' still exists in this service and it is not allowed to insert more than one procedure to an offering!",
              offering.getIdentifier());
    }
  }
}
org.n52.sos.cacheSosContentCachegetPublishedOfferings

Popular methods of SosContentCache

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

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • BoxLayout (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top plugins for WebStorm
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