fr.cnes.sitools.properties
Class PropertyFilterResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.dataset.AbstractDataSetResource
fr.cnes.sitools.properties.PropertyFilterResource
public class PropertyFilterResource
- extends AbstractDataSetResource
Resource to check that the given properties are compatible with the current dataset properties
- Author:
- m.gond
Method Summary |
org.restlet.representation.Representation |
checkProperties(org.restlet.representation.Variant variant)
* Check that the given properties are compatible with the current dataset properties A dataset is compatible if it
has the property and all the given values for a property is included in the values of the property |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyFilterResource
public PropertyFilterResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
checkProperties
@Get
public org.restlet.representation.Representation checkProperties(org.restlet.representation.Variant variant)
- * Check that the given properties are compatible with the current dataset properties A dataset is compatible if it
has the property and all the given values for a property is included in the values of the property
- Parameters:
variant
- the variant asked
- Returns:
- a Representation of a response with success = true if the dataset is compatible with the properties, false
otherwise
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
Copyright © 2010-2013 CNES. All Rights Reserved.