se.vgregion.portal.pafweb
Class PafWebViewerController

java.lang.Object
  extended by se.vgregion.portal.pafweb.PafWebViewerController

@Controller
@RequestMapping(value="VIEW")
@SessionAttributes(value="patient")
public class PafWebViewerController
extends java.lang.Object

This action do that and that, if it has something special it is.

Author:
David Rosell

Field Summary
static java.lang.String JUMPOUT_JSP
          jsp name.
static java.lang.String VIEW_JSP
          jsp name.
 
Constructor Summary
PafWebViewerController()
           
 
Method Summary
 void changeListner(javax.portlet.EventRequest request, javax.portlet.EventResponse response, org.springframework.ui.ModelMap model)
          Listen for the patient context change event.
 java.lang.String jumpout(javax.portlet.RenderRequest request, org.springframework.ui.ModelMap model)
          Jumpout screen for the PafWeb web application.
 void resetListner(org.springframework.ui.ModelMap model)
          Listen for the patient context reset event.
 java.lang.String view(org.springframework.ui.ModelMap model)
          First splash screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_JSP

public static final java.lang.String VIEW_JSP
jsp name.

See Also:
Constant Field Values

JUMPOUT_JSP

public static final java.lang.String JUMPOUT_JSP
jsp name.

See Also:
Constant Field Values
Constructor Detail

PafWebViewerController

public PafWebViewerController()
Method Detail

view

@RenderMapping
public java.lang.String view(org.springframework.ui.ModelMap model)
First splash screen.

Parameters:
model - Model map
Returns:
view path

jumpout

@RenderMapping(params="render=jumpout")
public java.lang.String jumpout(javax.portlet.RenderRequest request,
                                              org.springframework.ui.ModelMap model)
Jumpout screen for the PafWeb web application.

Parameters:
request - to access current user
model - Model map
Returns:
jumpout screen path

changeListner

@EventMapping(value="{http://vgregion.se/patientcontext/events}pctx.change")
public void changeListner(javax.portlet.EventRequest request,
                                       javax.portlet.EventResponse response,
                                       org.springframework.ui.ModelMap model)
Listen for the patient context change event.

Parameters:
request - EventRequest event
response - Event response to redirect flow
model - Model map to communicate

resetListner

@EventMapping(value="{http://vgregion.se/patientcontext/events}pctx.reset")
public void resetListner(org.springframework.ui.ModelMap model)
Listen for the patient context reset event.

Parameters:
model - clean Model map


Copyright © 2010. All Rights Reserved.