|
||||||||||
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
fr.cnes.sitools.form.dataset.FormDTOCollectionResource
public final class FormDTOCollectionResource
Class Resource for managing Project Collection (GET, POST)
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
FormDTOCollectionResource()
|
Method Summary | |
---|---|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
Describe the Get command |
void |
describePost(org.restlet.ext.wadl.MethodInfo info)
Describe the POST command |
org.restlet.representation.Representation |
newForm(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Create new form |
org.restlet.representation.Representation |
retrieve(org.restlet.representation.Variant variant)
get all forms |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.form.dataset.AbstractFormResource |
---|
getDataset, getDatasetId, getFormApplication, getFormId, getObject, getRepresentation, getStore, registerObserver, unregisterObserver |
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 |
---|
public FormDTOCollectionResource()
Method Detail |
---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
@Post public org.restlet.representation.Representation newForm(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
variant
- client preferred media typerepresentation
- representation of the formed as function of the variant
public void describePost(org.restlet.ext.wadl.MethodInfo info)
info
- the info sent@Get public org.restlet.representation.Representation retrieve(org.restlet.representation.Variant variant)
variant
- client preferred media type
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
info
- the info sent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |