|
||||||||||
| 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.project.graph.AbstractGraphResource
fr.cnes.sitools.project.graph.GraphResource
public final class GraphResource
Sprint 6
| Field Summary |
|---|
| Fields inherited from class fr.cnes.sitools.project.graph.AbstractGraphResource |
|---|
PROJECT_ID_PARAM_NAME |
| Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
|---|
DEFAULT_MEDIATYPE |
| Constructor Summary | |
|---|---|
GraphResource()
|
|
| Method Summary | |
|---|---|
void |
configure(com.thoughtworks.xstream.XStream xstream,
Response response)
Sets the xstream parameters |
org.restlet.representation.Representation |
deleteGraph(org.restlet.representation.Variant variant)
Delete graph |
void |
describeDelete(org.restlet.ext.wadl.MethodInfo info)
|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePost(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
|
org.restlet.representation.Representation |
newGraph(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update / Validate existing graph |
org.restlet.representation.Representation |
retrieveGraph(org.restlet.representation.Variant variant)
get all projects |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
updateGraph(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update / Validate existing graph |
| Methods inherited from class fr.cnes.sitools.project.graph.AbstractGraphResource |
|---|
doInit, getGraphId, getObject, getProjectAdministration, getProjectId, 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 GraphResource()
| Method Detail |
|---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe in class AbstractSitoolsResource@Get public org.restlet.representation.Representation retrieveGraph(org.restlet.representation.Variant variant)
variant - client preferred media type
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
@Put
public org.restlet.representation.Representation updateGraph(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
representation - Graph representationvariant - client preferred media type
public void describePut(org.restlet.ext.wadl.MethodInfo info)
@Post
public org.restlet.representation.Representation newGraph(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
representation - Graph representationvariant - client preferred media type
public void describePost(org.restlet.ext.wadl.MethodInfo info)
public void configure(com.thoughtworks.xstream.XStream xstream,
Response response)
configure in class SitoolsResourcexstream - A xstream objectresponse - the response used@Delete public org.restlet.representation.Representation deleteGraph(org.restlet.representation.Variant variant)
variant - client preferred media type
public void describeDelete(org.restlet.ext.wadl.MethodInfo info)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||