fr.cnes.sitools.dataset.services
Class GuiServiceCollectionResource

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
                      extended by fr.cnes.sitools.dataset.services.GuiServiceCollectionResource

public class GuiServiceCollectionResource
extends AbstractGuiServiceResource

Resource to manage a guiservice on a specific parent id

Author:
m.gond

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
GuiServiceCollectionResource()
           
 
Method Summary
 void describeGet(org.restlet.ext.wadl.MethodInfo info)
           
 void describePost(org.restlet.ext.wadl.MethodInfo info)
           
 org.restlet.representation.Representation getGuiServices(org.restlet.representation.Variant variant)
          Get all the GuiServicePluginModel for a given dataset
 org.restlet.representation.Representation post(org.restlet.representation.Representation entity, org.restlet.representation.Variant variant)
           
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.dataset.services.AbstractGuiServiceResource
getGuiServicesUrl, getObjectGuiServicePluginModel
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiServiceCollectionResource

public GuiServiceCollectionResource()
Method Detail

sitoolsDescribe

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

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

getGuiServices

@Get
public org.restlet.representation.Representation getGuiServices(org.restlet.representation.Variant variant)
Get all the GuiServicePluginModel for a given dataset

Parameters:
variant - the variant needed
Returns:
the representation of the list of GuiServicePluginModel in the given variant

describeGet

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

post

@Post
public org.restlet.representation.Representation post(org.restlet.representation.Representation entity,
                                                           org.restlet.representation.Variant variant)
                                               throws org.restlet.resource.ResourceException
Throws:
org.restlet.resource.ResourceException

describePost

public final void describePost(org.restlet.ext.wadl.MethodInfo info)


Copyright © 2010-2013 CNES. All Rights Reserved.