fr.cnes.sitools.form.project.services
Class ServiceDatasetSearchResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.common.resource.SitoolsParameterizedResource
fr.cnes.sitools.form.project.services.ServiceDatasetSearchResourceFacade
fr.cnes.sitools.form.project.services.ServiceDatasetSearchResource
- All Implemented Interfaces:
- IResource
public class ServiceDatasetSearchResource
- extends ServiceDatasetSearchResourceFacade
Multidataset search service
Gets a list of dataset identifier and return the datasets description with the number of records
- Author:
- m.gond
Method Summary |
void |
doInit()
Initiate the resource
To initialize shared instance of objects between resources, get the component Context from the Settings and put the
object in the Context
((SitoolsSettings)getContext().getAttributes().get(ContextAttributes.SETTINGS)).getComponent()
.getContext().getAttributes().put(SOME KEY, SOME OBJECT) |
org.restlet.representation.Representation |
processSearch(org.restlet.representation.Representation represent,
org.restlet.representation.Variant variant)
Create the order |
Methods inherited from class fr.cnes.sitools.common.resource.SitoolsParameterizedResource |
addStandardResponseInfo, getId, getModel, getOverrideParameterValue, getOverrideParameterValueObject, getOverrideParams, getParameterValue, getParent, setId, setModel, setParent |
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 |
ServiceDatasetSearchResource
public ServiceDatasetSearchResource()
doInit
public void doInit()
- Description copied from class:
SitoolsParameterizedResource
- Initiate the resource
To initialize shared instance of objects between resources, get the component Context from the Settings and put the
object in the Context
((SitoolsSettings)getContext().getAttributes().get(ContextAttributes.SETTINGS)).getComponent()
.getContext().getAttributes().put(SOME KEY, SOME OBJECT)
- Overrides:
doInit
in class SitoolsParameterizedResource
processSearch
@Post
public org.restlet.representation.Representation processSearch(org.restlet.representation.Representation represent,
org.restlet.representation.Variant variant)
- Create the order
- Overrides:
processSearch
in class ServiceDatasetSearchResourceFacade
- Parameters:
represent
- the Representation
entityvariant
- The Variant
needed
- Returns:
- a representation
Copyright © 2010-2013 CNES. All Rights Reserved.