fr.cnes.sitools.form.project
Class AbstractFormProjectResource

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.form.project.AbstractFormProjectResource
Direct Known Subclasses:
FormProjectCollectionResource, FormProjectResource

public abstract class AbstractFormProjectResource
extends SitoolsResource

Base class for resource of management of form components

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AbstractFormProjectResource()
           
 
Method Summary
 void doInit()
          Initiate the resource
 java.lang.String getFormProjectId()
          Gets the formProjectId value
 FormProject getObject(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Get the object from representation
 java.lang.String getProjectId()
          Gets the projectId value
 org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
          Response to Representation
 SitoolsStore<FormProject> getStore()
          Gets the store value
 void setFormProjectId(java.lang.String formProjectId)
          Sets the value of formProjectId
 void setProjectId(java.lang.String projectId)
          Sets the value of projectId
 void setStore(SitoolsStore<FormProject> 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

AbstractFormProjectResource

public AbstractFormProjectResource()
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 FormProject 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:
FormProject

getProjectId

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

Returns:
the projectId

setProjectId

public void setProjectId(java.lang.String projectId)
Sets the value of projectId

Parameters:
projectId - the projectId to set

setStore

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

Parameters:
store - the store to set

getStore

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

Returns:
the store

setFormProjectId

public void setFormProjectId(java.lang.String formProjectId)
Sets the value of formProjectId

Parameters:
formProjectId - the formProjectId to set

getFormProjectId

public java.lang.String getFormProjectId()
Gets the formProjectId value

Returns:
the formProjectId


Copyright © 2010-2013 CNES. All Rights Reserved.