fr.cnes.sitools.service.storage
Class StorageAdministration

java.lang.Object
  extended by ExtendedWadlApplication
      extended by fr.cnes.sitools.common.application.SitoolsApplication
          extended by fr.cnes.sitools.service.storage.StorageAdministration

public final class StorageAdministration
extends SitoolsApplication

Application for managing directories for data storage in SITools.

Author:
jp.boignard (AKKA Technologies)

Constructor Summary
StorageAdministration(org.restlet.Context context)
          Constructor
 
Method Summary
 org.restlet.Restlet createInboundRoot()
           
 org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request, org.restlet.Response response)
           
 StorageApplication getStorageApplication()
          Get associated StorageApplication
 DataStorageStore getStore()
          Get the store associated to the application
 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.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

StorageAdministration

public StorageAdministration(org.restlet.Context context)
Constructor

Parameters:
context - the RESTlet context must contain a DataStorageStore attribute for APP_STORE key
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()

getStore

public DataStorageStore getStore()
Get the store associated to the application

Returns:
the store

getApplicationInfo

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

getStorageApplication

public StorageApplication getStorageApplication()
Get associated StorageApplication

Returns:
StorageApplication


Copyright © 2010-2013 CNES. All Rights Reserved.