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
Class CMSFormProcessor

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.cms.CMSFormProcessor
All Implemented Interfaces:
Configurable<CMSFormProcessorConfiguration>

public class CMSFormProcessor
extends Controller
implements Configurable<CMSFormProcessorConfiguration>

Does form-processing for forms built-in in CMSContents.

Version:
$Revision: 2058 $
Author:
Daniel Dietz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
CMSFormProcessor()
           
 
Method Summary
 void initialize(CMSFormProcessorConfiguration conf)
           
 java.lang.Object processForm(Bundle bundle, ServiceRequest request)
          processes the request.
 
Methods inherited from class org.torweg.pulse.bundle.Controller
getAlwaysRun, isAlwaysRun, setAlwaysRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSFormProcessor

public CMSFormProcessor()
Method Detail

processForm

@Action(value="processForm", security=KEEP)
@Permission(value="processForm")
public final java.lang.Object processForm(Bundle bundle, ServiceRequest request)
processes the request.

On successful processing of the form the configured ICMSFormProcessorTask will be executed.

Parameters:
bundle - the bundle
request - the current request
Returns:
the result of the checks

initialize

public final void initialize(CMSFormProcessorConfiguration conf)
Specified by:
initialize in interface Configurable<CMSFormProcessorConfiguration>
Parameters:
conf - the configuration