fr.cnes.sitools.applications
Class ClientAdminApplication

java.lang.Object
  extended by ExtendedWadlApplication
      extended by fr.cnes.sitools.common.application.SitoolsApplication
          extended by fr.cnes.sitools.common.application.StaticWebApplication
              extended by fr.cnes.sitools.applications.ClientAdminApplication

public final class ClientAdminApplication
extends StaticWebApplication

Application Web Client Administration.

Author:
jp.boignard (AKKA Technologies)

Constructor Summary
ClientAdminApplication(org.restlet.Context context, java.lang.String appPath, java.lang.String baseUrl)
          Constructor with folder of exposed files
 
Method Summary
 org.restlet.Restlet createInboundRoot()
           
 java.lang.String getAdminIndexUrl()
          Gets the adminIndexUrl value
 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
 java.lang.String getTemplateDir()
          Gets the templateDir value
 void setAdminIndexUrl(java.lang.String adminIndexUrl)
          Sets the value of adminIndexUrl
 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.StaticWebApplication
getAppPath, getBaseUrl
 
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

ClientAdminApplication

public ClientAdminApplication(org.restlet.Context context,
                              java.lang.String appPath,
                              java.lang.String baseUrl)
Constructor with folder of exposed files

Parameters:
context - Restlet Context
appPath - Directory path
baseUrl - public domain name when list files.
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()
Overrides:
createInboundRoot in class StaticWebApplication

getApplicationInfo

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

getAdminIndexUrl

public java.lang.String getAdminIndexUrl()
Gets the adminIndexUrl value

Returns:
the adminIndexUrl

setAdminIndexUrl

public void setAdminIndexUrl(java.lang.String adminIndexUrl)
Sets the value of adminIndexUrl

Parameters:
adminIndexUrl - the adminIndexUrl to set

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


Copyright © 2010-2013 CNES. All Rights Reserved.