public abstract class AbstractContentCache extends AbstractStaticContentCache
ContentCache
implementation that encapsulates the needed
Map
s.Constructor and Description |
---|
AbstractContentCache() |
getFeatureOfInterestTypes, getObservationTypes
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAllowedFeatureOfInterestTypesForOffering, getAllowedObservationTypesForOffering, getChildFeatures, getChildProcedures, getChildProcedures, getCompositePhenomenonsForOffering, getEnvelopeForOffering, getEpsgCodes, getFeatureOfInterestTypesForOffering, getFeaturesOfInterest, getFeaturesOfInterestForOffering, getFeaturesOfInterestForResultTemplate, getFeaturesOfInterestWithResultTemplate, getGlobalEnvelope, getHiddenChildProceduresForOffering, getI18nDescriptionForOffering, getI18nDescriptionsForOffering, getI18nNameForOffering, getI18nNamesForOffering, getMaxPhenomenonTime, getMaxPhenomenonTimeForOffering, getMaxPhenomenonTimeForProcedure, getMaxResultTime, getMaxResultTimeForOffering, getMinPhenomenonTime, getMinPhenomenonTimeForOffering, getMinPhenomenonTimeForProcedure, getMinResultTime, getMinResultTimeForOffering, getNameForOffering, getObservableProperties, getObservablePropertiesForCompositePhenomenon, getObservablePropertiesForOffering, getObservablePropertiesForProcedure, getObservablePropertiesForResultTemplate, getObservablePropertiesWithResultTemplate, getObservationIdentifiers, getObservationIdentifiersForProcedure, getObservationTypesForOffering, getOfferings, getOfferingsForObservableProperty, getOfferingsForProcedure, getOfferingsWithResultTemplate, getParentFeatures, getParentFeatures, getParentProcedures, getParentProcedures, getProcedures, getProceduresForFeatureOfInterest, getProceduresForObservableProperty, getProceduresForOffering, getRelatedFeatures, getRelatedFeaturesForOffering, getRequstableProcedureDescriptionFormat, getResultTemplates, getResultTemplatesForOffering, getRolesForRelatedFeature, getSpatialFilteringProfileEnvelopeForOffering, getSupportedLanguages, hasEnvelopeForOffering, hasEpsgCode, hasFeatureOfInterest, hasFeatureOfInterestType, hasGlobalEnvelope, hasI18NDescriptionForOffering, hasI18NNamesForOffering, hasMaxPhenomenonTime, hasMaxPhenomenonTimeForOffering, hasMaxPhenomenonTimeForProcedure, hasMaxResultTime, hasMaxResultTimeForOffering, hasMinPhenomenonTime, hasMinPhenomenonTimeForOffering, hasMinPhenomenonTimeForProcedure, hasMinResultTime, hasMinResultTimeForOffering, hasObservableProperty, hasObservationIdentifier, hasObservationType, hasOffering, hasProcedure, hasRelatedFeature, hasRequstableProcedureDescriptionFormat, hasResultTemplate, hasSpatialFilteringProfileEnvelopeForOffering, hasSupportedLanguage, isLanguageSupported, isRelatedFeatureSampled
private static final long serialVersionUID
private int defaultEpsgCode
private Map<String,org.joda.time.DateTime> maxPhenomenonTimeForOfferings
private Map<String,org.joda.time.DateTime> minPhenomenonTimeForOfferings
private Map<String,org.joda.time.DateTime> maxPhenomenonTimeForProcedures
private Map<String,org.joda.time.DateTime> minPhenomenonTimeForProcedures
private SetMultiMap<String,String> allowedObservationTypeForOfferings
private SetMultiMap<String,String> allowedFeatureOfInterestTypeForOfferings
private SetMultiMap<String,String> childFeaturesForFeatureOfInterest
private SetMultiMap<String,String> childProceduresForProcedures
private SetMultiMap<String,String> compositePhenomenonForOfferings
private SetMultiMap<String,String> featuresOfInterestForOfferings
private SetMultiMap<String,String> featuresOfInterestForResultTemplates
private SetMultiMap<String,String> observablePropertiesForCompositePhenomenons
private SetMultiMap<String,String> observablePropertiesForOfferings
private SetMultiMap<String,String> observablePropertiesForProcedures
@Deprecated private SetMultiMap<String,String> observationIdentifiersForProcedures
private SetMultiMap<String,String> observationTypesForOfferings
private SetMultiMap<String,String> featureOfInterestTypesForOfferings
private SetMultiMap<String,String> observedPropertiesForResultTemplates
private SetMultiMap<String,String> offeringsForObservableProperties
private SetMultiMap<String,String> offeringsForProcedures
private SetMultiMap<String,String> parentFeaturesForFeaturesOfInterest
private SetMultiMap<String,String> parentProceduresForProcedures
private SetMultiMap<String,String> proceduresForFeaturesOfInterest
private SetMultiMap<String,String> proceduresForObservableProperties
private SetMultiMap<String,String> proceduresForOfferings
private SetMultiMap<String,String> hiddenChildProceduresForOfferings
private SetMultiMap<String,String> relatedFeaturesForOfferings
private SetMultiMap<String,String> resultTemplatesForOfferings
private SetMultiMap<String,String> rolesForRelatedFeatures
private Map<String,SosEnvelope> envelopeForOfferings
private Map<String,MultilingualString> i18nNameForOfferings
private Map<String,MultilingualString> i18nDescriptionForOfferings
@Deprecated private Set<String> observationIdentifiers
private SosEnvelope globalEnvelope
private TimePeriod globalPhenomenonTimeEnvelope
private TimePeriod globalResultTimeEnvelope
private Map<String,SosEnvelope> spatialFilteringProfileEnvelopeForOfferings
protected static <K,V> Map<K,V> newSynchronizedMap(Map<K,V> map)
K
- the key typeV
- the value typemap
- the mapprotected static <T> Set<T> newSynchronizedSet(Iterable<T> elements)
T
- the element typeelements
- the elementsprotected static <K,V> Map<K,V> newSynchronizedMap()
K
- the key typeV
- the value typeprotected static <T> Set<T> newSynchronizedSet()
T
- the element typeprotected static <T> Set<T> copyOf(Set<T> set)
T
- the element typeset
- the setprotected static SosEnvelope copyOf(SosEnvelope e)
e
- the envelopeprotected static void greaterZero(String name, Integer value) throws NullPointerException, IllegalArgumentException
NullPointerExceptions
if value is null or a
IllegalArgumentException
if value is <= 0.name
- the name of the valuevalue
- the value to checkNullPointerException
- if value is nullIllegalArgumentException
- if value is <= 0protected static void notNullOrEmpty(String name, String value) throws NullPointerException, IllegalArgumentException
NullPointerExceptions
if value is null or a
IllegalArgumentException
if value is empty.name
- the name of the valuevalue
- the value to checkNullPointerException
- if value is nullIllegalArgumentException
- if value is emptyprotected static void noNullValues(String name, Collection<?> value) throws NullPointerException
NullPointerExceptions
if value is null or any value
within is null.name
- the name of the valuevalue
- the value to checkNullPointerException
- if value == null or value contains nullprotected static void noNullOrEmptyValues(String name, Collection<String> value) throws NullPointerException, IllegalArgumentException
NullPointerExceptions
if value is null or any value
within is null or empty.name
- the name of the valuevalue
- the value to checkNullPointerException
- if value == null or value contains nullIllegalArgumentException
- if any value is emptyprotected static void noNullValues(String name, Map<?,?> value) throws NullPointerException
NullPointerExceptions
if value is null or any key or
value within is null.name
- the name of the valuevalue
- the value to checkNullPointerException
- if value == null or value contains null valuesprotected static void notNull(String name, Object value) throws NullPointerException
NullPointerExceptions
if value is null.name
- the name of the valuevalue
- the value to checkNullPointerException
- if value == nullprotected Map<String,org.joda.time.DateTime> getMaxPhenomenonTimeForOfferingsMap()
protected Map<String,org.joda.time.DateTime> getMinPhenomenonTimeForOfferingsMap()
protected Map<String,org.joda.time.DateTime> getMaxPhenomenonTimeForProceduresMap()
protected Map<String,org.joda.time.DateTime> getMinPhenomenonTimeForProceduresMap()
protected Map<String,org.joda.time.DateTime> getMaxResultTimeForOfferingsMap()
protected Map<String,org.joda.time.DateTime> getMinResultTimeForOfferingsMap()
protected SetMultiMap<String,String> getAllowedObservationTypesForOfferingsMap()
protected SetMultiMap<String,String> getAllowedFeatureOfInterestTypesForOfferingsMap()
protected SetMultiMap<String,String> getChildFeaturesForFeaturesOfInterestMap()
protected SetMultiMap<String,String> getCompositePhenomenonsForOfferingsMap()
protected SetMultiMap<String,String> getFeaturesOfInterestForOfferingMap()
protected SetMultiMap<String,String> getFeaturesOfInterestForResultTemplatesMap()
protected SetMultiMap<String,String> getObservablePropertiesForCompositePhenomenonsMap()
protected SetMultiMap<String,String> getObservablePropertiesForOfferingsMap()
@Deprecated protected SetMultiMap<String,String> getObservationIdentifiersForProceduresMap()
protected SetMultiMap<String,String> getObservationTypesForOfferingsMap()
protected SetMultiMap<String,String> getFeatureOfInterestTypesForOfferingsMap()
protected SetMultiMap<String,String> getObservablePropertiesForResultTemplatesMap()
protected SetMultiMap<String,String> getOfferingsForObservablePropertiesMap()
protected SetMultiMap<String,String> getOfferingsForProceduresMap()
protected SetMultiMap<String,String> getParentFeaturesForFeaturesOfInterestMap()
protected SetMultiMap<String,String> getProceduresForFeaturesOfInterestMap()
protected SetMultiMap<String,String> getProceduresForObservablePropertiesMap()
protected SetMultiMap<String,String> getProceduresForOfferingsMap()
protected SetMultiMap<String,String> getHiddenChildProceduresForOfferingsMap()
protected SetMultiMap<String,String> getRelatedFeaturesForOfferingsMap()
protected SetMultiMap<String,String> getResultTemplatesForOfferingsMap()
protected SetMultiMap<String,String> getRolesForRelatedFeaturesMap()
protected Map<String,SosEnvelope> getEnvelopeForOfferingsMap()
protected Map<String,SosEnvelope> getSpatialFilteringProfileEnvelopeForOfferingsMap()
protected Map<String,String> getNameForOfferingsMap()
protected Map<String,MultilingualString> getI18nNameForOfferingsMap()
protected Map<String,MultilingualString> getI18nDescriptionForOfferingsMap()
protected SetMultiMap<String,String> getObservablePropertiesForProceduresMap()
protected SetMultiMap<String,String> getParentProceduresForProceduresMap()
protected SetMultiMap<String,String> getChildProceduresForProceduresMap()
protected Set<String> getFeaturesOfInterestSet()
@Deprecated protected Set<String> getObservationIdentifiersSet()
protected TimePeriod getGlobalPhenomenonTimeEnvelope()
protected TimePeriod getGlobalResultTimeEnvelope()
protected SosEnvelope getGlobalSpatialEnvelope()
protected void setGlobalSpatialEnvelope(SosEnvelope envelope)
envelope
- the new global spatial envelopeprotected Set<String> getRequestableProcedureDescriptionFormats()
public void setDefaultEPSGCode(int defaultEpsgCode)
defaultEpsgCode
- the new default EPSG codepublic int getDefaultEPSGCode()
Copyright © 2012-2015 52north.org. All Rights Reserved.