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 CMSFormMailer

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.cms.CMSFormMailer
All Implemented Interfaces:
DeprecatedConfigurable

public class CMSFormMailer
extends Controller
implements DeprecatedConfigurable

is a Controller to convert an HTML form to an e-mail.

TODO

Version:
$Revision: 2058 $
Author:
Thomas Weber

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
CMSFormMailer()
           
 
Method Summary
 void init(ConfigBean conf)
          used to initialise the bundle from its configuration.
 CMSContentDisplayerResult sendMail(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

CMSFormMailer

public CMSFormMailer()
Method Detail

sendMail

@Action(value="sendMail")
@Permission(value="sendMail")
public final CMSContentDisplayerResult sendMail(ServiceRequest request)
processes the request.

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

init

public void init(ConfigBean conf)
Description copied from interface: DeprecatedConfigurable
used to initialise the bundle from its configuration.

Specified by:
init in interface DeprecatedConfigurable
Parameters:
conf - the configuration
See Also:
DeprecatedConfigurable.init(org.torweg.pulse.configuration.ConfigBean)