fr.cnes.sitools.resources.geojson
Class JeoSearchResourceMongoDB
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.common.resource.SitoolsParameterizedResource
fr.cnes.sitools.resources.geojson.AbstractJeoSearchResource
fr.cnes.sitools.resources.geojson.JeoSearchResourceMongoDB
- All Implemented Interfaces:
- IResource
public class JeoSearchResourceMongoDB
- extends AbstractJeoSearchResource
Classic implementation of JeoSearch resource
- Author:
- m.gond
Methods inherited from class fr.cnes.sitools.common.resource.SitoolsParameterizedResource |
addStandardResponseInfo, doInit, getId, getModel, getOverrideParameterValue, getOverrideParameterValueObject, getOverrideParams, getParameterValue, getParent, setId, setModel, setParent, sitoolsDescribe |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JeoSearchResourceMongoDB
public JeoSearchResourceMongoDB()
getRepresentation
public org.restlet.representation.Representation getRepresentation(DatabaseRequestParameters params,
java.lang.String geometryColName,
ConverterChained converterChained,
DataSet dataset,
org.restlet.Context context)
- Description copied from class:
AbstractJeoSearchResource
- Get a representation
- Specified by:
getRepresentation
in class AbstractJeoSearchResource
- Parameters:
params
- the DatabaseRequestParametersgeometryColName
- the name of the Geometry columnconverterChained
- the list of convertersdataset
- the datasetcontext
- the context
- Returns:
- a representation
getColumnNameFromConcept
public java.lang.String getColumnNameFromConcept(java.lang.String dicoParamName,
java.lang.String conceptName)
- Get the columnName corresponding to the given conceptName and dictionary name in the dataset
- Parameters:
dicoParamName
- the name of the resource parameter which contains the dictionary nameconceptName
- the name of the concept
- Returns:
- the columnName or null if not found
Copyright © 2010-2013 CNES. All Rights Reserved.