fr.cnes.sitools.applications
Class AdministratorApplication

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.applications.AdministratorApplication

public final class AdministratorApplication
extends SitoolsParameterizedApplication

Application for managing several settings and plugin resources for administrators.

Author:
jp.boignard (AKKA Technologies)

Constructor Summary
AdministratorApplication(org.restlet.Context context)
          Category
AdministratorApplication(org.restlet.routing.Router parentRouter, org.restlet.Context context)
          Default constructor
 
Method Summary
 org.restlet.Restlet createInboundRoot()
           
 org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request, org.restlet.Response response)
           
 java.lang.String getCssDir()
          Gets the cssDir value
 java.lang.String getLicenceDir()
          Gets the licenceDir value
 org.restlet.routing.Router getParentRouter()
          Gets the parentRouter value usefull for dynamic application attachment
 java.lang.String getTemplateDir()
          Gets the templateDir value
 void setCssDir(java.lang.String cssDir)
          Sets the value of cssDir
 void setLicenceDir(java.lang.String licenceDir)
          Sets the value of licenceDir
 void setTemplateDir(java.lang.String templateDir)
          Sets the value of templateDir
 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.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

AdministratorApplication

public AdministratorApplication(org.restlet.Context context)
Category

Parameters:
context - parent context

AdministratorApplication

public AdministratorApplication(org.restlet.routing.Router parentRouter,
                                org.restlet.Context context)
Default constructor

Parameters:
parentRouter - for dynamic applications attachment further if needed.
context - the 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

getApplicationInfo

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

createInboundRoot

public org.restlet.Restlet createInboundRoot()

getTemplateDir

public java.lang.String getTemplateDir()
Gets the templateDir value

Returns:
the templateDir

setTemplateDir

public void setTemplateDir(java.lang.String templateDir)
Sets the value of templateDir

Parameters:
templateDir - the templateDir to set

getCssDir

public java.lang.String getCssDir()
Gets the cssDir value

Returns:
the cssDir

setCssDir

public void setCssDir(java.lang.String cssDir)
Sets the value of cssDir

Parameters:
cssDir - the cssDir to set

getLicenceDir

public java.lang.String getLicenceDir()
Gets the licenceDir value

Returns:
the licenceDir

setLicenceDir

public void setLicenceDir(java.lang.String licenceDir)
Sets the value of licenceDir

Parameters:
licenceDir - the licenceDir to set

getParentRouter

public org.restlet.routing.Router getParentRouter()
Gets the parentRouter value usefull for dynamic application attachment

Returns:
the parentRouter


Copyright © 2010-2013 CNES. All Rights Reserved.