|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.common.AbstractPluginResource
fr.cnes.sitools.dataset.filter.AbstractFilterResource
public abstract class AbstractFilterResource
Abstract Resource class for Forms management
| Field Summary |
|---|
| Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
|---|
DEFAULT_MEDIATYPE |
| Constructor Summary | |
|---|---|
AbstractFilterResource()
Default constructor |
|
| Method Summary | |
|---|---|
java.util.Set<ConstraintViolation> |
checkValidity(FilterModel input)
Check the validaty of the given FilterModel |
void |
configure(com.thoughtworks.xstream.XStream xstream,
Response response)
Configure the XStream |
java.lang.String |
getDatasetId()
Get the identifier of the dataset |
FilterModelDTO |
getFilterModelDTO(AbstractFilter filter)
Get a FilterModelDTO from a FilterModel |
FilterModelDTO |
getFilterModelDTO(FilterModel filter)
Get a FilterModelDTO from a FilterModel |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Gets representation according to the specified MediaType. |
void |
registerObserver(FilterChainedModel input)
Register as observer |
void |
unregisterObserver(FilterChainedModel input)
Unregister as Observer |
| Methods inherited from class fr.cnes.sitools.common.AbstractPluginResource |
|---|
checkValidity, fromListToMap |
| Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource |
|---|
getMediaType, sitoolsDescribe |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFilterResource()
| Method Detail |
|---|
public org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
getRepresentation in class SitoolsResourceresponse - : The response to get the representation frommedia - : The MediaType asked
public void registerObserver(FilterChainedModel input)
input - The FilterChainedModelpublic void unregisterObserver(FilterChainedModel input)
input - FilterChainedModel Objectpublic final java.lang.String getDatasetId()
public java.util.Set<ConstraintViolation> checkValidity(FilterModel input)
input - the FilterModel to validate
public void configure(com.thoughtworks.xstream.XStream xstream,
Response response)
configure in class AbstractPluginResourcexstream - the XStream to treatresponse - the response usedpublic FilterModelDTO getFilterModelDTO(FilterModel filter)
filter - the FilterModel
public FilterModelDTO getFilterModelDTO(AbstractFilter filter)
filter - the FilterModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||