|
||||||||||
| 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.jdbc.AbstractDataSourceResource
fr.cnes.sitools.datasource.jdbc.ActivationDataSourceResource
public final class ActivationDataSourceResource
Actions on DataSource : testConnection activation / disable of the associated Application(s)
| Field Summary |
|---|
| Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
|---|
DEFAULT_MEDIATYPE |
| Constructor Summary | |
|---|---|
ActivationDataSourceResource()
|
|
| Method Summary | |
|---|---|
org.restlet.representation.Representation |
action(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
PUT to activate DataSource |
java.lang.Boolean |
checkDataSourceConnection(JDBCDataSource ds)
Testing connections |
void |
describePut(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
Describe the GET method |
void |
sitoolsDescribe()
Method implementation mandatory |
Response |
testDataSourceConnection(JDBCDataSource ds)
Testing connections |
| Methods inherited from class fr.cnes.sitools.datasource.jdbc.AbstractDataSourceResource |
|---|
getDatasourceId, getJDBCDataSourceAdministration, 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 ActivationDataSourceResource()
| Method Detail |
|---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe in class AbstractSitoolsResource
@Put
public org.restlet.representation.Representation action(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
representation - the representation sentvariant - the variant sent
public void describePut(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
info - WADL method informationpath - url attachment of the resourcepublic Response testDataSourceConnection(JDBCDataSource ds)
ds - the DataSource to test
public java.lang.Boolean checkDataSourceConnection(JDBCDataSource ds)
ds - the datasource to test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||