edu.uoc.pfc.j2ee.jalonsod.mtp.helper
Interface ViewMapper

All Known Implementing Classes:
ViewMapperImpl

public interface ViewMapper

File: ViewMapper.java Created: 2012-04-28 Interface of view mapper. User supplied view mappers must implement this interface.

Author:
José Alonso de Motta

Method Summary
 void setRequestView(RequestDataPrivate requestData)
          Sets into the requestData the view object [setView()] and optionally the result object [setResult()].
 

Method Detail

setRequestView

void setRequestView(RequestDataPrivate requestData)
                    throws MTPException
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.

Parameters:
requestData - the MTP requestData of the current request.
Throws:
MTPException - throws when there is any problem setting the view and the result.