lumis.lptf.portal.serviceinterface
Class ActionRequestCycle

Package class diagram package ActionRequestCycle
java.lang.Object
  extended by lumis.lptf.portal.serviceinterface.RequestCycle
      extended by lumis.lptf.portal.serviceinterface.ActionRequestCycle
All Implemented Interfaces:
IActionRequestCycle, IRequestCycle

public class ActionRequestCycle
extends RequestCycle
implements IActionRequestCycle

Represents the action request cycle - containing mocks for request and response and process actions.

Since:
5.6.0

Field Summary
 
Fields inherited from class lumis.lptf.portal.serviceinterface.RequestCycle
serviceInterface
 
Constructor Summary
ActionRequestCycle()
           
 
Method Summary
 IMockServiceInterfaceActionRequest getRequest()
          Return the request used when processing this request cycle.
 IMockServiceInterfaceActionResponse getResponse()
          Return the response used when processing this request cycle.
 void processAction()
          Call the processAction method of a service interface using this cycle's request and response objects.
 
Methods inherited from class lumis.lptf.portal.serviceinterface.RequestCycle
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionRequestCycle

public ActionRequestCycle()
Method Detail

getRequest

public IMockServiceInterfaceActionRequest getRequest()
Description copied from class: RequestCycle
Return the request used when processing this request cycle.

Specified by:
getRequest in interface IActionRequestCycle
Specified by:
getRequest in interface IRequestCycle
Specified by:
getRequest in class RequestCycle
Returns:
this cycle's request.

getResponse

public IMockServiceInterfaceActionResponse getResponse()
Description copied from class: RequestCycle
Return the response used when processing this request cycle.

Specified by:
getResponse in interface IActionRequestCycle
Specified by:
getResponse in interface IRequestCycle
Specified by:
getResponse in class RequestCycle
Returns:
this cycle's response.

processAction

public void processAction()
                   throws PortalException
Description copied from interface: IActionRequestCycle
Call the processAction method of a service interface using this cycle's request and response objects.

Specified by:
processAction in interface IActionRequestCycle
Throws:
PortalException - if the processAction method throws it.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.