public class ProcPrepareForQuoteRequest extends ApplicationLoggingImpl implements PipelineProcessor
OrderStates| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACKDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
ProcPrepareForQuoteRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Order | 
cloneOrder(java.lang.String pOrderId,
          OrderManager pOrderManager,
          PipelineResult pResult)
This method clones an order based on the id of the order passed as a parameter to the method. 
 | 
java.util.Properties | 
getExcludedOrderProperties()
returns the property ExcludedOrderProperties 
 | 
java.util.Map | 
getExcludedOrderPropertiesMap()
returns the property ExcludedOrderPropertiesMap 
 | 
java.lang.String | 
getQuoteInfoItemType()
The type of the repository item to create, which
 must either a quote info type/subtype or support the same properties
 as a quote info item. 
 | 
int[] | 
getRetCodes()
Returns the valid return codes 1 - The processor completed 
 | 
java.util.Collection | 
parseString(java.lang.String pString)
Parse a String which is delimited by "|" into a collection of strings. 
 | 
int | 
runProcess(java.lang.Object pParam,
          PipelineResult pResult)
This method will create the quote info objects and if successful will set
 the status of the order to PENDING_QUOTE (See OrderStates). 
 | 
void | 
setExcludedOrderProperties(java.util.Properties pExcludedOrderProperties)
set the property ExcludedOrderProperties 
 | 
void | 
setQuoteInfoItemType(java.lang.String pQuoteInfoItemType)
Sets property QuoteInfoItemType 
 | 
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, setLoggingWarningvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic int[] getRetCodes()
getRetCodes in interface PipelineProcessorpublic java.lang.String getQuoteInfoItemType()
public void setQuoteInfoItemType(java.lang.String pQuoteInfoItemType)
pQuoteInfoItemType - The type of the repository item to createpublic void setExcludedOrderProperties(java.util.Properties pExcludedOrderProperties)
pExcludedOrderProperties - the value to set for property ExcludedOrderPropertiespublic java.util.Properties getExcludedOrderProperties()
public java.util.Map getExcludedOrderPropertiesMap()
public int runProcess(java.lang.Object pParam,
                      PipelineResult pResult)
               throws java.lang.Exception
runProcess in interface PipelineProcessorpParam - a HashMap which must contain an Order and optionally a Locale
          objectpResult - a PipelineResult object which stores any information which must be
          returned from this method invocationjava.lang.Exception - throws any exception back to the callerPipelineProcessor.runProcess(Object,
      PipelineResult), 
OrderStatesprotected Order cloneOrder(java.lang.String pOrderId, OrderManager pOrderManager, PipelineResult pResult) throws RepositoryException, CommerceException
pOrderId - the id of the order that is to be clonedpOrderManager - order managerpResult - a PipelineResult object which stores any information which must be
                returned from this method invocationRepositoryException - if something went wrong during the repository cloning processCommerceException - if the clone couldn't be retrieved or updated from the repositorypublic java.util.Collection parseString(java.lang.String pString)