fr.cnes.sitools.properties
Class PropertyFilterResource

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.AbstractDataSetResource
                  extended by 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

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
PropertyFilterResource()
           
 
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.dataset.AbstractDataSetResource
getDatasetId, getObject, getRepresentation, registerObserver, unregisterObserver
 
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 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

PropertyFilterResource

public PropertyFilterResource()
Method Detail

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.