fr.cnes.sitools.resources.geojson
Class AbstractJeoSearchResource
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
- All Implemented Interfaces:
- IResource
- Direct Known Subclasses:
- JeoSearchResourceMongoDB, JeoSearchResourcePostGis
public abstract class AbstractJeoSearchResource
- extends SitoolsParameterizedResource
Abstract class for 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 |
AbstractJeoSearchResource
public AbstractJeoSearchResource()
search
@Get
public org.restlet.representation.Representation search()
- Handle the search
- Returns:
- a
Representation
representing the search as GeoJSON
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
getRepresentation
public abstract org.restlet.representation.Representation getRepresentation(DatabaseRequestParameters params,
java.lang.String geometryColName,
ConverterChained converterChained,
DataSet dataset,
org.restlet.Context context)
- Get a representation
- Parameters:
params
- the DatabaseRequestParametersgeometryColName
- the name of the Geometry columnconverterChained
- the list of convertersdataset
- the datasetcontext
- the context
- Returns:
- a representation
Copyright © 2010-2013 CNES. All Rights Reserved.