CarController Class Reference

Inherits er::rest::routes::ERXRouteController.

Collaboration diagram for CarController:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CarController (WORequest request)
WOActionResults indexAction () throws Throwable
WOActionResults showAction (@PathParam("car") Car car) throws Throwable

Protected Member Functions

ERXKeyFilter showFilter ()


Detailed Description

CarController is the controller for Cars, which is a non-EO class. This works because there is a CarRestDelegate class that is magically loaded by name. See the Application constructor for more details.

Author:
mschrag

Constructor & Destructor Documentation

CarController ( WORequest  request  ) 


Member Function Documentation

WOActionResults indexAction (  )  throws Throwable

WOActionResults showAction ( @PathParam("car") Car  car  )  throws Throwable

showAction is using the JSR-311 annotation , which will automatically have the "car" variable passed in as the parameter (from the URL of the form /Car/{car}). The variable names are determined by your routes. The default routes add a bunch of common forms for you. See ERXRouteRequestHandler for more information on which default routes are added.

Parameters:
car 
Returns:
Exceptions:
Throwable 

ERXKeyFilter showFilter (  )  [protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:30 2012 for Project Wonder by  doxygen 1.5.8