|
||||||||||
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
public abstract class AbstractGraphResource
Abstract Resource class for Graphs management
Field Summary | |
---|---|
static java.lang.String |
PROJECT_ID_PARAM_NAME
The name of the project ID parameter name |
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
AbstractGraphResource()
Default constructor |
Method Summary | |
---|---|
void |
doInit()
Initiate the resource |
java.lang.String |
getGraphId()
Gets the graphId value |
Graph |
getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Gets the Graph object from the given representation and the given variant |
ProjectAdministration |
getProjectAdministration()
Gets the application value |
java.lang.String |
getProjectId()
Gets the projectId value |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Response to Representation |
SitoolsStore<Graph> |
getStore()
Gets the store value |
void |
registerObserver(Graph input)
Register as observer |
void |
unregisterObserver(Graph 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 |
Field Detail |
---|
public static final java.lang.String PROJECT_ID_PARAM_NAME
Constructor Detail |
---|
public AbstractGraphResource()
Method Detail |
---|
public final void doInit()
SitoolsResource
public final org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
getRepresentation
in class SitoolsResource
response
- The responsemedia
- The media type needed
public final Graph getObject(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- A graph representationvariant
- The variant of the representation
public final void registerObserver(Graph input)
input
- The ConverterChainedModelpublic final void unregisterObserver(Graph input)
input
- ConverterChainedModel Objectpublic final ProjectAdministration getProjectAdministration()
public final SitoolsStore<Graph> getStore()
public final java.lang.String getProjectId()
public final java.lang.String getGraphId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |