fr.cnes.sitools.dataset.services
Class AbstractGuiServiceResource

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.services.AbstractServiceResource
                  extended by fr.cnes.sitools.dataset.services.AbstractGuiServiceResource
Direct Known Subclasses:
GuiServiceCollectionResource, GuiServiceResource

public abstract class AbstractGuiServiceResource
extends AbstractServiceResource

Abstract class to manage GuiServices

Author:
m.gond

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AbstractGuiServiceResource()
           
 
Method Summary
 java.lang.String getGuiServicesUrl()
          Return the url of the resource plugin application
 GuiServicePluginModel getObjectGuiServicePluginModel(org.restlet.representation.Representation representation)
          Get the object from representation
 
Methods inherited from class fr.cnes.sitools.dataset.services.AbstractServiceResource
doInit, getObject, getParentId, getRepresentation, getServiceModel, getStore, registerObserver, serviceExists, setParentId, setStore, unregisterObserver
 
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

AbstractGuiServiceResource

public AbstractGuiServiceResource()
Method Detail

getObjectGuiServicePluginModel

public final GuiServicePluginModel getObjectGuiServicePluginModel(org.restlet.representation.Representation representation)
                                                           throws java.io.IOException
Get the object from representation

Parameters:
representation - the representation used
Returns:
GuiService
Throws:
java.io.IOException - if there is an error while parsing the java representation of the object

getGuiServicesUrl

public java.lang.String getGuiServicesUrl()
Return the url of the resource plugin application

Returns:
the url of the resource plugin application


Copyright © 2010-2013 CNES. All Rights Reserved.