use of io.arlas.server.core.model.MetaCollectionReferenceParameters 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;
}
Aggregations