© 2001 BEA Systems, Inc.

com.beasys.commerce.ebusiness.tax.webflow
Class DecideShippingAddressPageIP

java.lang.Object
  |
  +--com.beasys.commerce.webflow.CommerceInputProcessor
        |
        +--com.beasys.commerce.ebusiness.tax.webflow.TaxIP
              |
              +--com.beasys.commerce.ebusiness.tax.webflow.DecideShippingAddressPageIP
All Implemented Interfaces:
InputProcessor, SchemaManagerConstants, UserManagementConstants

public class DecideShippingAddressPageIP
extends TaxIP

The DecideShippingAddressPageIP Input Processor checks the number of addresses present in the Pipleline Session for tax calculation purposes and throws a MultipleAddressesFoundException if multiple addresses were found. If a single address was found then the shipping address is written into the Pipeline Session.


Fields inherited from class com.beasys.commerce.webflow.CommerceInputProcessor
debug
 
Fields inherited from interface com.beasys.commerce.axiom.contact.UserManagementConstants
ANONYMOUS_PROFILE, CACHED_PROFILE, DEFAULT_SCOPE, DEFAULT_SUCCESSOR, DEFAULT_SUCCESSOR_HOME, DEFAULT_SUCCESSOR_JNDI, DEFAULT_SUCCESSOR_PK, DEFAULT_USER, DEFAULT_USER_HOME, DEFAULT_USER_JNDI, DEFAULT_USER_PK, GROUP, GROUP_ENTITY_HOME, PROFILE_MGR, PROFILE_SUCCESSOR, PROFILE_USER, REALM_CONFIG, RESERVED_SCOPE, USER, USER_ENTITY_HOME, USER_MGR
 
Fields inherited from interface com.beasys.commerce.foundation.property.SchemaManagerConstants
APPLICATION_INIT_TYPE, CATALOG_TYPE, CONTENT_TYPE, EVENT_TYPE, REQUEST_TYPE, SCHEMA, SCHEMA_GROUPS, SCHEMA_MANAGER, SESSION_TYPE, USER_TYPE
 
Constructor Summary
DecideShippingAddressPageIP()
           
 
Method Summary
 java.lang.String process(javax.servlet.http.HttpServletRequest request)
          Checks the number of addresses present in the Pipleline Session for tax calculation purposes and throws a MultipleAddressesFoundException if multiple addresses were found.
 
Methods inherited from class com.beasys.commerce.ebusiness.tax.webflow.TaxIP
getMessageBundleName, getTaxCalculator, getTaxCalculatorJndiName, throwGeneral
 
Methods inherited from class com.beasys.commerce.webflow.CommerceInputProcessor
getCachedProfileBean, getCustomerProperty, getCustomerPropertyAsString, getPipelineSession, getPipelineSession, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecideShippingAddressPageIP

public DecideShippingAddressPageIP()
Method Detail

process

public java.lang.String process(javax.servlet.http.HttpServletRequest request)
                         throws ProcessingException
Checks the number of addresses present in the Pipleline Session for tax calculation purposes and throws a MultipleAddressesFoundException if multiple addresses were found. If a single address was found then the shipping address is written into the Pipeline Session.
Overrides:
process in class TaxIP
Parameters:
request - the HttpServletRequest that is currently in scope
Returns:
a Input Processor return code.

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved