|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.order.AbstractOrderResource
public abstract class AbstractOrderResource
Abstract order resource
| Field Summary |
|---|
| Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
|---|
DEFAULT_MEDIATYPE |
| Constructor Summary | |
|---|---|
AbstractOrderResource()
|
|
| Method Summary | |
|---|---|
void |
doInit()
Initiate the resource |
java.lang.String |
getActionId()
Get the action identifier for resource treatments |
Event |
getEvent(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Get the event using representation and variant |
Order |
getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Get the order using representation and variant |
java.lang.String |
getOrderId()
Get the order identifier for resource treatments |
org.restlet.representation.Representation |
getRepresentation(Response response,
org.restlet.data.MediaType media)
Gets representation according to the specified mediaType. |
SitoolsStore<Order> |
getStore()
Get the store attached to the application |
java.lang.String |
getUserId()
Get the order identifier for resource treatments |
void |
setUserId(java.lang.String uid)
Set the order identifier for resource treatments |
| Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource |
|---|
getMediaType, sitoolsDescribe |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractOrderResource()
| Method Detail |
|---|
public void doInit()
SitoolsResource
public final org.restlet.representation.Representation getRepresentation(Response response,
org.restlet.data.MediaType media)
getRepresentation in class SitoolsResourceresponse - the response to treatmedia - the media to deal with
public final Order getObject(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
representation - the representation to usevariant - the variant to use
public final Event getEvent(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
representation - the representation to usevariant - the variant to use
public final SitoolsStore<Order> getStore()
public final java.lang.String getOrderId()
public final java.lang.String getUserId()
public final void setUserId(java.lang.String uid)
uid - the user identifier to setpublic final java.lang.String getActionId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||