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
Enum CheckoutControllerStatus

java.lang.Object
  extended by java.lang.Enum<CheckoutControllerStatus>
      extended by org.torweg.pulse.component.shop.checkout.CheckoutControllerStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CheckoutControllerStatus>

public enum CheckoutControllerStatus
extends java.lang.Enum<CheckoutControllerStatus>

The CheckoutControllerStatus.

Version:
$Revision: 1979 $
Author:
Christian Schatt

Enum Constant Summary
DISPATCH_TYPE_NOT_AVAILABLE
          The selected DispatchType is not available.
DISPATCH_TYPE_NOT_COMBINABLE_WITH_PAYMENT_METHOD
          The selected DispatchType is not combinable with the OrderBuilder's PaymentMethod.
FORM_ERROR
          A form parsing error has occurred.
NO_DISPATCH_TYPE_OR_PAYMENT_METHOD
          There is no DispatchType and/or no PaymentMethod available.
NO_DISPATCH_TYPE_SELECTED
          No DispatchType has been selected to be set.
NO_PAYMENT_METHOD_SELECTED
          No PaymentMethod has been selected to be set.
OK
          Everything is fine.
ORDER_BUILDER_INCOMPLETE
          The OrderBuilder's data has not yet been completely set.
ORDER_BUILDER_NULL_OR_INVALID
          The OrderBuilder is either null, or its OrderStatus is invalid.
ORDER_ID_INVALID
          The Order id in the session is invalid.
ORDER_ID_PARAM_INVALID
          The given Order id parameter is invalid.
PAYMENT_DATA_NULL_OR_INVALID
          The PaymentData is either null or invalid.
PAYMENT_METHOD_NOT_AVAILABLE
          The selected PaymentMethod is not available.
PAYMENT_METHOD_NOT_COMBINABLE_WITH_DISPATCH_TYPE
          The selected PaymentMethod is not combinable with the OrderBuilder's DispatchType.
SHOPPING_CART_NULL_OR_EMPTY
          The ShoppingCart is either null, or empty.
TOTAL_PRICE_OUT_OF_BOUNDS
          The total price of the OrderBuilder is out of bounds.
USER_INVALID
          The current User's id does not match the Customer's user id.
USER_NOT_LOGGED_IN
          The user is not logged in.
 
Method Summary
static CheckoutControllerStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CheckoutControllerStatus[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DISPATCH_TYPE_NOT_AVAILABLE

public static final CheckoutControllerStatus DISPATCH_TYPE_NOT_AVAILABLE
The selected DispatchType is not available.


DISPATCH_TYPE_NOT_COMBINABLE_WITH_PAYMENT_METHOD

public static final CheckoutControllerStatus DISPATCH_TYPE_NOT_COMBINABLE_WITH_PAYMENT_METHOD
The selected DispatchType is not combinable with the OrderBuilder's PaymentMethod.


FORM_ERROR

public static final CheckoutControllerStatus FORM_ERROR
A form parsing error has occurred.


NO_DISPATCH_TYPE_OR_PAYMENT_METHOD

public static final CheckoutControllerStatus NO_DISPATCH_TYPE_OR_PAYMENT_METHOD
There is no DispatchType and/or no PaymentMethod available.


NO_DISPATCH_TYPE_SELECTED

public static final CheckoutControllerStatus NO_DISPATCH_TYPE_SELECTED
No DispatchType has been selected to be set.


NO_PAYMENT_METHOD_SELECTED

public static final CheckoutControllerStatus NO_PAYMENT_METHOD_SELECTED
No PaymentMethod has been selected to be set.


OK

public static final CheckoutControllerStatus OK
Everything is fine.


ORDER_BUILDER_INCOMPLETE

public static final CheckoutControllerStatus ORDER_BUILDER_INCOMPLETE
The OrderBuilder's data has not yet been completely set.


ORDER_BUILDER_NULL_OR_INVALID

public static final CheckoutControllerStatus ORDER_BUILDER_NULL_OR_INVALID
The OrderBuilder is either null, or its OrderStatus is invalid.


ORDER_ID_INVALID

public static final CheckoutControllerStatus ORDER_ID_INVALID
The Order id in the session is invalid.


ORDER_ID_PARAM_INVALID

public static final CheckoutControllerStatus ORDER_ID_PARAM_INVALID
The given Order id parameter is invalid.


TOTAL_PRICE_OUT_OF_BOUNDS

public static final CheckoutControllerStatus TOTAL_PRICE_OUT_OF_BOUNDS
The total price of the OrderBuilder is out of bounds.


PAYMENT_DATA_NULL_OR_INVALID

public static final CheckoutControllerStatus PAYMENT_DATA_NULL_OR_INVALID
The PaymentData is either null or invalid.


PAYMENT_METHOD_NOT_AVAILABLE

public static final CheckoutControllerStatus PAYMENT_METHOD_NOT_AVAILABLE
The selected PaymentMethod is not available.


PAYMENT_METHOD_NOT_COMBINABLE_WITH_DISPATCH_TYPE

public static final CheckoutControllerStatus PAYMENT_METHOD_NOT_COMBINABLE_WITH_DISPATCH_TYPE
The selected PaymentMethod is not combinable with the OrderBuilder's DispatchType.


SHOPPING_CART_NULL_OR_EMPTY

public static final CheckoutControllerStatus SHOPPING_CART_NULL_OR_EMPTY
The ShoppingCart is either null, or empty.


USER_NOT_LOGGED_IN

public static final CheckoutControllerStatus USER_NOT_LOGGED_IN
The user is not logged in.


USER_INVALID

public static final CheckoutControllerStatus USER_INVALID
The current User's id does not match the Customer's user id.

Method Detail

values

public static final CheckoutControllerStatus[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CheckoutControllerStatus c : CheckoutControllerStatus.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static CheckoutControllerStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name