Search in sources :

Example 1 with OgcInspireConfigurationParameters

use of io.arlas.server.core.model.OgcInspireConfigurationParameters in project ARLAS-server by gisaia.

the class CSWService method createMetaCollection.

private CollectionReference createMetaCollection(String index, OGCConfiguration ogcConfiguration, InspireConfiguration inspireConfiguration) {
    CollectionReference collectionReference = new CollectionReference();
    collectionReference.collectionName = getMetacollectionName();
    MetaCollectionReferenceParameters collectionReferenceParameters = new MetaCollectionReferenceParameters();
    collectionReferenceParameters.indexName = index;
    collectionReferenceParameters.idPath = META_COLLECTION_ID_PATH;
    collectionReferenceParameters.geometryPath = META_COLLECTION_GEOMETRY_PATH;
    collectionReferenceParameters.centroidPath = META_COLLECTION_CENTROID_PATH;
    collectionReferenceParameters.timestampPath = META_COLLECTION_TIMESTAMP_PATH;
    collectionReferenceParameters.inspireConfigurationParameters = new OgcInspireConfigurationParameters();
    collectionReferenceParameters.inspireConfigurationParameters.reponsibleParty = ogcConfiguration.serviceProviderName;
    collectionReferenceParameters.inspireConfigurationParameters.reponsiblePartyRole = ogcConfiguration.serviceProviderRole;
    collectionReferenceParameters.inspireConfigurationParameters.setConformityParameter();
    collectionReferenceParameters.inspireConfigurationParameters.publicAccessLimitations = inspireConfiguration.publicAccessLimitations;
    collectionReferenceParameters.inspireConfigurationParameters.accessAndUseConditions = inspireConfiguration.accessAndUseConditions;
    collectionReference.params = collectionReferenceParameters;
    return collectionReference;
}
Also used : OgcInspireConfigurationParameters(io.arlas.server.core.model.OgcInspireConfigurationParameters) MetaCollectionReferenceParameters(io.arlas.server.core.model.MetaCollectionReferenceParameters) CollectionReference(io.arlas.server.core.model.CollectionReference)

Aggregations

CollectionReference (io.arlas.server.core.model.CollectionReference)1 MetaCollectionReferenceParameters (io.arlas.server.core.model.MetaCollectionReferenceParameters)1 OgcInspireConfigurationParameters (io.arlas.server.core.model.OgcInspireConfigurationParameters)1