atg.projects.store.order
Class OrderRepositoryHelper

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.logging.ApplicationLoggingImpl
          extended by atg.projects.store.order.OrderRepositoryHelper
All Implemented Interfaces:
atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging

public class OrderRepositoryHelper
extends atg.nucleus.logging.ApplicationLoggingImpl

This class is only used during development. It contains no-arg void methods to clear orders from the order repository. These methods can be called from the component browser of the component. Unless you want to wipe all the orders from the database, do not use this in any environment other than development.


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
OrderRepositoryHelper()
           
 
Method Summary
 void deleteAllOrders()
          Delete all orders.
 void deleteOrders(java.lang.String pOrderType)
          Method to remove orders from the repository.
 atg.commerce.order.OrderManager getOrderManager()
           
 void setOrderManager(atg.commerce.order.OrderManager pManager)
           
 
Methods inherited from class atg.nucleus.logging.ApplicationLoggingImpl
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLoggingIdentifier, 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, setLoggingIdentifier, 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 final java.lang.String CLASS_VERSION
Class version string.

See Also:
Constant Field Values
Constructor Detail

OrderRepositoryHelper

public OrderRepositoryHelper()
Method Detail

deleteOrders

public void deleteOrders(java.lang.String pOrderType)
Method to remove orders from the repository.

Parameters:
pOrderType - - order type

deleteAllOrders

public void deleteAllOrders()
Delete all orders.


getOrderManager

public atg.commerce.order.OrderManager getOrderManager()
Returns:
order manager.

setOrderManager

public void setOrderManager(atg.commerce.order.OrderManager pManager)
Parameters:
pManager - - order manager.