fr.cnes.sitools.dataset.plugins.filters
Class FilterPluginsResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.common.AbstractPluginResource
fr.cnes.sitools.dataset.filter.AbstractFilterResource
fr.cnes.sitools.dataset.plugins.filters.FilterPluginsResource
public final class FilterPluginsResource
- extends AbstractFilterResource
Represent the details of a given filter
- Author:
- AKKA Technologies
Method Summary |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
|
void |
doInit()
Initiate the resource |
org.restlet.representation.Representation |
getFilter(org.restlet.representation.Variant variant)
return a representation of a filter |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Response to Representation |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.representation.Variant variant)
Gets representation according to the specified Variant if present. |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterPluginsResource
public FilterPluginsResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
doInit
public void doInit()
- Description copied from class:
SitoolsResource
- Initiate the resource
getFilter
@Get
public org.restlet.representation.Representation getFilter(org.restlet.representation.Variant variant)
- return a representation of a filter
- Parameters:
variant
- the variant needed
- Returns:
- the representation of a filter
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
getRepresentation
public org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.representation.Variant variant)
- Gets representation according to the specified Variant if present. If variant is null (when content negociation =
false) sets the variant to the first client accepted mediaType.
- Overrides:
getRepresentation
in class SitoolsResource
- Parameters:
response
- the response to be transformedvariant
- restlet variant
- Returns:
- Representation a restlet representation of the response
getRepresentation
public org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
- Response to Representation
- Overrides:
getRepresentation
in class AbstractFilterResource
- Parameters:
response
- the response to be transformedmedia
- the media type (json/xml)
- Returns:
- Representation the representation of the response
Copyright © 2010-2013 CNES. All Rights Reserved.