fr.cnes.sitools.order
Class OrderCollectionResource
java.lang.Object
  
ExtendedWadlServerResource
      
fr.cnes.sitools.common.resource.AbstractSitoolsResource
          
fr.cnes.sitools.common.SitoolsResource
              
fr.cnes.sitools.order.AbstractOrderResource
                  
fr.cnes.sitools.order.OrderCollectionResource
public final class OrderCollectionResource
- extends AbstractOrderResource
 
Class Resource for managing Order Collection (GET, POST)
- Author:
 
  - jp.boignard (AKKA Technologies)
 
 
 
 
| 
Method Summary | 
 void | 
describeGet(org.restlet.ext.wadl.MethodInfo info,
            java.lang.String path)
 
            | 
 void | 
describePost(org.restlet.ext.wadl.MethodInfo info)
 
            | 
 org.restlet.representation.Representation | 
newOrder(org.restlet.representation.Representation representation,
         org.restlet.representation.Variant variant)
 
          Update / Validate existing order | 
 org.restlet.representation.Representation | 
retrieveOrder(org.restlet.representation.Variant variant)
 
          get all orders | 
 void | 
sitoolsDescribe()
 
          Method implementation mandatory | 
 
 
| 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 java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OrderCollectionResource
public OrderCollectionResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class: 
AbstractSitoolsResource 
- Method implementation mandatory
- Specified by:
 sitoolsDescribe in class AbstractSitoolsResource
 
 
 
newOrder
@Post
public org.restlet.representation.Representation newOrder(org.restlet.representation.Representation representation,
                                                               org.restlet.representation.Variant variant)
- Update / Validate existing order
- Parameters:
 representation - Order representationvariant - client preferred media type
- Returns:
 - Representation
 
 
 
describePost
public void describePost(org.restlet.ext.wadl.MethodInfo info)
 
retrieveOrder
@Get
public org.restlet.representation.Representation retrieveOrder(org.restlet.representation.Variant variant)
- get all orders
- Parameters:
 variant - client preferred media type
- Returns:
 - Representation
 
 
 
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info,
                        java.lang.String path)
 
Copyright © 2010-2013 CNES. All Rights Reserved.