public class JsonActivationDao extends AbstractJsonActivationDao implements ActivationDao
| Constructor and Description |
|---|
JsonActivationDao() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.function.Function<com.fasterxml.jackson.databind.JsonNode,OwsOperationMetadataExtensionProviderKey> |
decodeOwsExtendedCapabilitiesProviderKey() |
protected RequestOperatorKey |
decodeRequestOperatorKey(com.fasterxml.jackson.databind.JsonNode node) |
protected java.util.function.Supplier<com.fasterxml.jackson.databind.node.ObjectNode> |
encode(java.util.function.Supplier<com.fasterxml.jackson.databind.node.ObjectNode> supplier,
RequestOperatorKey key) |
java.util.Set<BindingKey> |
getBindingKeys() |
java.util.Set<OwsOperationMetadataExtensionProviderKey> |
getOwsOperationMetadataExtensionProviderKeys() |
java.util.Set<RequestOperatorKey> |
getRequestOperatorKeys() |
boolean |
isBindingActive(BindingKey key)
Checks if the binding is active.
|
boolean |
isOwsOperationMetadataExtensionProviderActive(OwsOperationMetadataExtensionProviderKey key)
Checks if the extended capabilities is active.
|
boolean |
isRequestOperatorActive(RequestOperatorKey key)
Returns if a operation is active and should be offered by this service.
|
protected java.util.function.Predicate<com.fasterxml.jackson.databind.JsonNode> |
matches(RequestOperatorKey key) |
protected java.util.function.Predicate<com.fasterxml.jackson.databind.JsonNode> |
matchesOperationName(java.lang.String operationName) |
void |
setBindingStatus(BindingKey key,
boolean active)
Sets the status of a binding.
|
void |
setOperationStatus(RequestOperatorKey key,
boolean active)
Sets the status of an operation.
|
void |
setOwsOperationMetadataExtensionProviderStatus(OwsOperationMetadataExtensionProviderKey key,
boolean active) |
createDomainDecoder, decodeServiceOperatorKey, encode, encode, getKeys, isActive, matches, matches, matchesDomain, matchesService, matchesVersion, setStatusconfiguration, createEntryStream, createStream, getConfiguration, isNullOrMissing, nodeFactory, readLock, setConfiguration, writeLockpublic boolean isRequestOperatorActive(RequestOperatorKey key)
ActivationDaoisRequestOperatorActive in interface ActivationDaokey - the key identifying the operationtrue if the operation is active in this servicepublic void setOperationStatus(RequestOperatorKey key, boolean active)
ActivationDaosetOperationStatus in interface ActivationDaokey - the key identifying the operationactive - whether the operation is active or notpublic java.util.Set<RequestOperatorKey> getRequestOperatorKeys()
getRequestOperatorKeys in interface ActivationDaopublic boolean isBindingActive(BindingKey key)
ActivationDaoisBindingActive in interface ActivationDaokey - the bindingpublic void setBindingStatus(BindingKey key, boolean active)
ActivationDaosetBindingStatus in interface ActivationDaokey - the bindingactive - the statuspublic java.util.Set<BindingKey> getBindingKeys()
getBindingKeys in interface ActivationDaopublic boolean isOwsOperationMetadataExtensionProviderActive(OwsOperationMetadataExtensionProviderKey key)
ActivationDaoisOwsOperationMetadataExtensionProviderActive in interface ActivationDaokey - the extended capabilities keypublic void setOwsOperationMetadataExtensionProviderStatus(OwsOperationMetadataExtensionProviderKey key, boolean active)
setOwsOperationMetadataExtensionProviderStatus in interface ActivationDaopublic java.util.Set<OwsOperationMetadataExtensionProviderKey> getOwsOperationMetadataExtensionProviderKeys()
getOwsOperationMetadataExtensionProviderKeys in interface ActivationDaoprotected RequestOperatorKey decodeRequestOperatorKey(com.fasterxml.jackson.databind.JsonNode node)
protected java.util.function.Function<com.fasterxml.jackson.databind.JsonNode,OwsOperationMetadataExtensionProviderKey> decodeOwsExtendedCapabilitiesProviderKey()
protected java.util.function.Supplier<com.fasterxml.jackson.databind.node.ObjectNode> encode(java.util.function.Supplier<com.fasterxml.jackson.databind.node.ObjectNode> supplier,
RequestOperatorKey key)
protected java.util.function.Predicate<com.fasterxml.jackson.databind.JsonNode> matches(RequestOperatorKey key)
protected java.util.function.Predicate<com.fasterxml.jackson.databind.JsonNode> matchesOperationName(java.lang.String operationName)
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.