fr.cnes.sitools.resources.order.cart.common
Class CartOrderResourceFacade
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.common.resource.SitoolsParameterizedResource
fr.cnes.sitools.resources.order.OrderResourceFacade
fr.cnes.sitools.resources.order.cart.common.CartOrderResourceFacade
- All Implemented Interfaces:
- IResource, IOrderResource
public class CartOrderResourceFacade
- extends OrderResourceFacade
Facade for OrderResource
- Author:
- m.gond
Method Summary |
void |
describePost(org.restlet.ext.wadl.MethodInfo info)
Description WADL de la methode POST |
CartSelections |
getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
|
org.restlet.representation.Representation |
orderGet(org.restlet.representation.Variant variant)
Create the order |
org.restlet.representation.Representation |
orderPost(org.restlet.representation.Representation represent,
org.restlet.representation.Variant variant)
Create the order |
void |
processBody(org.restlet.representation.Variant variant)
process the body and save the request entity Representation |
void |
sitoolsDescribe()
Description de la ressource |
Methods inherited from class fr.cnes.sitools.common.resource.SitoolsParameterizedResource |
addStandardResponseInfo, doInit, 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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CartOrderResourceFacade
public CartOrderResourceFacade()
sitoolsDescribe
public void sitoolsDescribe()
- Description de la ressource
- Overrides:
sitoolsDescribe
in class OrderResourceFacade
describePost
public void describePost(org.restlet.ext.wadl.MethodInfo info)
- Description WADL de la methode POST
- Overrides:
describePost
in class OrderResourceFacade
- Parameters:
info
- The method description to update.
orderPost
@Post
public org.restlet.representation.Representation orderPost(org.restlet.representation.Representation represent,
org.restlet.representation.Variant variant)
- Create the order
- Specified by:
orderPost
in interface IOrderResource
- Overrides:
orderPost
in class OrderResourceFacade
- Parameters:
represent
- the Representation
entityvariant
- The Variant
needed
- Returns:
- a representation
orderGet
@Get
public org.restlet.representation.Representation orderGet(org.restlet.representation.Variant variant)
- Create the order
- Specified by:
orderGet
in interface IOrderResource
- Overrides:
orderGet
in class OrderResourceFacade
- Parameters:
variant
- The Variant
needed
- Returns:
- a representation
processBody
public void processBody(org.restlet.representation.Variant variant)
- process the body and save the request entity
Representation
getObject
public final CartSelections getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Copyright © 2010-2013 CNES. All Rights Reserved.