edu.uoc.pfc.j2ee.jalonsod.mtp.helper
Class ViewMapperImpl

java.lang.Object
  extended by edu.uoc.pfc.j2ee.jalonsod.mtp.helper.ViewMapperImpl
All Implemented Interfaces:
ViewMapper

public class ViewMapperImpl
extends java.lang.Object
implements ViewMapper

File: ViewMapperImpl.java Created: 2012-04-28 ViewMapper implementation from the framework. Map algorithm is based on the authorization, validation and response returned by the model.

Author:
José Alonso de Motta

Field Summary
private static java.util.logging.Logger logger
           
 
Constructor Summary
ViewMapperImpl()
           
 
Method Summary
 void setRequestView(RequestDataPrivate requestData)
          Sets into the requestData the view object [setView()] and optionally the result object [setResult()].
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final java.util.logging.Logger logger
Constructor Detail

ViewMapperImpl

public ViewMapperImpl()
Method Detail

setRequestView

public void setRequestView(RequestDataPrivate requestData)
                    throws MTPException
Description copied from interface: ViewMapper
Sets into the requestData the view object [setView()] and optionally the result object [setResult()]. After the execution, the view and optionally the result attributes of the requestData object have been set.

Specified by:
setRequestView in interface ViewMapper
Parameters:
requestData - the MTP requestData of the current request.
Throws:
MTPException - throws when there is any problem setting the view and the result.