org.ibisph.mvc.controller.indicator
Class RelatedIndicators
java.lang.Object
org.ibisph.mvc.controller.AbstractModelAndView
org.ibisph.mvc.controller.XMLModelAndDate
org.ibisph.mvc.controller.SystemIDFromEndOfPathInfoXMLModelAndDate
org.ibisph.mvc.controller.indicator.RelatedIndicators
- All Implemented Interfaces:
- org.springframework.web.servlet.mvc.Controller
public class RelatedIndicators
- extends SystemIDFromEndOfPathInfoXMLModelAndDate
Specialized XMLSystemIDFromEndOfURLPath controller that handles the
selected IP Relation. This controller simply gets the RelationName
HTTP request parameter and puts it into the model so that the
indicator profile relation view can display the correct set of related
indicators.
- Author:
- Garth Braithwaite, STG
|
Method Summary |
protected java.util.Map |
getModelMap(javax.servlet.http.HttpServletRequest request)
Overrides the getModelMap method so that the "relation" parameter can be
inserted into the model map's parameters map. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultRelationName
protected java.lang.String defaultRelationName
relationNameParameterMapName
protected java.lang.String relationNameParameterMapName
RelatedIndicators
public RelatedIndicators()
RelatedIndicators
public RelatedIndicators(java.lang.String xmlPath,
org.springframework.web.servlet.View view)
getModelMap
protected java.util.Map getModelMap(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
- Overrides the getModelMap method so that the "relation" parameter can be
inserted into the model map's parameters map. This simply gets the
RelationName HTTP request parameter and puts it into the
model's parameter map so that the indicator profile relation view XSLT
can display the correct set of related indicators.
- Overrides:
getModelMap in class XMLModelAndDate
- Parameters:
request - Provides access to the HTTP request which the XML System ID
is typically retrieved from.
- Returns:
- Standard Spring framework model (with XML and parameters map model).
- Throws:
java.lang.Exception