fr.cnes.sitools.project
Class AbstractProjectApplication

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
Direct Known Subclasses:
ProjectAdministration, ProjectApplication

public abstract class AbstractProjectApplication
extends SitoolsParameterizedApplication

Abstract Class for ProjectApplications

Author:
m.gond (AKKA Technologies)

Constructor Summary
AbstractProjectApplication(org.restlet.Context context)
          Constructor
AbstractProjectApplication(org.restlet.Context context, java.lang.String projectId)
          Constructor
 
Method Summary
abstract  void attachProject(Project ds)
          Create and attach a new ProjectApplication
abstract  void detachProject(Project ds)
          Detach the ProjectApplication corresponding with the Project given object
abstract  void detachProjectDefinitif(Project ds)
          Detach the ProjectApplication corresponding with the Project given object
 SitoolsStore<Graph> getGraphStore()
          Gets the graphStore value
 java.lang.String getProjectId()
          Gets the projectId value
 SitoolsStore<Project> getStore()
          Gets the project store value
 void setGraphStore(SitoolsStore<Graph> graphStore)
          Sets the value of graphStore
 
Methods inherited from class fr.cnes.sitools.common.application.SitoolsParameterizedApplication
attachParameterizedResources, detachParameterizedResource, getApplicationInfo, 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, sitoolsDescribe, start, stop, unregister, wrapToResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractProjectApplication

public AbstractProjectApplication(org.restlet.Context context)
Constructor

Parameters:
context - Restlet Host Context

AbstractProjectApplication

public AbstractProjectApplication(org.restlet.Context context,
                                  java.lang.String projectId)
Constructor

Parameters:
context - Restlet Host Context
projectId - the project identifier
Method Detail

getStore

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

Returns:
the ProjectStore

setGraphStore

public final void setGraphStore(SitoolsStore<Graph> graphStore)
Sets the value of graphStore

Parameters:
graphStore - the graphStore to set

getGraphStore

public final SitoolsStore<Graph> getGraphStore()
Gets the graphStore value

Returns:
the graphStore

attachProject

public abstract void attachProject(Project ds)
Create and attach a new ProjectApplication

Parameters:
ds - Project object

detachProject

public abstract void detachProject(Project ds)
Detach the ProjectApplication corresponding with the Project given object

Parameters:
ds - Project object

detachProjectDefinitif

public abstract void detachProjectDefinitif(Project ds)
Detach the ProjectApplication corresponding with the Project given object

Parameters:
ds - Project object

getProjectId

public final java.lang.String getProjectId()
Gets the projectId value

Returns:
the projectId


Copyright © 2010-2013 CNES. All Rights Reserved.