fr.cnes.sitools.units.dimension
Class AbstractDimensionResource

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
Direct Known Subclasses:
DimensionCollectionResource, DimensionResource

public abstract class AbstractDimensionResource
extends SitoolsResource

Base class for Dimension resources

Author:
m.marseille

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AbstractDimensionResource()
           
 
Method Summary
 void doInit()
          Initiate the resource
 AbstractDimensionApplication getDimensionApplication()
          Gets the dimApp value
 org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
          Gets representation according to the specified MediaType.
 SitoolsStore<SitoolsDimension> getStore()
          Gets the store value
 
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

AbstractDimensionResource

public AbstractDimensionResource()
Method Detail

doInit

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


getDimensionApplication

public final AbstractDimensionApplication getDimensionApplication()
Gets the dimApp value

Returns:
the dimApp

getStore

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

Returns:
the store

getRepresentation

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

Overrides:
getRepresentation in class SitoolsResource
Parameters:
response - : The response to get the representation from
media - : The MediaType asked
Returns:
The Representation of the response with the selected mediaType


Copyright © 2010-2013 CNES. All Rights Reserved.