fr.cnes.sitools.dataset
Class DataSetAdministration

java.lang.Object
  extended by ExtendedWadlApplication
      extended by fr.cnes.sitools.common.application.SitoolsApplication
          extended by fr.cnes.sitools.common.application.SitoolsParameterizedApplication
              extended by fr.cnes.sitools.dataset.AbstractDataSetApplication
                  extended by fr.cnes.sitools.dataset.DataSetAdministration

public final class DataSetAdministration
extends AbstractDataSetApplication

Application for managing DataSets Dependencies : DataSets

Author:
AKKA [531341]
2011/09/19 d.arpin {add Cookie authentification when creating DataSet Application}

Constructor Summary
DataSetAdministration(org.restlet.routing.Router parentRouter, org.restlet.Context context)
          Constructor with parentRouter
 
Method Summary
 void attachDataSet(DataSet ds)
          Create and attach a DataSetApplication according to the given DataSet object
 org.restlet.Restlet createInboundRoot()
           
 void detachDataSet(DataSet ds)
          Detach the DataSetApplication according to the given DataSet object
 void detachDataSetDefinitif(DataSet ds)
          Detach the DataSetApplication according to the given DataSet object
 org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request, org.restlet.Response response)
           
 void sitoolsDescribe()
          Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality.
 
Methods inherited from class fr.cnes.sitools.dataset.AbstractDataSetApplication
getDatasetId, getStore
 
Methods inherited from class fr.cnes.sitools.common.application.SitoolsParameterizedApplication
attachParameterizedResources, detachParameterizedResource, getModel, getModelMap, getPluginStore, setModelMap
 
Methods inherited from class fr.cnes.sitools.common.application.SitoolsApplication
addSecurity, addSecurity, addSecurityFilter, defaultDescribe, getAttachementRef, getAuthenticationRealm, getAuthorizer, getAuthorizer, getAuthorizer, getCategory, getId, getPublicBaseRef, getRepresentationInfoReferences, getSecure, getSettings, getSitoolsApplicationInfo, getType, getUserAuthorizer, isAuthorizationSecure, isUserAuthenticationNeeded, register, setAutoRegistration, setCategory, setId, setSitoolsApplicationInfo, setType, setUserAuthenticationNeeded, start, stop, unregister, wrapToResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSetAdministration

public DataSetAdministration(org.restlet.routing.Router parentRouter,
                             org.restlet.Context context)
Constructor with parentRouter

Parameters:
parentRouter - for DataSetApplication attachment
context - RESTlet Host Context
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: SitoolsApplication
Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality.

Specified by:
sitoolsDescribe in class SitoolsApplication

createInboundRoot

public org.restlet.Restlet createInboundRoot()

attachDataSet

public void attachDataSet(DataSet ds)
Create and attach a DataSetApplication according to the given DataSet object

Specified by:
attachDataSet in class AbstractDataSetApplication
Parameters:
ds - DataSet object

detachDataSet

public void detachDataSet(DataSet ds)
Detach the DataSetApplication according to the given DataSet object

Specified by:
detachDataSet in class AbstractDataSetApplication
Parameters:
ds - DataSet object

detachDataSetDefinitif

public void detachDataSetDefinitif(DataSet ds)
Detach the DataSetApplication according to the given DataSet object

Specified by:
detachDataSetDefinitif in class AbstractDataSetApplication
Parameters:
ds - DataSet object

getApplicationInfo

public org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request,
                                                               org.restlet.Response response)
Overrides:
getApplicationInfo in class AbstractDataSetApplication


Copyright © 2010-2013 CNES. All Rights Reserved.