atg.commerce.csr.order
Class ViewOrderHolder

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.logging.ApplicationLoggingImpl
          extended by atg.commerce.order.OrderHolder
              extended by atg.commerce.csr.order.ViewOrderHolder
All Implemented Interfaces:
atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.servlet.sessionsaver.Restoreable
Direct Known Subclasses:
CSROrderHolder

public class ViewOrderHolder
extends atg.commerce.order.OrderHolder

Extends the base behavior to avoid loading orders in the getCurrent() method.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Constructor Summary
ViewOrderHolder()
           
 
Method Summary
 atg.commerce.order.Order getCurrent()
          Overrides base behavior to bypass auto-loading of orders when the current order hasn't been set yet.
 java.lang.String getOrderId()
          Returns the unique order id
 
Methods inherited from class atg.commerce.order.OrderHolder
createInitialOrder, deleteOrder, getCurrent, getFailoverRecoveryPricingOperation, getHandlerOrderId, getLast, getLoggingIdentifier, getMessageSender, getOrderManager, getOrderType, getProfile, getProfileTools, getRestorableOrders, getSaved, getTransactionManager, handleCreate, handleDelete, handleDeleteAll, handleSwitch, isCurrentEmpty, isCurrentExists, isCurrentTransient, isEmpty, isPersistOrders, isPersistOrdersForAnonymousUsers, isRepriceAfterFailoverRecovery, isSavedEmpty, isSaveEmptyOrders, removeSavedOrder, repriceRestoredShoppingCart, repriceRestoredShoppingCarts, resetOrderProfileId, sendScenarioEvent, sendSwitchOrderMessage, sessionRestored, setCurrent, setFailoverRecoveryPricingOperation, setHandlerOrderId, setLast, setLoggingIdentifier, setMessageSender, setOrderManager, setOrderType, setPersistOrders, setPersistOrdersForAnonymousUsers, setProfile, setProfileTools, setRepriceAfterFailoverRecovery, setRestorableOrders, setSaved, setSaveEmptyOrders, setTransactionManager, shouldSaveOnSwitch, switchCurrentOrder, validActiveShoppingCart, validRestoredShoppingCart
 
Methods inherited from class atg.nucleus.logging.ApplicationLoggingImpl
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
 
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 string

Constructor Detail

ViewOrderHolder

public ViewOrderHolder()
Method Detail

getCurrent

public atg.commerce.order.Order getCurrent()
Overrides base behavior to bypass auto-loading of orders when the current order hasn't been set yet.

Overrides:
getCurrent in class atg.commerce.order.OrderHolder

getOrderId

public java.lang.String getOrderId()
Returns the unique order id