|
||||||||||
| 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.form.dataset.AbstractFormResource
public abstract class AbstractFormResource
Abstract Resource class for Forms management
| Field Summary |
|---|
| Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
|---|
DEFAULT_MEDIATYPE |
| Constructor Summary | |
|---|---|
AbstractFormResource()
Default constructor |
|
| Method Summary | |
|---|---|
DataSet |
getDataset(java.lang.String id)
Get the dataset object with the given id |
java.lang.String |
getDatasetId()
Gets the datasetId value |
FormApplication |
getFormApplication()
Gets the application value |
java.lang.String |
getFormId()
Gets the formId value |
FormDTO |
getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Get the object from the representation |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Response to Representation |
SitoolsStore<Form> |
getStore()
Gets the store value |
void |
registerObserver(Form input)
Register as observer |
void |
unregisterObserver(Form input)
Unregister as Observer |
| 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 AbstractFormResource()
| Method Detail |
|---|
public final org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
getRepresentation in class SitoolsResourceresponse - the response to treatmedia - the media to use
public final FormDTO getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
representation - the representation to usevariant - the variant to use
public final void registerObserver(Form input)
input - The Form objectpublic final void unregisterObserver(Form input)
input - Form Objectpublic final FormApplication getFormApplication()
public final SitoolsStore<Form> getStore()
public final java.lang.String getFormId()
public final java.lang.String getDatasetId()
public final DataSet getDataset(java.lang.String id)
id - the id of the dataset
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||