fr.cnes.sitools.form.project
Class FormProjectResource

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
                  extended by fr.cnes.sitools.form.project.FormProjectResource

public class FormProjectResource
extends AbstractFormProjectResource

Class Resource for managing single FormProject (GET UPDATE DELETE)

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
FormProjectResource()
           
 
Method Summary
 org.restlet.representation.Representation deleteFormProject(org.restlet.representation.Variant variant)
          Delete formProject
 void describeDelete(org.restlet.ext.wadl.MethodInfo info)
           
 void describeGet(org.restlet.ext.wadl.MethodInfo info)
           
 void describePut(org.restlet.ext.wadl.MethodInfo info)
           
 org.restlet.representation.Representation retrieveFormProject(org.restlet.representation.Variant variant)
          get all formProject
 void sitoolsDescribe()
          Method implementation mandatory
 org.restlet.representation.Representation updateFormProject(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Update / Validate existing formProject
 
Methods inherited from class fr.cnes.sitools.form.project.AbstractFormProjectResource
doInit, getFormProjectId, getObject, getProjectId, getRepresentation, getStore, setFormProjectId, setProjectId, setStore
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormProjectResource

public FormProjectResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: AbstractSitoolsResource
Method implementation mandatory

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

retrieveFormProject

@Get
public org.restlet.representation.Representation retrieveFormProject(org.restlet.representation.Variant variant)
get all formProject

Parameters:
variant - client preferred media type
Returns:
Representation

describeGet

public final void describeGet(org.restlet.ext.wadl.MethodInfo info)

updateFormProject

@Put
public org.restlet.representation.Representation updateFormProject(org.restlet.representation.Representation representation,
                                                                       org.restlet.representation.Variant variant)
Update / Validate existing formProject

Parameters:
representation - FormProject representation
variant - client preferred media type
Returns:
Representation

describePut

public final void describePut(org.restlet.ext.wadl.MethodInfo info)

deleteFormProject

@Delete
public org.restlet.representation.Representation deleteFormProject(org.restlet.representation.Variant variant)
Delete formProject

Parameters:
variant - client preferred media type
Returns:
Representation

describeDelete

public final void describeDelete(org.restlet.ext.wadl.MethodInfo info)


Copyright © 2010-2013 CNES. All Rights Reserved.