fr.cnes.sitools.dataset.view
Class AbstractDatasetViewResource

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.dataset.view.AbstractDatasetViewResource
Direct Known Subclasses:
DatasetViewCollectionResource, DatasetViewResource

public abstract class AbstractDatasetViewResource
extends SitoolsResource

Base class for resource of management of DatasetView

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AbstractDatasetViewResource()
           
 
Method Summary
 void doInit()
          Initiate the resource
 java.lang.String getDatasetViewId()
          Gets the datasetViewId value
 DatasetView 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<DatasetView> getStore()
          Gets the store value
 void setDatasetViewId(java.lang.String datasetViewId)
          Sets the value of datasetViewId
 void setStore(SitoolsStore<DatasetView> 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
 
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

AbstractDatasetViewResource

public AbstractDatasetViewResource()
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 DatasetView 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:
DatasetView

setDatasetViewId

public final void setDatasetViewId(java.lang.String datasetViewId)
Sets the value of datasetViewId

Parameters:
datasetViewId - the datasetViewId to set

getDatasetViewId

public final java.lang.String getDatasetViewId()
Gets the datasetViewId value

Returns:
the datasetViewId

setStore

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

Parameters:
store - the store to set

getStore

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

Returns:
the store


Copyright © 2010-2013 CNES. All Rights Reserved.