| java.lang.Object olstore.controller.ViewItemController
ViewItemController | public class ViewItemController implements Controller(Code) | | A controller used for when an individual item is viewed.
|
Method Summary | |
public ModelAndView | handleRequest(HttpServletRequest request, HttpServletResponse response) Handle the request to display a single item in the store.
Parameters: request - the HttpServletRequest. Parameters: response - the HttpServletResponse. | public void | setOlstore(OlstoreFacade olstore) The Spring injection method for setting the olstore bean instance. |
handleRequest | public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Handle the request to display a single item in the store.
Parameters: request - the HttpServletRequest. Parameters: response - the HttpServletResponse. a new model and view to to display this item |
setOlstore | public void setOlstore(OlstoreFacade olstore)(Code) | | The Spring injection method for setting the olstore bean instance.
Parameters: olstore - the bean instance. |
|
|