jbpm-form-modeler-request-dispatcher 6.0.0-SNAPSHOT

org.jbpm.formModeler.service.bb.mvc.controller
Interface CommandResponse

All Known Implementing Classes:
DoNothingResponse, ForwardResponse, RedirectToURLResponse, SendErrorResponse, SendStreamResponse, ShowCurrentScreenResponse, ShowScreenResponse

public interface CommandResponse

Interface to implement for all the response objects.


Method Summary
 boolean execute(CommandRequest cmdReq)
          Executes the response.
 

Method Detail

execute

boolean execute(CommandRequest cmdReq)
                throws Exception
Executes the response. It typically will be one of the response types that are provided in the org.jbpm.formModeler.service.mvc.controller.responses package.

Parameters:
cmdReq - Object encapsulating the request information.
Returns:
boolean if the execution has been successfully executed, false otherwise.
Throws:
Exception

jbpm-form-modeler-request-dispatcher 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.