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 CMSFormProcessorMailTaskResult

java.lang.Object
  extended by org.torweg.pulse.component.cms.CMSFormProcessorTaskResult
      extended by org.torweg.pulse.component.cms.CMSFormProcessorMailTaskResult

public class CMSFormProcessorMailTaskResult
extends CMSFormProcessorTaskResult

The result of the CMSFormProcessorMailTask.

Version:
$Revision: 1464 $
Author:
Daniel Dietz

Constructor Summary
protected CMSFormProcessorMailTaskResult()
          Deprecated. 
  CMSFormProcessorMailTaskResult(AbstractCMSFormProcessorMailTaskEmailData<?> data)
          Creates a new CMSFormProcessorMailTaskResult with the given AbstractCMSFormProcessorMailTaskEmailData and the default success.
  CMSFormProcessorMailTaskResult(AbstractCMSFormProcessorMailTaskEmailData<?> data, boolean suc)
          Creates a new CMSFormProcessorMailTaskResult with the given AbstractCMSFormProcessorMailTaskEmailData and the given success.
  CMSFormProcessorMailTaskResult(boolean suc)
          Creates a new CMSFormProcessorMailTaskResult with the given success.
  CMSFormProcessorMailTaskResult(java.lang.Throwable t)
          Creates a new CMSFormProcessorMailTaskResult representing an error result with the given Throwable and the default success.
 
Method Summary
 AbstractCMSFormProcessorMailTaskEmailData<?> getData()
          Returns the AbstractCMSFormProcessorMailTaskEmailData of the CMSFormProcessorMailTaskResult.
 void setData(AbstractCMSFormProcessorMailTaskEmailData<?> data)
          Sets the given AbstractCMSFormProcessorMailTaskEmailData for the CMSFormProcessorMailTaskResult.
 
Methods inherited from class org.torweg.pulse.component.cms.CMSFormProcessorTaskResult
isSuccess, setSuccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSFormProcessorMailTaskResult

@Deprecated
protected CMSFormProcessorMailTaskResult()
Deprecated. 

Default constructor.


CMSFormProcessorMailTaskResult

public CMSFormProcessorMailTaskResult(boolean suc)
Creates a new CMSFormProcessorMailTaskResult with the given success.

Parameters:
suc - the value to set for success

CMSFormProcessorMailTaskResult

public CMSFormProcessorMailTaskResult(AbstractCMSFormProcessorMailTaskEmailData<?> data)
Creates a new CMSFormProcessorMailTaskResult with the given AbstractCMSFormProcessorMailTaskEmailData and the default success.

Parameters:
data - the underlying AbstractCMSFormProcessorMailTaskEmailData

CMSFormProcessorMailTaskResult

public CMSFormProcessorMailTaskResult(AbstractCMSFormProcessorMailTaskEmailData<?> data,
                                      boolean suc)
Creates a new CMSFormProcessorMailTaskResult with the given AbstractCMSFormProcessorMailTaskEmailData and the given success.

Parameters:
data - the underlying AbstractCMSFormProcessorMailTaskEmailData
suc - the value to set for success

CMSFormProcessorMailTaskResult

public CMSFormProcessorMailTaskResult(java.lang.Throwable t)
Creates a new CMSFormProcessorMailTaskResult representing an error result with the given Throwable and the default success.

Parameters:
t - the Throwable
Method Detail

getData

public final AbstractCMSFormProcessorMailTaskEmailData<?> getData()
Returns the AbstractCMSFormProcessorMailTaskEmailData of the CMSFormProcessorMailTaskResult.

Returns:
the AbstractCMSFormProcessorMailTaskEmailData

setData

public final void setData(AbstractCMSFormProcessorMailTaskEmailData<?> data)
Sets the given AbstractCMSFormProcessorMailTaskEmailData for the CMSFormProcessorMailTaskResult.

Parameters:
data - the AbstractCMSFormProcessorMailTaskEmailData to set
Throws:
java.lang.NullPointerException - if the given data is null