fr.cnes.sitools.dataset.filter
Class FilterActivationResource
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.filter.FilterActivationResource
public final class FilterActivationResource
- extends AbstractFilterResource
Activate or disactivate a Filter
- Author:
- m.gond
Method Summary |
void |
describePut(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
Describe the PUT method |
void |
doInit()
Initiate the resource |
SitoolsStore<FilterChainedModel> |
getStore()
Gets the store value |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
validate(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Actions on PUT |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterActivationResource
public FilterActivationResource()
doInit
public void doInit()
- Initiate the resource
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
validate
@Put
public org.restlet.representation.Representation validate(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Actions on PUT
- Parameters:
representation
- could be null.variant
- MediaType of response
- Returns:
- Representation response
describePut
public void describePut(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
- Describe the PUT method
- Parameters:
info
- WADL method informationpath
- url attachment in application
getStore
public SitoolsStore<FilterChainedModel> getStore()
- Gets the store value
- Returns:
- the store
Copyright © 2010-2013 CNES. All Rights Reserved.