public class RegistryStoreImpl extends AbstractCswStore implements RegistryStore
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTO_PUSH |
static String |
ID |
static String |
PULL_ALLOWED_PROPERTY |
static String |
PUSH_ALLOWED_PROPERTY |
static String |
REGISTRY_URL |
cswTransactionWriter, schemaTransformerManageravailabilityPollFuture, capabilities, configurationPid, CONNECTION_TIMEOUT_PROPERTY, COORDINATE_ORDER_PROPERTY, CSW_SERVER_ERROR, cswFilterDelegate, cswSourceConfiguration, cswTransformConverter, CSWURL_PROPERTY, DISABLE_CN_CHECK_PROPERTY, EVENT_SERVICE_ADDRESS, factory, filterAdapter, filterBuilder, filterlessSubscriptionId, FORCE_SPATIAL_FILTER_PROPERTY, forceSpatialFilter, getRecordsTypeProvider, ID_PROPERTY, IS_CQL_FORCED_PROPERTY, jaxbElementClassMap, jaxbElementClassNames, METACARD_MAPPINGS_PROPERTY, NO_FORCE_SPATIAL_FILTER, OUTPUT_SCHEMA_PROPERTY, PASSWORD_PROPERTY, POLL_INTERVAL_PROPERTY, QUERY_TYPE_NAME_PROPERTY, QUERY_TYPE_NAMESPACE_PROPERTY, RECEIVE_TIMEOUT_PROPERTY, REGISTER_FOR_EVENTS, SECURITY_ATTRIBUTES_PROPERTY, securityManager, subscribeClientFactory, USE_POS_LIST_PROPERTY, USERNAME_PROPERTY| Constructor and Description |
|---|
RegistryStoreImpl(org.osgi.framework.BundleContext context,
CswSourceConfiguration cswSourceConfiguration,
com.thoughtworks.xstream.converters.Converter provider,
SecureCxfClientFactory factory,
EncryptionService encryptionService) |
RegistryStoreImpl(EncryptionService encryptionService) |
| Modifier and Type | Method and Description |
|---|---|
CreateResponse |
create(CreateRequest request)
Publishes a list of
Metacard objects into the catalog. |
DeleteResponse |
delete(DeleteRequest request)
Deletes records specified by a list of attribute values such as an id attribute.
|
protected Map<String,Consumer<Object>> |
getAdditionalConsumers() |
protected AvailabilityCommand |
getAvailabilityCommand() |
String |
getRegistryId()
Indicates the Id associated with this registry
|
boolean |
isAutoPush()
Indicates if the identity node should be automatically pushed to another registry store
|
boolean |
isPullAllowed()
Indicates if read operations are allowed on this registry
|
boolean |
isPushAllowed()
Indicates if write operations are allowed on this registry
|
SourceResponse |
query(QueryRequest request) |
void |
setAutoPush(boolean autoPush) |
void |
setConfigAdmin(org.osgi.service.cm.ConfigurationAdmin config) |
void |
setMetacardMarshaller(MetacardMarshaller metacardMarshaller) |
void |
setMetaTypeService(org.osgi.service.metatype.MetaTypeService metaTypeService) |
void |
setPullAllowed(boolean pullAllowed) |
void |
setPushAllowed(boolean pushAllowed) |
void |
setRegistryId(String registryId) |
void |
setRegistryUrl(String registryUrl) |
UpdateResponse |
update(UpdateRequest request)
Updates a list of
Metacard records. |
getCswTransactionWriter, initProviders, setCswTransactionWriter, setSchemaTransformerManager, validateOperationaddSourceMonitor, availabilityChanged, configureCswSource, createResults, destroy, getCapabilities, getConfigurationPid, getConnectionTimeout, getContentTypes, getCswTransformConverter, getDescription, getForceSpatialFilter, getId, getMetadataTransformerId, getOptions, getOrganization, getParameter, getReceiveTimeout, getResourceReader, getSecurityAttributes, getSupportedSchemes, getSystemSubject, getTitle, getVersion, handleClientException, handleWebApplicationException, init, initSubscribeClientFactory, isAvailable, isAvailable, loadContentTypes, lookupMetadataTransformer, maskId, query, refresh, retrieveResource, setAvailabilityTask, setConfigurationPid, setConnectionTimeout, setContext, setCoordinateOrder, setCsw201, setCswTransformConverter, setCswUrl, setDisableCnCheck, setEventServiceAddress, setFilterAdapter, setFilterBuilder, setFilterDelegate, setForceSpatialFilter, setId, setIsCqlForced, setMetacardMappings, setMetacardTypes, setOutputSchema, setPassword, setPollInterval, setQueryTypeName, setQueryTypeNamespace, setReceiveTimeout, setRegisterForEvents, setResourceReader, setSecurityManager, setupAvailabilityPoll, setUsePosList, setUsername, transformsetDescription, setOrganization, setShortname, setTitle, setVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentTypes, getSecurityAttributes, isAvailable, isAvailablegetOptions, getSupportedSchemes, retrieveResourcegetDescription, getId, getOrganization, getTitle, getVersiongetConfigurationPid, setConfigurationPidpublic static final String PUSH_ALLOWED_PROPERTY
public static final String PULL_ALLOWED_PROPERTY
public static final String AUTO_PUSH
public static final String REGISTRY_URL
public static final String ID
public RegistryStoreImpl(org.osgi.framework.BundleContext context,
CswSourceConfiguration cswSourceConfiguration,
com.thoughtworks.xstream.converters.Converter provider,
SecureCxfClientFactory factory,
EncryptionService encryptionService)
public RegistryStoreImpl(EncryptionService encryptionService)
protected Map<String,Consumer<Object>> getAdditionalConsumers()
getAdditionalConsumers in class AbstractCswSourcepublic boolean isPushAllowed()
RegistryStoreisPushAllowed in interface RegistryStorepublic boolean isPullAllowed()
RegistryStoreisPullAllowed in interface RegistryStorepublic boolean isAutoPush()
RegistryStoreisAutoPush in interface RegistryStorepublic CreateResponse create(CreateRequest request) throws IngestException
CatalogStoreMetacard objects into the catalog.create in interface CatalogStorecreate in class AbstractCswStorerequest - - the CreateRequest that includes a List of
Metacard objects to be stored in a Source. The ID of the
Metacard object will be ignored and populated / generated by the
CatalogStore when the record has been stored.CreateResponse containing a List of fully populated
metacards. This should be similar to the parameter list of Metacard objects but it must have the ddf.catalog.data.Metacard ID
populated.IngestException - if any problem occurs when storing the metacardspublic void setRegistryUrl(String registryUrl)
public UpdateResponse update(UpdateRequest request) throws IngestException
CatalogStoreMetacard records. Metacard
records that are not in the Catalog will not be created.update in interface CatalogStoreupdate in class AbstractCswStorerequest - - the UpdateRequest that includes updates to Metacard records that have been previously stored in a Source. A
given Attribute name-value pair in this request must uniquely
identify zero metacards or one metacard in the Source, otherwise an IngestException will be thrown.UpdateResponse containing a List of Update objects that represent the new (updated) and old (previous)
Metacard records.IngestException - if an issue occurs during the update such as multiple records were
matched for a single update entrypublic DeleteResponse delete(DeleteRequest request) throws IngestException
CatalogStoredelete in interface CatalogStoredelete in class AbstractCswStorerequest - - the DeleteRequest containing the attribute values associated
with Metacards to deleteDeleteResponse with Metacards that were deleted.
These Metacards are fully populated in preparation for any
processing services.IngestException - if an issue occurs during the deletepublic SourceResponse query(QueryRequest request) throws UnsupportedQueryException
query in interface Sourcequery in class AbstractCswSourcerequest - the query to executeSourceResponse with query results and query response detailsUnsupportedQueryException - when the query is not understood, malformed, or not supported
by a Sourcepublic void setAutoPush(boolean autoPush)
public void setPushAllowed(boolean pushAllowed)
public void setPullAllowed(boolean pullAllowed)
public void setRegistryId(String registryId)
public void setMetacardMarshaller(MetacardMarshaller metacardMarshaller)
protected AvailabilityCommand getAvailabilityCommand()
getAvailabilityCommand in class AbstractCswSourcepublic void setMetaTypeService(org.osgi.service.metatype.MetaTypeService metaTypeService)
public void setConfigAdmin(org.osgi.service.cm.ConfigurationAdmin config)
public String getRegistryId()
RegistryStoregetRegistryId in interface RegistryStoreThis work is licensed under a Creative Commons Attribution 4.0 International License.