fr.cnes.sitools.applications
Class ClientUserApplication

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.ClientUserApplication

public final class ClientUserApplication
extends StaticWebApplication

Application Web Client User.

Author:
jp.boignard (AKKA Technologies)

Constructor Summary
ClientUserApplication(org.restlet.Context context, java.lang.String appPath, java.lang.String baseUrl)
          Constructor with folder of exposed files
 
Method Summary
 org.restlet.Restlet createInboundRoot()
           
 org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request, org.restlet.Response response)
           
 java.lang.String getPortalId()
          Get the portal identifier
 java.lang.String getPortalIndexUrl()
          Gets the portalIndexUrl value
 java.lang.String getProjectIndexUrl()
          Gets the projectIndexUrl value
 SitoolsStore<Project> getStore()
          Gets the store value.
 void setStore(SitoolsStore<Project> stor)
          Sets the value of store.
 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

ClientUserApplication

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

Parameters:
context - Restlet Context
appPath - Directory
baseUrl - public domain name when list files.
Method Detail

getStore

public SitoolsStore<Project> getStore()
Gets the store value.

Returns:
the store

setStore

public void setStore(SitoolsStore<Project> stor)
Sets the value of store.

Parameters:
stor - the store to set

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

getPortalIndexUrl

public java.lang.String getPortalIndexUrl()
Gets the portalIndexUrl value

Returns:
the portalIndexUrl

getProjectIndexUrl

public java.lang.String getProjectIndexUrl()
Gets the projectIndexUrl value

Returns:
the projectIndexUrl

getPortalId

public java.lang.String getPortalId()
Get the portal identifier

Returns:
the portal identifier

getApplicationInfo

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


Copyright © 2010-2013 CNES. All Rights Reserved.