fr.cnes.sitools.plugins.applications
Class ApplicationPluginListingResource

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.common.AbstractPluginResource
                  extended by fr.cnes.sitools.plugins.applications.AbstractApplicationPluginCommonResource
                      extended by fr.cnes.sitools.plugins.applications.ApplicationPluginListingResource

public final class ApplicationPluginListingResource
extends AbstractApplicationPluginCommonResource

Represent the details of a given Application

Author:
AKKA Technologies

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
ApplicationPluginListingResource()
           
 
Method Summary
 void doInit()
          Initiate the resource
 org.restlet.representation.Representation getApplication(org.restlet.representation.Variant variant)
          Return a representation of an application plug-in
 org.restlet.representation.Representation getRepresentation(Response response, org.restlet.data.MediaType media)
          Response to Representation
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.plugins.applications.AbstractApplicationPluginCommonResource
checkValidity, getApplicationModelDTO
 
Methods inherited from class fr.cnes.sitools.common.AbstractPluginResource
checkValidity, configure, fromListToMap
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, 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

ApplicationPluginListingResource

public ApplicationPluginListingResource()
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


getApplication

@Get
public org.restlet.representation.Representation getApplication(org.restlet.representation.Variant variant)
Return a representation of an application plug-in

Parameters:
variant - the variant needed
Returns:
the representation of a Application

getRepresentation

public org.restlet.representation.Representation getRepresentation(Response response,
                                                                   org.restlet.data.MediaType media)
Response to Representation

Overrides:
getRepresentation in class AbstractApplicationPluginCommonResource
Parameters:
response - the response to be transformed
media - the media type (json/xml)
Returns:
Representation the representation of the response


Copyright © 2010-2013 CNES. All Rights Reserved.