fr.cnes.sitools.project
Class ProjectAdministration

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.project.AbstractProjectApplication
                  extended by fr.cnes.sitools.project.ProjectAdministration

public final class ProjectAdministration
extends AbstractProjectApplication

Application for managing projects Dependencies : Projects TODO Constructor with all generic security configuration (Authenticator informations) Configure security application by spring or from server main

Author:
AKKA

Constructor Summary
ProjectAdministration(org.restlet.Context context)
          Category
ProjectAdministration(org.restlet.routing.Router parentRouter, org.restlet.Context context)
          Default constructor
 
Method Summary
 void attachProject(Project proj)
          Create and attach a ProjectApplication according to the given Project object
 org.restlet.Restlet createInboundRoot()
           
 void detachProject(Project proj)
          Detach the ProjectApplication according to the given Project object
 void detachProjectDefinitif(Project proj)
          Detach the ProjectApplication according to the given Project 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.project.AbstractProjectApplication
getGraphStore, getProjectId, getStore, setGraphStore
 
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

ProjectAdministration

public ProjectAdministration(org.restlet.Context context)
Category

Parameters:
context - parent context

ProjectAdministration

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

Parameters:
parentRouter - for ProjectApplication attachment
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

createInboundRoot

public org.restlet.Restlet createInboundRoot()

attachProject

public void attachProject(Project proj)
Create and attach a ProjectApplication according to the given Project object

Specified by:
attachProject in class AbstractProjectApplication
Parameters:
proj - Project object

detachProject

public void detachProject(Project proj)
Detach the ProjectApplication according to the given Project object

Specified by:
detachProject in class AbstractProjectApplication
Parameters:
proj - Project object

detachProjectDefinitif

public void detachProjectDefinitif(Project proj)
Detach the ProjectApplication according to the given Project object

Specified by:
detachProjectDefinitif in class AbstractProjectApplication
Parameters:
proj - Project object

getApplicationInfo

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


Copyright © 2010-2013 CNES. All Rights Reserved.