|
||||||||||
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.datasource.mongodb.AbstractDataSourceResource
fr.cnes.sitools.datasource.mongodb.MongoDBDataSourceResource
public final class MongoDBDataSourceResource
Resource for managing single MongoDBDataSource (GET UPDATE DELETE)
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
MongoDBDataSourceResource()
|
Method Summary | |
---|---|
org.restlet.representation.Representation |
deleteDataSource(org.restlet.representation.Variant variant)
Delete data source |
void |
describeDelete(org.restlet.ext.wadl.MethodInfo info)
DELETE description |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
GET description |
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
PUT description |
org.restlet.representation.Representation |
retrieveDataSource(org.restlet.representation.Variant variant)
get all DataSources |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
updateDataSource(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update / Validate existing DataSource |
Methods inherited from class fr.cnes.sitools.datasource.mongodb.AbstractDataSourceResource |
---|
getDatasourceId, getMongoDBDataSourceAdministration, getObject, getRepresentation, getStore |
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 MongoDBDataSourceResource()
Method Detail |
---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
@Get public org.restlet.representation.Representation retrieveDataSource(org.restlet.representation.Variant variant)
variant
- client preferred media type
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
info
- WADL method information@Put public org.restlet.representation.Representation updateDataSource(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- the representation sentvariant
- client preferred media type
public void describePut(org.restlet.ext.wadl.MethodInfo info)
info
- WADL method information@Delete public org.restlet.representation.Representation deleteDataSource(org.restlet.representation.Variant variant)
variant
- client preferred media type
public void describeDelete(org.restlet.ext.wadl.MethodInfo info)
info
- WADL method information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |