atg.projects.store.order.purchase
Class CheckoutProgressStates

java.lang.Object
  extended by atg.projects.store.order.purchase.CheckoutProgressStates

public class CheckoutProgressStates
extends java.lang.Object

Contains available checkout milestones and current checkout progress level.


Nested Class Summary
static class CheckoutProgressStates.DEFAULT_STATES
           
 
Field Summary
static java.lang.String CLASS_VERSION
          Class version
 
Constructor Summary
CheckoutProgressStates()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Integer> getCheckoutProgressLevels()
          checoutProgressLevels property contains checkout milestones available for user.
 java.lang.String getCurrentLevel()
          currentLevel property determinates which pages can be displayied to user.
 int getCurrentLevelAsInt()
          Numeric representation of currentLevel property
 void setCheckoutProgressLevels(java.util.Map pCheckoutProgressLevels)
           
 void setCurrentLevel(java.lang.String pCurrentLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version

Constructor Detail

CheckoutProgressStates

public CheckoutProgressStates()
Method Detail

getCurrentLevel

public java.lang.String getCurrentLevel()
currentLevel property determinates which pages can be displayied to user. I.e. BILLING level means that user can see all pages but confrimation, SHIPPING level means that user can see his cart contents ant shipping page.


setCurrentLevel

public void setCurrentLevel(java.lang.String pCurrentLevel)

getCurrentLevelAsInt

public int getCurrentLevelAsInt()
Numeric representation of currentLevel property


getCheckoutProgressLevels

public java.util.Map<java.lang.String,java.lang.Integer> getCheckoutProgressLevels()
checoutProgressLevels property contains checkout milestones available for user. These milestones are stored in form of map, linking milestone name with it's level int value. Milestones with lower level are available for displaying to user.


setCheckoutProgressLevels

public void setCheckoutProgressLevels(java.util.Map pCheckoutProgressLevels)