fr.cnes.sitools.units.dimension
Class DimensionResource

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.units.dimension.AbstractDimensionResource
                  extended by fr.cnes.sitools.units.dimension.DimensionResource

public final class DimensionResource
extends AbstractDimensionResource

Resource to handle a single dimension

Author:
m.marseille (AKKA technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
DimensionResource()
           
 
Method Summary
 void configure(com.thoughtworks.xstream.XStream xstream, Response response)
          Configure the XStream
 org.restlet.representation.Representation delete(org.restlet.representation.Variant variant)
           
 void describeDelete(org.restlet.ext.wadl.MethodInfo info)
           
 void describeGet(org.restlet.ext.wadl.MethodInfo info)
           
 void describePut(org.restlet.ext.wadl.MethodInfo info)
           
 void doInit()
          Initiate the resource
 org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
           
 org.restlet.representation.Representation put(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
           
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.units.dimension.AbstractDimensionResource
getDimensionApplication, getRepresentation, getStore
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting
 
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

DimensionResource

public DimensionResource()
Method Detail

sitoolsDescribe

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

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

doInit

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

Overrides:
doInit in class AbstractDimensionResource

get

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

describeGet

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

configure

public void configure(com.thoughtworks.xstream.XStream xstream,
                      Response response)
Description copied from class: SitoolsResource
Configure the XStream

Overrides:
configure in class SitoolsResource
Parameters:
xstream - the XStream to treat
response - the response used

put

@Put
public org.restlet.representation.Representation put(org.restlet.representation.Representation representation,
                                                         org.restlet.representation.Variant variant)

describePut

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

delete

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

describeDelete

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


Copyright © 2010-2013 CNES. All Rights Reserved.