pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.cms
Interface ICMSFormProcessorTask

All Known Implementing Classes:
CMSFormProcessorMailTask

public interface ICMSFormProcessorTask

Defines a task which is to be executed on successful validation of the form by CMSFormProcessor.

Version:
$Revision: 2006 $
Author:
Daniel Dietz
See Also:
CMSFormProcessor

Method Summary
 CMSFormProcessorTaskResult execute(Bundle bundle, ServiceRequest request)
          This method is called upon successful form-processing by the CMSFormProcessor.
 boolean isStopTask(ServiceRequest request)
          Indicates whether the CMSFormProcessor is to stop any further processing and simply return the result after execution of the task.
 

Method Detail

execute

CMSFormProcessorTaskResult execute(Bundle bundle, ServiceRequest request)
This method is called upon successful form-processing by the CMSFormProcessor.

Parameters:
bundle - the Bundle
request - the ServiceRequest
Returns:
a CMSFormProcessorTaskResult
See Also:
CMSFormProcessor.processForm(org.torweg.pulse.bundle.Bundle, org.torweg.pulse.service.request.ServiceRequest)

isStopTask

boolean isStopTask(ServiceRequest request)
Indicates whether the CMSFormProcessor is to stop any further processing and simply return the result after execution of the task.

Parameters:
request - the current ServiceRequest if required for further evaluation
Returns:
true if the CMSFormProcessor is to stop any further processing and simply return the result after execution of the task, false otherwise