fr.cnes.sitools.form.project.services
Class ServicePropertiesSearchResource
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.ServicePropertiesSearchResource
- All Implemented Interfaces:
- IResource
public class ServicePropertiesSearchResource
- extends SitoolsParameterizedResource
Multidataset properties search service
Calls the properties search on each dataset and return all the datasets corresponding to the properties
- Author:
- m.gond
Method Summary |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
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.Variant variant)
Process the properties search on each dataset of the collection |
void |
sitoolsDescribe()
Resource description |
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServicePropertiesSearchResource
public ServicePropertiesSearchResource()
sitoolsDescribe
public void sitoolsDescribe()
- Resource description
- Overrides:
sitoolsDescribe
in class SitoolsParameterizedResource
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
@Get
public org.restlet.representation.Representation processSearch(org.restlet.representation.Variant variant)
- Process the properties search on each dataset of the collection
- Parameters:
variant
- the Variant needed
- Returns:
- a Representation in the given Variant of all the datasets corresponding to the properties
describeGet
public final void describeGet(org.restlet.ext.wadl.MethodInfo info)
Copyright © 2010-2013 CNES. All Rights Reserved.