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

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

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

origin: 52North/SOS

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

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

@RequestMapping(method = RequestMethod.GET)
public ModelAndView view() {
  Map<String, String> model = new HashMap<>(4);
  SosContentCache cache = getCache();
  model.put(OFFERINGS, asJSONArray(cache.getOfferings()));
  model.put(PROCEDURES, asJSONArray(cache.getProcedures()));
  model.put(FEATURES, asJSONArray(cache.getFeaturesOfInterest()));
  model.put(OBSERVABLE_PROPERTIES, asJSONArray(cache
       .getObservableProperties()));
  return new ModelAndView(ControllerConstants.Views.ADMIN_I18N, model);
}
origin: org.n52.sensorweb.sos/admin-controller

@RequestMapping(method = RequestMethod.GET)
public ModelAndView view() {
  Map<String, String> model = new HashMap<>(4);
  SosContentCache cache = getCache();
  model.put(OFFERINGS, asJSONArray(cache.getOfferings()));
  model.put(PROCEDURES, asJSONArray(cache.getProcedures()));
  model.put(FEATURES, asJSONArray(cache.getFeaturesOfInterest()));
  model.put(OBSERVABLE_PROPERTIES, asJSONArray(cache
       .getObservableProperties()));
  return new ModelAndView(ControllerConstants.Views.ADMIN_I18N, model);
}
origin: org.n52.sensorweb.sos/admin-controller

model.put(IS_UPDATE_SENSOR_SUPPORTED, update);
model.put(IS_DESCRIBE_SENSOR_SUPPORTED, getKvp||getSoap);
List<String> procedures = Lists.newArrayList(getCache().getProcedures());
Collections.sort(procedures);
model.put(SENSORS, procedures);
origin: 52North/SOS

model.put(IS_UPDATE_SENSOR_SUPPORTED, update);
model.put(IS_DESCRIBE_SENSOR_SUPPORTED, getKvp||getSoap);
List<String> procedures = Lists.newArrayList(getCache().getProcedures());
Collections.sort(procedures);
model.put(SENSORS, procedures);
origin: org.n52.sensorweb.sos/admin-controller

public static Map<String, String> getCacheValues() {
  SosContentCache cache = Configurator.getInstance().getCache();
  Map<String, String> values = new TreeMap<>();
  values.put(LAST_UPDATE_TIME, nullSafeToString(cache.getLastUpdateTime()));
  values.put(MIN_PHENOMENON_TIME, nullSafeToString(cache.getMinPhenomenonTime()));
  values.put(MAX_PHENOMENON_TIME, nullSafeToString(cache.getMaxPhenomenonTime()));
  values.put(MIN_RESULT_TIME, nullSafeToString(cache.getMinResultTime()));
  values.put(MAX_RESULT_TIME, nullSafeToString(cache.getMaxResultTime()));
  values.put(GLOBAL_ENVELOPE, nullSafeToString(cache.getGlobalEnvelope()));
  values.put(NUM_OFFERINGS, nullSafeToString(cache.getOfferings()));
  values.put(NUM_PROCEDURES, nullSafeToString(cache.getProcedures()));
  values.put(NUM_OBSERVABLE_PROPERTIES, nullSafeToString(cache.getObservableProperties()));
  values.put(NUM_FEATURES_OF_INTEREST, nullSafeToString(cache.getFeaturesOfInterest()));
  values.put(NUM_FEATURE_OF_INTEREST_TYPES, nullSafeToString(cache.getFeatureOfInterestTypes()));
  values.put(NUM_OBSERVATION_TYPES, nullSafeToString(cache.getObservationTypes()));
  values.put(NUM_RELATED_FEATURES, nullSafeToString(cache.getRelatedFeatures()));
  values.put(NUM_RESULT_TEMPLATES, nullSafeToString(cache.getResultTemplates()));
  values.put(DEFAULT_EPSG, Integer.toString(cache.getDefaultEPSGCode()));
  values.put(NUM_EPSGS, nullSafeToString(cache.getEpsgCodes()));
  return values;
}
origin: 52North/SOS

public static Map<String, String> getCacheValues() {
  SosContentCache cache = Configurator.getInstance().getCache();
  Map<String, String> values = new TreeMap<>();
  values.put(LAST_UPDATE_TIME, nullSafeToString(cache.getLastUpdateTime()));
  values.put(MIN_PHENOMENON_TIME, nullSafeToString(cache.getMinPhenomenonTime()));
  values.put(MAX_PHENOMENON_TIME, nullSafeToString(cache.getMaxPhenomenonTime()));
  values.put(MIN_RESULT_TIME, nullSafeToString(cache.getMinResultTime()));
  values.put(MAX_RESULT_TIME, nullSafeToString(cache.getMaxResultTime()));
  values.put(GLOBAL_ENVELOPE, nullSafeToString(cache.getGlobalEnvelope()));
  values.put(NUM_OFFERINGS, nullSafeToString(cache.getOfferings()));
  values.put(NUM_PROCEDURES, nullSafeToString(cache.getProcedures()));
  values.put(NUM_OBSERVABLE_PROPERTIES, nullSafeToString(cache.getObservableProperties()));
  values.put(NUM_FEATURES_OF_INTEREST, nullSafeToString(cache.getFeaturesOfInterest()));
  values.put(NUM_FEATURE_OF_INTEREST_TYPES, nullSafeToString(cache.getFeatureOfInterestTypes()));
  values.put(NUM_OBSERVATION_TYPES, nullSafeToString(cache.getObservationTypes()));
  values.put(NUM_RELATED_FEATURES, nullSafeToString(cache.getRelatedFeatures()));
  values.put(NUM_RESULT_TEMPLATES, nullSafeToString(cache.getResultTemplates()));
  values.put(DEFAULT_EPSG, Integer.toString(cache.getDefaultEPSGCode()));
  values.put(NUM_EPSGS, nullSafeToString(cache.getEpsgCodes()));
  return values;
}
org.n52.sos.cacheSosContentCachegetProcedures

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
  • getPublishedObservableProperties
  • getOfferingsForProcedure,
  • getPublishedObservableProperties,
  • getPublishedOfferings,
  • hasResultTemplate,
  • getAllObservationTypesForOffering,
  • getCompositePhenomenonsForOffering,
  • getEnvelopeForOffering,
  • getFeaturesOfInterest,
  • getFeaturesOfInterestForOffering

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • onCreateOptionsMenu (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JCheckBox (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Top Vim 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