fr.cnes.sitools.resources.programs
Class SitoolsAnalogService

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.resource.SitoolsParameterizedResource
                  extended by fr.cnes.sitools.resources.programs.SitoolsAnalogService
All Implemented Interfaces:
IResource

public class SitoolsAnalogService
extends SitoolsParameterizedResource

Sitools analysis log service with Analog

Author:
m.marseille (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
SitoolsAnalogService()
           
 
Method Summary
 void describePut(org.restlet.ext.wadl.MethodInfo info)
           
 void doInit()
          Initiate the resource To initialize shared instance of objects between resources, get the component Context from the Settings and put the object in the Context ((SitoolsSettings)getContext().getAttributes().get(ContextAttributes.SETTINGS)).getComponent() .getContext().getAttributes().put(SOME KEY, SOME OBJECT)
 org.restlet.representation.Representation generateReport(org.restlet.representation.Representation entity, org.restlet.representation.Variant variant)
          reportRepresentation method
 org.restlet.representation.Representation get()
           
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.common.resource.SitoolsParameterizedResource
addStandardResponseInfo, getId, getModel, getOverrideParameterValue, getOverrideParameterValueObject, getOverrideParams, getParameterValue, getParent, setId, setModel, setParent
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, 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
 
Methods inherited from interface fr.cnes.sitools.common.model.IResource
getDescription, getName
 

Constructor Detail

SitoolsAnalogService

public SitoolsAnalogService()
Method Detail

sitoolsDescribe

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

Overrides:
sitoolsDescribe in class SitoolsParameterizedResource

doInit

public void doInit()
Description copied from class: SitoolsParameterizedResource
Initiate the resource To initialize shared instance of objects between resources, get the component Context from the Settings and put the object in the Context ((SitoolsSettings)getContext().getAttributes().get(ContextAttributes.SETTINGS)).getComponent() .getContext().getAttributes().put(SOME KEY, SOME OBJECT)

Overrides:
doInit in class SitoolsParameterizedResource

get

@Get
public org.restlet.representation.Representation get()

generateReport

@Put
public org.restlet.representation.Representation generateReport(org.restlet.representation.Representation entity,
                                                                    org.restlet.representation.Variant variant)
reportRepresentation method

Parameters:
entity - no Representation needed for that Method
variant - the Variant needed in return
Returns:
A Representation of a Response indicating whether or not the report was generated

describePut

public void describePut(org.restlet.ext.wadl.MethodInfo info)


Copyright © 2010-2013 CNES. All Rights Reserved.