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.shop.checkout
Class CheckoutControllerResult

java.lang.Object
  extended by org.torweg.pulse.component.shop.checkout.CheckoutControllerResult
All Implemented Interfaces:
java.io.Serializable

public class CheckoutControllerResult
extends java.lang.Object
implements java.io.Serializable

The CheckoutControllerResult.

Version:
$Revision: 1979 $
Author:
Christian Schatt
See Also:
Serialized Form

Constructor Summary
protected CheckoutControllerResult()
          Deprecated. 
  CheckoutControllerResult(CheckoutControllerConfiguration.CheckoutControllerLocaleConfiguration c, java.lang.String an, CheckoutControllerStatus s)
          Creates a new CheckoutControllerResult from the given CheckoutControllerLocaleConfiguration, action name and CheckoutControllerStatus.
  CheckoutControllerResult(CheckoutControllerConfiguration.CheckoutControllerLocaleConfiguration c, java.lang.String an, CheckoutControllerStatus s, Order.OrderBuilder ob)
          Creates a new CheckoutControllerResult from the given CheckoutControllerLocaleConfiguration, action name, CheckoutControllerStatus and OrderBuilder.
  CheckoutControllerResult(CheckoutControllerConfiguration.CheckoutControllerLocaleConfiguration c, java.lang.String an, CheckoutControllerStatus s, Order o)
          Creates a new CheckoutControllerResult from the given CheckoutControllerLocaleConfiguration, action name, CheckoutControllerStatus and Order.
 
Method Summary
 java.lang.String getActionName()
          Returns the action name.
 CheckoutControllerConfiguration.CheckoutControllerLocaleConfiguration getConfiguration()
          Returns the CheckoutControllerLocaleConfiguration.
 java.util.Set<DispatchConfiguration> getDispatchConfigurations()
          Returns an unmodifiable Set holding the available DispatchConfigurations.
 ExtendedFormResult getFormResult()
          Returns the ExtendedFormResult.
 Order getOrder()
          Returns the Order.
 Order.OrderBuilder getOrderBuilder()
          Returns the OrderBuilder.
 java.util.Set<PaymentConfiguration> getPaymentConfigurations()
          Returns an unmodifiable Set holding the available PaymentConfigurations.
 CheckoutControllerStatus getStatus()
          Returns the CheckoutControllerStatus.
 CheckoutControllerResult setDispatchConfigurations(java.util.Collection<? extends DispatchConfiguration> dc)
          Sets the available DispatchConfigurations.
 CheckoutControllerResult setFormResult(ExtendedFormResult fr)
          Sets the ExtendedFormResult.
 CheckoutControllerResult setPaymentConfigurations(java.util.Collection<? extends PaymentConfiguration> pc)
          Sets the available PaymentConfigurations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckoutControllerResult

@Deprecated
protected CheckoutControllerResult()
Deprecated. 

The no-argument constructor used by JAXB.


CheckoutControllerResult

public CheckoutControllerResult(CheckoutControllerConfiguration.CheckoutControllerLocaleConfiguration c,
                                java.lang.String an, CheckoutControllerStatus s)
Creates a new CheckoutControllerResult from the given CheckoutControllerLocaleConfiguration, action name and CheckoutControllerStatus.

Parameters:
c - the CheckoutControllerLocaleConfiguration.
an - the action name.
s - the CheckoutControllerStatus.
Throws:
java.lang.IllegalArgumentException - if the given CheckoutControllerLocaleConfiguration, action name or CheckoutControllerStatus is null.

CheckoutControllerResult

public CheckoutControllerResult(CheckoutControllerConfiguration.CheckoutControllerLocaleConfiguration c,
                                java.lang.String an, CheckoutControllerStatus s, Order.OrderBuilder ob)
Creates a new CheckoutControllerResult from the given CheckoutControllerLocaleConfiguration, action name, CheckoutControllerStatus and OrderBuilder.

Parameters:
c - the CheckoutControllerLocaleConfiguration.
an - the action name.
s - the CheckoutControllerStatus.
ob - the OrderBuilder.
Throws:
java.lang.IllegalArgumentException - if the given CheckoutControllerLocaleConfiguration, action name or CheckoutControllerStatus is null.

CheckoutControllerResult

public CheckoutControllerResult(CheckoutControllerConfiguration.CheckoutControllerLocaleConfiguration c,
                                java.lang.String an, CheckoutControllerStatus s, Order o)
Creates a new CheckoutControllerResult from the given CheckoutControllerLocaleConfiguration, action name, CheckoutControllerStatus and Order.

Parameters:
c - the CheckoutControllerLocaleConfiguration.
an - the action name.
s - the CheckoutControllerStatus.
o - the Order.
Throws:
java.lang.IllegalArgumentException - if the given CheckoutControllerLocaleConfiguration, action name or CheckoutControllerStatus is null.
Method Detail

getConfiguration

public final CheckoutControllerConfiguration.CheckoutControllerLocaleConfiguration getConfiguration()
Returns the CheckoutControllerLocaleConfiguration.

Returns:
the CheckoutControllerLocaleConfiguration.

getActionName

public final java.lang.String getActionName()
Returns the action name.

Returns:
the action name.

getStatus

public final CheckoutControllerStatus getStatus()
Returns the CheckoutControllerStatus.

Returns:
the CheckoutControllerStatus.

getOrderBuilder

public final Order.OrderBuilder getOrderBuilder()
Returns the OrderBuilder.

Returns:
the OrderBuilder.

getOrder

public final Order getOrder()
Returns the Order.

Returns:
the Order.

getFormResult

public final ExtendedFormResult getFormResult()
Returns the ExtendedFormResult.

Returns:
the ExtendedFormResult.

setFormResult

public final CheckoutControllerResult setFormResult(ExtendedFormResult fr)
Sets the ExtendedFormResult.

Parameters:
fr - the ExtendedFormResult to set.
Returns:
this.

getDispatchConfigurations

public final java.util.Set<DispatchConfiguration> getDispatchConfigurations()
Returns an unmodifiable Set holding the available DispatchConfigurations.

Returns:
the DispatchConfigurations.

setDispatchConfigurations

public final CheckoutControllerResult setDispatchConfigurations(java.util.Collection<? extends DispatchConfiguration> dc)
Sets the available DispatchConfigurations.

Parameters:
dc - the DispatchConfigurations to set.
Returns:
this.

getPaymentConfigurations

public final java.util.Set<PaymentConfiguration> getPaymentConfigurations()
Returns an unmodifiable Set holding the available PaymentConfigurations.

Returns:
the PaymentConfigurations.

setPaymentConfigurations

public final CheckoutControllerResult setPaymentConfigurations(java.util.Collection<? extends PaymentConfiguration> pc)
Sets the available PaymentConfigurations.

Parameters:
pc - the PaymentConfigurations to set.
Returns:
this.