fr.cnes.sitools.project.modules
Class AbstractProjectModuleResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.project.modules.AbstractProjectModuleResource
Direct Known Subclasses:
ListComponentsResource, ProjectModuleCollectionResource, ProjectModuleResource

public abstract class AbstractProjectModuleResource
extends SitoolsResource

Base class for resource of management of ProjectModule

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AbstractProjectModuleResource()
           
 
Method Summary
 void doInit()
          Initiate the resource
 ProjectModuleModel getObject(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Get the object from representation
 java.lang.String getProjectModuleId()
          Gets the projectModuleId value
 org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
          Response to Representation
 SitoolsStore<ProjectModuleModel> getStore()
          Gets the store value
 void setProjectModuleId(java.lang.String projectModuleId)
          Sets the value of projectModuleId
 void setStore(SitoolsStore<ProjectModuleModel> store)
          Sets the value of store
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace
 
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource
getMediaType, sitoolsDescribe
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractProjectModuleResource

public AbstractProjectModuleResource()
Method Detail

doInit

public final void doInit()
Description copied from class: SitoolsResource
Initiate the resource


getRepresentation

public final org.restlet.representation.Representation getRepresentation(Response response,
                                                                         org.restlet.data.MediaType media)
Response to Representation

Overrides:
getRepresentation in class SitoolsResource
Parameters:
response - the server response
media - the media used
Returns:
Representation

getObject

public final ProjectModuleModel getObject(org.restlet.representation.Representation representation,
                                          org.restlet.representation.Variant variant)
Get the object from representation

Parameters:
representation - the representation used
variant - the variant used
Returns:
ProjectModule

setProjectModuleId

public final void setProjectModuleId(java.lang.String projectModuleId)
Sets the value of projectModuleId

Parameters:
projectModuleId - the projectModuleId to set

getProjectModuleId

public final java.lang.String getProjectModuleId()
Gets the projectModuleId value

Returns:
the projectModuleId

setStore

public final void setStore(SitoolsStore<ProjectModuleModel> store)
Sets the value of store

Parameters:
store - the store to set

getStore

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

Returns:
the store


Copyright © 2010-2013 CNES. All Rights Reserved.