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 CheckoutController.DispatchAndPaymentConfigurations

java.lang.Object
  extended by org.torweg.pulse.component.shop.checkout.CheckoutController.DispatchAndPaymentConfigurations
Enclosing class:
CheckoutController

protected static class CheckoutController.DispatchAndPaymentConfigurations
extends java.lang.Object

A wrapper class, that is used as a method return type, and that is holding DispatchConfigurations and PaymentConfigurations.


Constructor Summary
protected CheckoutController.DispatchAndPaymentConfigurations()
          The no-argument constructor.
 
Method Summary
 DispatchConfiguration getDispatchConfiguration(java.lang.String idc)
          Returns the DispatchConfiguration with the given id code.
 java.util.Set<DispatchConfiguration> getDispatchConfigurations()
          Returns an unmodifiable Set holding the DispatchConfigurations.
 PaymentConfiguration getPaymentConfiguration(java.lang.String idc)
          Returns the PaymentConfiguration with the given id code.
 java.util.Set<PaymentConfiguration> getPaymentConfigurations()
          Returns an unmodifiable Set holding the PaymentConfigurations.
 void setDispatchConfigurations(java.util.Collection<? extends DispatchConfiguration> dc)
          Sets the DispatchConfigurations.
 void setPaymentConfigurations(java.util.Collection<? extends PaymentConfiguration> pc)
          Sets the PaymentConfigurations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckoutController.DispatchAndPaymentConfigurations

protected CheckoutController.DispatchAndPaymentConfigurations()
The no-argument constructor.

Method Detail

getDispatchConfigurations

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

Returns:
the DispatchConfigurations.

setDispatchConfigurations

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

Parameters:
dc - the DispatchConfigurations to set.
Throws:
java.lang.IllegalArgumentException - if the given Collection of DispatchConfigurations is null.

getDispatchConfiguration

public final DispatchConfiguration getDispatchConfiguration(java.lang.String idc)
Returns the DispatchConfiguration with the given id code.

Parameters:
idc - the id code.
Returns:
the DispatchConfiguration.
Throws:
java.lang.IllegalArgumentException - if the given id code is null.

getPaymentConfigurations

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

Returns:
the PaymentConfigurations.

setPaymentConfigurations

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

Parameters:
pc - the PaymentConfigurations to set.
Throws:
java.lang.IllegalArgumentException - if the given Collection of PaymentConfigurations is null.

getPaymentConfiguration

public final PaymentConfiguration getPaymentConfiguration(java.lang.String idc)
Returns the PaymentConfiguration with the given id code.

Parameters:
idc - the id code.
Returns:
the PaymentConfiguration.
Throws:
java.lang.IllegalArgumentException - if the given id code is null.