fr.cnes.sitools.form.components
Class AbstractFormComponentsResource

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.components.AbstractFormComponentsResource
Direct Known Subclasses:
FormComponentsCollectionResource, FormComponentsResource

public abstract class AbstractFormComponentsResource
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
AbstractFormComponentsResource()
           
 
Method Summary
 void doInit()
          Initiate the resource
 java.lang.String getFormComponentId()
          Gets the formComponentId value
 FormComponent getObject(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Get the object from representation
 org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
          Response to Representation
 SitoolsStore<FormComponent> getStore()
          Gets the store value
 void setFormComponentId(java.lang.String formComponentId)
          Sets the value of formComponentId
 void setStore(SitoolsStore<FormComponent> 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

AbstractFormComponentsResource

public AbstractFormComponentsResource()
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 FormComponent 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:
FormComponent

setFormComponentId

public final void setFormComponentId(java.lang.String formComponentId)
Sets the value of formComponentId

Parameters:
formComponentId - the formComponentId to set

getFormComponentId

public final java.lang.String getFormComponentId()
Gets the formComponentId value

Returns:
the formComponentId

setStore

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

Parameters:
store - the store to set

getStore

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

Returns:
the store


Copyright © 2010-2013 CNES. All Rights Reserved.