fr.cnes.sitools.notification
Class ObservableResource

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.notification.NotificationAbstractResource
                  extended by fr.cnes.sitools.notification.ObservableResource

public final class ObservableResource
extends NotificationAbstractResource

Resource for managing observable declaration

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
ObservableResource()
           
 
Method Summary
 org.restlet.representation.Representation addObservable(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Add an observable to the list
 org.restlet.representation.Representation deleteObservable(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Delete an observable
 void describeDelete(org.restlet.ext.wadl.MethodInfo info, java.lang.String path)
           
 void describePost(org.restlet.ext.wadl.MethodInfo info, java.lang.String path)
           
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.notification.NotificationAbstractResource
getNotificationApplication, getObservableUUID, getObserverUUID
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, 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
 

Constructor Detail

ObservableResource

public ObservableResource()
Method Detail

sitoolsDescribe

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

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

addObservable

@Post
public org.restlet.representation.Representation addObservable(org.restlet.representation.Representation representation,
                                                                    org.restlet.representation.Variant variant)
Add an observable to the list

Parameters:
representation - the representation
variant - the variant
Returns:
Representation

describePost

public void describePost(org.restlet.ext.wadl.MethodInfo info,
                         java.lang.String path)

deleteObservable

@Delete
public org.restlet.representation.Representation deleteObservable(org.restlet.representation.Representation representation,
                                                                         org.restlet.representation.Variant variant)
Delete an observable

Parameters:
representation - the representation
variant - the variant
Returns:
Representation

describeDelete

public void describeDelete(org.restlet.ext.wadl.MethodInfo info,
                           java.lang.String path)


Copyright © 2010-2013 CNES. All Rights Reserved.