fr.cnes.sitools.resources.order
Class OrderResourceFacade
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
- All Implemented Interfaces:
- IResource, IOrderResource
- Direct Known Subclasses:
- CartOrderResourceFacade
public class OrderResourceFacade
- extends SitoolsParameterizedResource
- implements IOrderResource
Facade for OrderResource
- Author:
- m.gond
Method Summary |
void |
describePost(org.restlet.ext.wadl.MethodInfo info)
Description WADL de la methode POST |
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()
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 |
OrderResourceFacade
public OrderResourceFacade()
sitoolsDescribe
public void sitoolsDescribe()
- Description de la ressource
- Overrides:
sitoolsDescribe
in class SitoolsParameterizedResource
describePost
public void describePost(org.restlet.ext.wadl.MethodInfo info)
- Description WADL de la methode POST
- Parameters:
info
- The method description to update.
orderPost
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
- Parameters:
represent
- the Representation
entityvariant
- The Variant
needed
- Returns:
- a representation
orderGet
public org.restlet.representation.Representation orderGet(org.restlet.representation.Variant variant)
- Create the order
- Specified by:
orderGet
in interface IOrderResource
- Parameters:
variant
- The Variant
needed
- Returns:
- a representation
processBody
public void processBody()
- process the body and save the request entity
Representation
Copyright © 2010-2013 CNES. All Rights Reserved.