|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sitools.properties.AbstractPropertyFilter
public abstract class AbstractPropertyFilter
Abstract class for Filter on property
| Field Summary | |
|---|---|
static int |
PROPERTY
The index of COLUMN |
static java.lang.String |
TEMPLATE_PARAM
The TEMPLATE_PARAM |
static int |
TYPE
The index of COLUMN |
static int |
VALUES
The index of Values |
| Constructor Summary | |
|---|---|
AbstractPropertyFilter()
|
|
| Method Summary | |
|---|---|
SitoolsProperty |
getProperty(java.lang.String propertyName,
java.util.List<SitoolsProperty> properties)
Get a SitoolsProperty for a given propertyName in the given properties list |
abstract boolean |
match(org.restlet.Request request,
org.restlet.Context context)
Return true if the properties contained in the Context, matches the request parameters false otherwise |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE
public static final int PROPERTY
public static final int VALUES
public static final java.lang.String TEMPLATE_PARAM
| Constructor Detail |
|---|
public AbstractPropertyFilter()
| Method Detail |
|---|
public abstract boolean match(org.restlet.Request request,
org.restlet.Context context)
request - The Request containing the request parameterscontext - the Context containing the properties
(getContext().getAttributes().get(ContextAttributes.LIST_SITOOLS_PROPERTIES)
public SitoolsProperty getProperty(java.lang.String propertyName,
java.util.List<SitoolsProperty> properties)
SitoolsProperty for a given propertyName in the given properties list
propertyName - the name of the propertyproperties - the List of SitoolsProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||