fr.cnes.sitools.dataset.plugins.filters
Class FilterPluginsCollectionResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.dataset.plugins.filters.FilterPluginsCollectionResource

public final class FilterPluginsCollectionResource
extends SitoolsResource

Class for filters plug-in resources

Author:
AKKA

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
FilterPluginsCollectionResource()
           
 
Method Summary
 void describeGet(org.restlet.ext.wadl.MethodInfo info)
           
 org.restlet.representation.Representation getFilters(org.restlet.representation.Variant variant)
          GET request
 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, configure, getNotificationObject, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace
 
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource
getMediaType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterPluginsCollectionResource

public FilterPluginsCollectionResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: AbstractSitoolsResource
Method implementation mandatory

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

getFilters

@Get
public org.restlet.representation.Representation getFilters(org.restlet.representation.Variant variant)
GET request

Parameters:
variant - a restlet representation variant
Returns:
a restlet representation

describeGet

public void describeGet(org.restlet.ext.wadl.MethodInfo info)

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 - json or xml answer
variant - restlet variant
Returns:
Representation

getRepresentation

public org.restlet.representation.Representation getRepresentation(Response response,
                                                                   org.restlet.data.MediaType media)
Response to Representation

Overrides:
getRepresentation in class SitoolsResource
Parameters:
response - a json/xml answer
media - the media type (json/xml)
Returns:
Representation the restlet version of the response


Copyright © 2010-2013 CNES. All Rights Reserved.