fr.cnes.sitools.datasource.jdbc
Class AbstractDataSourceResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.datasource.jdbc.AbstractDataSourceResource
Direct Known Subclasses:
ActivationDataSourceResource, DataSourceMonitoringResource, JDBCDataSourceCollectionResource, JDBCDataSourceResource

public abstract class AbstractDataSourceResource
extends SitoolsResource

Abstract resource for DataSource Objects management

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AbstractDataSourceResource()
           
 
Method Summary
 java.lang.String getDatasourceId()
          Gets the datasourceId value
 JDBCDataSourceAdministration getJDBCDataSourceAdministration()
          Gets the application value
 JDBCDataSource getObject(org.restlet.representation.Representation representation)
          Get object from representation
 org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
          Get the representation
 SitoolsStore<JDBCDataSource> getStore()
          Gets the store value
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting
 
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
 

Constructor Detail

AbstractDataSourceResource

public AbstractDataSourceResource()
Method Detail

getRepresentation

public final org.restlet.representation.Representation getRepresentation(Response response,
                                                                         org.restlet.data.MediaType media)
Get the representation

Overrides:
getRepresentation in class SitoolsResource
Parameters:
response - the response to use
media - the media to use
Returns:
Representation

getObject

public final JDBCDataSource getObject(org.restlet.representation.Representation representation)
Get object from representation

Parameters:
representation - the representation to use
Returns:
JDBCDataSource

getJDBCDataSourceAdministration

public final JDBCDataSourceAdministration getJDBCDataSourceAdministration()
Gets the application value

Returns:
the application

getStore

public final SitoolsStore<JDBCDataSource> getStore()
Gets the store value

Returns:
the store

getDatasourceId

public final java.lang.String getDatasourceId()
Gets the datasourceId value

Returns:
the datasourceId


Copyright © 2010-2013 CNES. All Rights Reserved.